Can someone give a quick fix to remove the all tab from the activity page.I am using version 1.8.0.1
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.
PlugIn ? Not Yet ;-(
Wait for some kind Developer to code this feature ;-)
i'll see what it will take Private_River working for 1.8
@Steve The views has changed a little bit in elgg 1.8, for instance, part of the code of the nav.php is in root/pages/river
The part of the code that's there is the one that let you choose which tab is going to be the default one.
If I were to find the correct view where the tabs are being generated I could extend the view. Probably, I don't know lol
@steve :Thnanks Steve your help would be really appriciated
yeah I too browsed through several files of river but was not able to figure out where the view is being generated. :P
I figured out how to do it but it seems the file I need to edit to get it done is engine/lib/river.php and I can seem to override that file.
Haven't really studied the code, but my first guess would be to try and unregister the menu item.
I conclude this based on the html code:
ul.elgg-menu-filter
li.elgg-menu-item-all
@Ismayil Khayredinov Great piece of code! I have that same from html code, I will study the code next week I think, I am tied up with a lot of stuffs I need to do hehe
Change root/pages/river.php to this:
@ib Right, like I said, I can do that, it is overriding the core instead of editing the core I am trying to do.
@Ismayil Thanks I will work on that
Ibrahim Hasan Actually that is not going to accomplish our goal here. Overriding core files is not recommended. That is a bad trick, 'cause actually what I want to code is only to show two tabs, not three.
@Steve Keep us updated! Let's do this! haha
- Previous
- 1
- 2
- 3
- Next
You must log in to post replies.