How was this done?

Permalink
Hey guys,

This might be a slightly obscure question, but a project was recently passed on to me after a previous developer had been working on the website for some time. It's a concrete5 website.

I've personally been working with concrete5 for some time now and feel that I have a decent understanding of it, however I cannot seem to work out how he managed to add a custom menu to the admin control panel. I've looked through just about everything I can think of and I've yet to work out how it was done.

Unfortunately the previous developer isn't contactable.

I've attached an image to help visualise the question.


Many thanks in advance for any help.

1 Attachment

 
cherrycake replied on at Permalink Reply
cherrycake
been so long since i did this but it used to be as simple as adding "Single Pages" to the dashboard and they "automatically" showed up on the menu. as in:
$page = SinglePage::add('/dashboard/oh_my_god', $pkg);
$page->update(array('cName'=>t('Oh my GOD'), 'cDescription'=>t('This is an oh my god page.'));
donnysobonny replied on at Permalink Reply
Thanks very much for the response.

By the look of the source and the file structure, this doesn't look like it's how he did it, however I have been able to make the required changes with your help.

Thanks again.
formigo replied on at Permalink Reply
formigo
Cherrycake provided the programatic approach which I also use. Your previous developer could also have added these pages/files to the site's root /single_pages and /controller folders and then install them manually from within concrete5.

Or something like that ;-)
JohntheFish replied on at Permalink Reply
JohntheFish
I suspect as @formigo has suggested. The areas of your site to look at are your environment info (for root level overrides), the Dashboard > Single Pages page, and also at your site root folders via FTP or your host control panel explorer.