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

Shotster
View Replies:
Tony replied on at Permalink Reply
Tony
dashboard pages are basically just "single" pages, with the controller and view stored under the dashboard directory, like:

/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.
Shotster replied on at Permalink Reply
Shotster
> 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
Tony replied on at Permalink Reply
Tony
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.
serdarde replied on at Permalink Reply
This topic helped me after 6 years!

Thanks!