Just add it to the html file.. and then you can use the link to that file.. easy peasy...
Tested and works..
ow_system_plugins/base/views/components/content_menu.html
<div class="ow_content_menu_wrap">
<ul class="ow_content_menu clearfix">
{foreach from=$data item='item' name='contentMenu'}
<li class="{$item.class} {if $item.active} active{/if}"><a href="{$item.url}"><span{if $item.iconClass} class="{$item.iconClass}"{/if}>{$item.label}</span></a></li>
{/foreach}
<!-- now that all the normal tab items is loaded on the menu add my special tab -->
<li class="_search"><a href="http://www.mysite.com"><span class="ow_ic_push_pin">newbutton</span></a></li>
<!-- end of my secial mod -->
</ul>
</div>
just add the mod, the rest of the code is there already.
hope that helps the only thing is it will show up on every menu, so just know that..
Thanks for the code though dave!
ok so lets work on that...
so we know that item class _online is only on the members page
so we can set a switch using that..
<div class="ow_content_menu_wrap">
< ul class="ow_content_menu clearfix">
{foreach from=$data item='item' name='contentMenu'}
<!-- add switch -->
{if $bflag != 1} <!-- check the switch only if unset -->
{if $item.class == "_online"}
<!-- we know now that we are on the members page so set the switch on -->
{$bflag = 1}
{/if}
{/if}
<!-- end of switch -->
<li class="{$item.class} {if $item.active} active{/if}"><a href="{$item.url}"><span{if $item.iconClass} class="{$item.iconClass}"{/if}>{$item.label}</span></a></li>
{/foreach}
<!-- begin mod -->
<!-- now the foreach is done and that all the normal tab items are loaded we can load the new tab -->
{if $bflag} <!-- if switch is set then show the button -->
<li class="_search"><a href="http://www.mysite.com"><span class="ow_ic_push_pin">newbutton</span></a></li>
{/if}
<!-- end mod -->
< /ul>
< /div>
try this...
can u tell how I can insert the content in the new tab member?
I want to create my own table sorter member list on the new tab member.
Best regrads,
Hung