My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
DeveloperGuide  
Explains how to download and install the joomla prototype website.
Featured
Updated Apr 17, 2010 by nathanie...@gmail.com

Table of Content

1.0 Prerequisites

2.0 Installation

Server Installation

  • For Mac, install and configure MAMP by following this guide.
  • For Windows, install and configure WampServer by following this guide.
  • For Linux, install and configure LAMP by following this guide.
  • Another alternative is XAMPP which is available for multiple platforms.

Download

  • Download the current release package here.

Installing the Backup

  • Unpack the downloaded zip file.
  • There should be a folder named "uhdorm" after unzipping the file.
  • Copy the extracted directory to where your server stores the website files.
  • Open up a web browser and browse to http://localhost/uhdorm/kickstart.php. The localhost url might be different from others if they use specific ports (ie. http://localhost:8888/uhdorm).
  • Just follow the prompt till the end.
  • The following screen shots goes through the restoration of the mockup website:
  • Please note for the Database Restore part, enter your database's admin username and password.

3.0 Running Application

  • Access the website by going to http://localhost/uhdorm (again it might be different depending on your server setting).
  • Initially there is only one user in this prototype. If the user tries to login with the UH CAS, they would be greeted with an error message because they are not in the system.
  • Go to the admin backend by going to http://localhost/uhdorm/administrator. The username is "uhdormadmin" and the password is "uhdorm".
  • The user can now admin the prototype website.

4.0 Joomla Development

com_UseCaseActivity

This component is divided in two parts, the back-end and the front-end. The back-end part is for the administrators while the front-end is for the regular users of the website. The files for the back-end part of the component is inside the components directory within the administrator folder. The front-end resides in the components folder in the root of the website.

Back-end

admin.UseCaseActivity.html.php

Currently contains editActivity() and showActivities() function. This file's main purpose is to display the html part of the back-end component.

admin.UseCaseActivity.php

Contains the methods and functions used by the previous file. Also contains a switch statement for adding, editing, and deleting an event.

toolbar.UseCaseActivity.html.php

Contains the toolbar class used by the component. Very easy to add more buttons.

toolbar.UseCaseActivity.php

Contains a switch statement that controls the function of the component page buttons.

tables/UseCaseActivity.php

Contains a class that extends JTable. Contains variables that's tied to the MySQL database table.

Front-end

components.com_UseCaseActivity.php

Contains viewReview() and showPublishedActivities() functions. This file is the main to grab the information from the database.

components.com_UseCaseActivity.html.php

Contains functions on how the information is posted on the web.


Sign in to add a comment
Powered by Google Project Hosting