How do I hide the dashboard button when I am in the dashboard?

Permalink
How do I hide the dashboard button when I am in the dashboard?

I know that I can edit page_controls_menu to get rid of the dashboard button in the edit screen, but when I go to the dashboard page (I am actually in composer using a dialog box) the dashboard button reappears, even though It is not to appearring in the edit page???

Anyone know how to get this button to go away?

sambrody24
 
Blenderite replied on at Permalink Reply
Blenderite
That is a very unusual question. Why exactly do you want it gone?

From what I can tell, I think you are saying that you go rid of it for when the page is in edit mode. But when you go to the composer, it comes back? Sounds to me like you need to find the file for the composer view and chuck the dashboard link from there.

-Blenderite
sambrody24 replied on at Permalink Reply
sambrody24
We are using C5 as the core of a very very very simple (to our user) site builder. We are trying to create a complete 1 click experience that leaves them very little to do so they can focus on their business (it is geared towards one man insurance shops)

Dashboard is not in keeping with one click so we are getting rid of access to it

What if I just used jquery to something like

$('#ccm-nav-dashboard').hide();


I tried putting it below <?php Loader::element('footer_required'); ?> but nothing, it just hid the dashboard in edit
Blenderite replied on at Permalink Reply
Blenderite
Hmm, I have to say I am not quite sure about this. There must be a file that tells the composer to add the dashboard link. I just don't know where that would be.

-Blenderite
sambrody24 replied on at Permalink Reply
sambrody24
Yea, I was thinking it was either a helper or element, but I have searched
through most of them and still cant find it..
Blenderite replied on at Permalink Reply
Blenderite
Have you looked in the concrete > single pages > dashboard > composer?
WhiteHawk replied on at Permalink Reply
Did you make any progress with this?

I too am interested in how you would achieve this.