Default landing page for dashboard categories

Permalink 1 user found helpful
Hello

I am currently moving a clients site to c5 for whom I have previously given limited editing access through a very basic custom CMS I made.

I have removed access rights to most of the pages in the dashboard for the admin user group to allow the client to only access limited features, the problem I am having is that the system tab loads the jobs page by default, if I remove access to the jobs page but still allow access to the backup page he is still redirected to the blocked jobs page and prompted to login by default.

I have found that this can be fixed by editing
concrete/controllers/dashboard/system/controller.php
but ideally I do not want to edit the core files as I should imagine these will replaced during future backups.

I have tried re-orderring the pages under system through sitemap and also adding the 'replace_link_with_first_in_nav' to the system top level page through sitemap but neither option seems to work.

after unsuccessfully searching for a solution I thought I'd see if anyone had come accross this before, any help would be appreciated.

Thanks.

digirunt
 
Brainakazariua replied on at Permalink Best Answer Reply
Brainakazariua
You can try solving it by putting the backup page as a new tab on the dashboard, just drag it out of the subfolder onto the main dashboard and move it there.
it'll show up in the dashboard menu then.

Not sure if it'll work but I think it should

another option is to move the concrete/controllers/dashboard/system/controller.php to /controllers/dashboard/system/controller.php so it you can use if from that location and don't need to edit it all the time
Steevb replied on at Permalink Reply
Steevb
Hi,
All mods should be directed to folders above the concrete folder. so if things are in concrete/controllers/dashboard....

Put them in the controllers folder at top level.

hope this helps

Cheers
digirunt replied on at Permalink Reply
digirunt
Thanks for the prompt help, both solutions work great.

Not sure why the root controllers folder wasn't an obvious solution, just testimony to how flexible and well designed c5 is.

In the end I dragged backup onto dashboard in the sitemap which then gave me a choice to either 'copy' the page to the top level, 'move' the page to the top level or just 'alias' it there.
Simply creating an alias worked fine allowing me to hide all other pages through permissions and leave a link to backups on the users dashboard.

Thanks - problem solved.