Creating Dashboard Page - Tutorial?
Permalink
I'd like to get up to speed on creating a dashboard page, but I'm coming up empty handed with my searches on this site. I've successfully created a simple package, but I need a good overview and tutorial for creating dashboard functionality. Can anyone point me to any resources?
Thanks,
-Steve
Thanks,
-Steve
> After creating the page, you have to register it, so
> that the system knows that it exists.
Thanks, Tony. So if I create a package with a dashboard page, does it require user intervention to "register" it, or does that automatically happen when the package is installed?
I guess I'll just have to tinker.
-Steve
> that the system knows that it exists.
Thanks, Tony. So if I create a package with a dashboard page, does it require user intervention to "register" it, or does that automatically happen when the package is installed?
I guess I'll just have to tinker.
-Steve
no, you can register a single page programatically too. have a look within the /concrete/controllers/install.php controller to see some examples of that. You should see how it installs all the other dashboard pages there too.
This topic helped me after 6 years!
Thanks!
Thanks!
/controllers/dashboard/my_dashboard_page.php
/singles_pages/dashboard/my_dashboard_page.php
The controller above is optional. After creating the page, you have to register it, so that the system knows that it exists. Do this by going to your dashboard->page & themes->single pages, then scroll to the very bottom, and enter the pages path. In this example the path would be /dashboard/my_dashboard_page/
More information on single pages should be available in the help section of this site.