21496 Posts in 5784 Topics by 2622 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 631 Views |
-
Troble with new page type...

12 January 2009 at 9:32am
Hello,
I've built a site and feel comfortable and wanted to do some customization. Been running with the pixelgreen theme. I simply wanted to add a new page type (my default Page has a sidebar) that excludes the sidebar. I've created a PageLite.php in /mysite/code and a PageLite.ss file in /themes/pixelgreen/templates - I can not get the /db/build to catch this new page - I have relocated the PageLite.php file to /tutorial/code as well and run the db/build with no luck. The PageLite.php file seems correct (see below) and I've tried to follow tutorial #1 - Any ideas?
Thanks,
Bob
<?php
class PageLite extends Page {
static $db = array(
);
static $has_one = array(
);
}class PageLite_Controller extends Page_Controller {
}?>
-
Re: Troble with new page type...

12 January 2009 at 10:59am
OK,
So sometimes I'm not too bright... Needed to refresh the CMS admin page - Everything works...
Bob
| 631 Views | ||
|
Page:
1
|
Go to Top |

