Removing or editing in dashboard view.php

Permalink
I have a client that doesn't want the news overlay, so I defined newflow overlay to off. I was than told that he wants the news link removed from the dashboard, but there is nothing for this is in the white label how to, as I am certain I have added everything news as false. I than edited the dashboard view.php at

/public_html/concrete/single_pages/dashboard

Removing the div does not remove it from dash, and editing to say something else like "admins only" doesnt take either.

Does anyone know a way to remove this ? I tried editing, and removing the dashboard files in helpers but as soon as thats touched it throws errors on login. Any help would be appreciated.

Ekko
 
tallacman replied on at Permalink Reply
tallacman
Try concrete > controllers > dashboard > news.php

I deleted the code and then the dash doesn’t render.
Ekko replied on at Permalink Reply
Ekko
I got rid of the code, but still have the link in dashboard, I then deleted news.php all together but the link remains. I am using 5.5.2.1, and it still has a dashboard link, it just links to a background, and no content.

I went through the php in /concrete/helpers/concrete/dashboard.php and was able to remove it by commenting out the news divs, yet when I do that I am getting "cannot modify headers already sent" errors on logins so I must be doing it wrong. Whats odder is just altering the text content of the news div produces the same errors.

Sorry to ask tallacman, but which version did you use to do the above?
atlantisdigital replied on at Permalink Reply
atlantisdigital
There are two links to the 'News'. One in the dashboard overlay, and one on the dashboard single page.

concrete/helpers/concrete/dashboard.php - Overlay
concrete/single_pages/dashboard/view.php - Single Page

Once you have removed or commented out the part which relates to the 'News' link, you need to log out and then log back in again. The dashboard gets stored in a session variable hence the reason for needing to logout and back in.
Ekko replied on at Permalink Reply
Ekko
I will get on this asap. Thanks Pixel Fish, I will let you know if I have any issues with it.
Ekko replied on at Permalink Reply
Ekko
Strange but this time after just commenting out the div in view.php under single pages worked this time, same version, different install. I will have to wait until this evening to do it on the original that its meant for, and try commenting it out in both. I am sure it should work if there isn't something else causing an issue there.