Hi I need some help with working on My Ultmate Cool Theme what I need to do is removed the "Add Widget" Button from the dashboard but leave it on the user profiles and groups.
I have done some hunting and found a way to turn them off compleatly but I want the users to be able to use widgets on there profile pages and with in groups.
If you know of a way to do this please let me know.
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.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- FusionOz@Ratime1
FusionOz - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- FusionOz@Ratime1
FusionOz - 0 likes
- brian56@brian56
brian56 - 0 likes
You must log in to post replies.What about elgg_in_context ?
@RVR Where would that pice of code go????? Would it replace the one which I commment out to remove it from the whole site?
There's 2 ways:
1 - Add 'show_add_widgets' => false, in array for widget parameters on your 'dashboard' page
2 - Show your widget code with the existing arrays but set limit for showing add widgets button on dashboard like as:
Add it in start.php of your theme
This just does not seam to want to work for me grr.
Find this file:
Edit it to:
This is the way I have done. It works well, but I don't ensure that is the best way.