Recently Visited Pages on Dashboard

Permalink 2 users found helpful
Hi Guys,

Anybody know of a way to disable the recent pages that are visible when you hover over the dashboard button? The reason being is that we've added some single pages to the dashboard (which work fine) however, since the dashboard is available from either /dashboard and /index.php/dashboard, when our scripts are run, I can't force them to return to a specific URL. This means that after running the script and going to the 'home' page of the custom section, you could be at either /index.php/home or simply /home depending on what URL the script was run from. Either way the script will return to the 'home' page of the section after $insertGoTo = "home/";

If I can get rid of the 'breadcrumbs' and force the client to pick the script from the dasboard menu proper, this wouldn't be an issue as it will always run the script from the correct URL.

*Edit - forgot to mention that pretty URLs are turned on!

I hope that makes sense!!

Thanks in advance.

Cheers,

Duncan

ppisoban
 
Mainio replied on at Permalink Reply
Mainio
Try adding this to your /config/site.php:

define('URL_REWRITING_ALL', true);


I did not completely understand your problem but it might help.
ppisoban replied on at Permalink Reply
ppisoban
Nainio, Thanks for the tip. Unfortunately it didn't do the trick and I'm sorry, it's a difficult problem to explain in the forum though!! We did find a solution in the end.
hutman replied on at Permalink Reply
hutman
If you copy /concrete/css/ccm.app.css into /css/ccm.app.css and edit the style for .ccm-ui .breadcrumb to display: none; that should take care of it. In 5.6.1.2 this is on line 528
ppisoban replied on at Permalink Reply
ppisoban
Hutman, Thanks for that but sadly it didn't work. It ended up destroying the styles for the whole dashboard. I was probably editing the wrong style sheet as we have gone through a couple of upgrades on this site and are now running 5.6.3.1. We found a solution in the end though. Thanks.
ppisoban replied on at Permalink Reply
ppisoban
The solution was actually stupidly simple! We simply hard coded the entire URL as the target URL after form submission and that works perfectly and solved the problem. Thanks for any head scratching that was done though :)

Cheers,

Duncan