Add a Link to Groups Directory Page Menu?
-
I’ve searched and searched (here and the net as a whole) and haven’t found any comprehensive tutorial or advice that I understand on adding a top level item to the Groups menu. For example, here’s what the menu bar on the groups directory page looks like by default (for a logged in user):
All Groups (n) My Groups (n)
What I need is to add an item to that list that links directly to a hardcoded URL that links to a group tag URL (I’m using the group tags plugin), so the menu would then look like this:
All Groups (n) My Groups (n) Official Groups
I really don’t care if it includes the “(n)” part for the official groups link. I’ve tried adding the following code into my bp-default/groups/index.php at the beginning of, at the end of, and in between the current links to “All Groups” and “My groups”, but clicking on my added menu item results in being shown All Groups (and I know that not all of my groups are tagged with the tag called in the URL I’m using). Tried it with and without the “selected” class, and with and without the id, but nothing changed:
{li class="selected" id="groups-all"}{a href="http://www.clothunderground.com/groups/tag/cuofficial"}Official Groups{/a}{/li}
html brackets replaced with curly brackets b/c I have no idea how to make code show up here!
Can anyone help me out with this? PLEASE? It just seems like it should be a simple thing!
- The topic ‘Add a Link to Groups Directory Page Menu?’ is closed to new replies.