Hey,
On many pages of elgg, the user gets the 'Edit page' box on the side of the screen which allows the user to add and remove widgets.
I'd like to remove that option, do you know a way to do it with out editing multiple pages of the theme ?
Thanks dudes.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Stoney@jamesgang

Stoney - 0 likes
- aviran@aviran

aviran - 0 likes
- earthling@earthling

earthling - 0 likes
You must log in to post replies.@aviran - look in www\views\default\canvas\layouts\widgets.php
The function you're looking for is "toggle_customize_edit_panel" - it's included in three places in that file. If you comment these out, it should remove the "Edit page" link from your users profiles.
Keep in mind that although it looks like you're rediredcted to a new page, the Edit page link simply triggers a bunch of JS to expand an edit widgets function that is preloaded with the profile page.
thanks
thanks :D