Welcome, Guest (id=)!
This is the homepage of My Web Application. You may modify the following files to customize the content of this page:
- /home/www/pugpug.agilityhoster.com/demos/simpleLogin/protected/controllers/SiteController.php
- This file contains the SiteController class which is the default application controller. Its default index action renders the content of the following two files.
- /home/www/pugpug.agilityhoster.com/demos/simpleLogin/protected/views/site/index.php
- This is the view file that contains the body content of this page.
- /home/www/pugpug.agilityhoster.com/demos/simpleLogin/protected/views/layouts/main.php
- This is the layout file that contains common presentation (such as header, footer) shared by all view files.
What's Next
- Implement new actions in SiteController, and create corresponding views under /home/www/pugpug.agilityhoster.com/demos/simpleLogin/protected/views/site
- Create new controllers and actions manually or using the yiic tool.
- If your Web application should be driven by database, do the following:
- Set up a database connection by configuring the
dbcomponent in the application configuration /home/www/pugpug.agilityhoster.com/demos/simpleLogin/protected/config/main.php - Create model classes under the directory /home/www/pugpug.agilityhoster.com/demos/simpleLogin/protected/models
- Implement CRUD operations for each model. For example, for the Post model class, you would create a PostController class together with create, read, update and delete actions.
- Set up a database connection by configuring the
If you have problems in accomplishing any of the above tasks, please read Yii documentation or visit Yii forum for help.