Extending the Dashboard: How to add sub-pages and icons.

Permalink
I've followed the following guide (http://www.concrete5.org/documentation/introduction/dashboard) but I can't seem to get sub-pages to work.

I have created:

/controllers/dashboard/helloworld/controller.php
/single_pages/dashboard/helloworld/view.php

This gets me a new section on the Dashboard with the Hello World title, but the only entry in the section is "Home".

How can I add more pages to the Hello World section and change the names of the sub-pages? I would also like to know how to add icons next to the sub-pages as is done by the official Concrete5 dashboard pages.

Thanks in advance! :)

kvarley
 
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
Download some of my free dashboard addons - phpinfo, sqlinfo, constants info, config info. These all set up dashboard single pages from package installations and between them should give enough example on the pages, page names and menus.

http://www.concrete5.org/marketplace/addons/php-info/...
http://www.concrete5.org/marketplace/addons/sql-info/...
http://www.concrete5.org/marketplace/addons/constants-info/...
http://www.concrete5.org/marketplace/addons/config-info/...