Announcement

Collapse
No announcement yet.

Second Row Navigation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BobbeeV
    replied
    Thanks Lynne!

    Leave a comment:


  • Lynne
    replied
    there is a mod over on vb.org that does what I think you are trying to do - just add a new row of links. Did you look over there? If you need help with this, vb.org is really the place to be posting since it is the modification site. Also, that code is going to screw things up since you never close the <table> tag.

    Leave a comment:


  • BobbeeV
    replied
    Ok, I spent several days looking at hooks and mods. Template code still seems the best option. Can anyone help?

    Leave a comment:


  • Lynne
    replied
    Originally posted by BobbeeV View Post
    I was adding it to navbar and it worked great...until 4.0. I have not used template_hook. Where can I learn about them?
    There are some articles over on vb.org about them. They are just like the php hooks only instead of being a place to add php, they are a place to add html into a template.

    I don't understand why you would be the only one to see those links though unless you put it inside some other condition that stops other from seeing it.

    Leave a comment:


  • BobbeeV
    replied
    I was adding it to navbar and it worked great...until 4.0. I have not used template_hook. Where can I learn about them?

    Leave a comment:


  • Lynne
    replied
    Where are you adding this code? navbar_link is a template to process a single link. If you want to add to the sub-menu, then there are several template_hooks there to use.

    Leave a comment:


  • BobbeeV
    started a topic [Forum] Second Row Navigation

    Second Row Navigation

    Ok, so before VB4 I used a second navigation row to direct users to files according to their usergroup.
    It used to be in Edit Templates>Navigation/Breadcrumb templates>Navbar

    Now, I think it is in Edit Templates>Navigation/Breadcrumb templates>Navbar_links

    BUT, while I can see it (as admin I am seeing all links no matter the user level), my users cannot.

    Here's the code that used to work but does not now:
    <!-- second nav button row -->
    <div align="center"><table class="tborder" cellpadding="2"cellspacing="3"border=0" width="90%" align="center" style="border-top-width:0px">
    <tr>
    <if condition="is_member_of($vbulletin->userinfo, 11)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/MP3/Audio2/Audio2Phunt.html">Audio Resources for Purpose Hunters</a></td></if>
    <if condition="is_member_of($vbulletin->userinfo, 11)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/PDF/User2PHunter.html">File Resources for Purpose Hunters </a></td></if>

    <if condition="is_member_of($vbulletin->userinfo, 13)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/MP3/Audio3/Audio3trainedc.html">Audio Resources for Trained Coaches</a></td></if>
    <if condition="is_member_of($vbulletin->userinfo, 13)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/PDF/User3Trained.html">File Resources for Trained Coaches </a></td></if>
    </tr>
    <tr>
    <if condition="is_member_of($vbulletin->userinfo, 12, 10, 9, 6)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/MP3/Audio4/Audio4Certs.html">Audio Resources for Certified Coaches</a></td></if>
    <if condition="is_member_of($vbulletin->userinfo, 12, 10, 9, 6)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/PDF/User4Certifying.html">File Resources for Certified Coaches </a></td></if>
    <if condition="is_member_of($vbulletin->userinfo, 1, 4, 2, 3, 5, 7)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/MP3/Audio1/Audio1.html">Audio Resources</a></td></if>
    <if condition="is_member_of($vbulletin->userinfo, 1, 2)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/PDF/User1.html">File Resources</a></td></if>
    <if condition="is_member_of($vbulletin->userinfo, 4, 3, 5, 7)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/PDF/User0Visitor.html">File Resources</a></td></if></tr>
    </div>
    <!-- / second nav button row -->
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X