1.3.3? This is the pattern for a page:
PHP Code:
<?php
//substitute (PageName) with your page, for example if it's yoursite.com/quests you will name it QuestsController
class (PageName)Controller extends AppController{
public function __construct(){//check other files to check their constructor function, for permissions if you need
parent::__construct("member");
}
//this will be your /quests page's content
public function index(){
$mysidia = Registry::get("mysidia");
$document = $mysidia->frame->getDocument();
$document->setTitle("title");//gotta have a title!
}
/*any other public function you add that has a title like in index(), will work as a page.
If you add a public function like:
public function reward(){
$mysidia = Registry::get("mysidia");
$document = $mysidia->frame->getDocument();
$document->setTitle("title");//gotta have a title!
}
the page will be yoursite.com/quests/reward
*/
}
?>
This stays in the public_html folder pretty much. Create a file in class folder when you want to create a new object or something