Hi
I'd like to add my own page that handles some bit and bobs that aren't relevant to the website management (analytics API stuff)
I want to give my user some control over this on a page in the admin. I've run into the following problems
When I extend CMSMain,
class Analytics extends CMSMain {
private static $menu_title = "Analytics";
private static $url_segment = 'analytics';
private static $menu_priority = 8;
private static $menu_icon = 'site/icons/analytics.png';
}
And have an "Analytics.ss" page in the templates directory. The analytics page in the CMS is the "Pages" page (The one that lets you manage the pages)
When I extend LeftAndMain
class Analytics extends LeftAndMain {
private static $menu_title = "Analytics";
private static $url_segment = 'analytics';
private static $menu_priority = 8;
private static $menu_icon = 'site/icons/analytics.png';
}
And have an "Analytics_left.ss", "Analytics_right.ss", "Analytics.ss" (to be thorough) in templates. I just get a blank page that looks malformed with "Analytics" at the top where the title goes.
It's also showing the icon I use, next to the title, so I'm guessing this might be the right way to go.
My question is. What do I need to do to get my own .SS file in there.
Thanks