inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on Apr 11, 2018 21:23:52 GMT -8
looking for a way to exclude the following and friends options from the ui-tabMenu on the user profile.
I still use the friends/follow feature, but I don't want the link there since I link it elsewhere. I don't want to remove the feature, only the button. Help?
<div class="ui-tabMenu" style="margin-left:-5px;"> <ul class="ui-helper-clearfix">
{foreach $[menu]}<li {if $[menu.active]} class="ui-active"{/if}><a href="$[menu.href]">$[menu.text]</a>
</li>{/foreach}
</ul>
</div>
^ this is the basic code I'm using. I don't think any of the CSS will help with this. do I have to use jquery? Ideas?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Apr 12, 2018 13:46:44 GMT -8
Hi, Tiffy-Bean. $[menu.text] outputs the tab's name so you can use that to compare against in an if statement if you only want to output tabs for all the other items.
|
|
inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on Apr 14, 2018 22:43:36 GMT -8
Hi, Tiffy-Bean . $[menu.text] outputs the tab's name so you can use that to compare against in an if statement if you only want to output tabs for all the other items. Exactly what I needed Brian. Thank you.
|
|