Helping my members see their 'pending' Followers
Using Jamroom
To understand where to edit you need to put a bit of 'tracking code' in there first.
The structure you have is:
{foreach from=$_items name="loop" item="entry"}
{if SOMETHING}
{if SOMETHING}
SHOW THIS THING
{ OTHERWISE}
SHOW THIS THING
{/if}
{ OTHERWISE}
SHOW THIS THING
{/if}
{/foreach}
So you have one outer if/else, then inside the first condition you have another if/else.
What you need to know is
* Where do I want the menu item to eventually output at.
* Where is that location currently
So to be able to understand that I would put some numbers in
{foreach from=$_items name="loop" item="entry"}
{if SOMETHING}
{if SOMETHING}
SHOW THIS THING ( position 1 )
{ OTHERWISE}
SHOW THIS THING ( position 2 )
{/if}
{ OTHERWISE}
SHOW THIS THING ( position 3 )
{/if}
{/foreach}
Once you understand which position its in you can take the other markers away.
In that location where you know the "Private Messages" comes out you can add pauls code
{if $entry.menu_label == "Private Messages"}
THE CUSTOM CODE HERE
{/if}
Need to know where to put it first though.