Announcement

Collapse
No announcement yet.

add nav bar link ( mine is an include / ssi file )

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

  • add nav bar link ( mine is an include / ssi file )

    Outside of my message boards section, in the entire rest of my website i have a main TOP menu which is actually an INCLUDE file fo obvious reasions.
    So its easier to manage.

    I wanted to add the same TOP menu to the message boards so its not as hard to navage the rest of the site when a user is on the boards.

    i came across the thread http://www.vbulletin.com/forum/showthread.php?t=108961 but imconcerned.
    Will this work if isimply add the INCLUDE code to the same section as describe for "ADDING A SECOND ROW" for navagation?

  • #2
    Yes it will, I believe there is a template modification over at vbulletintemplates.com or a hack at vbulletin.org that gives you the coding to make a second menu with whatever links you'd like. But the way you're suggesting should work

    MGM out

    Comment


    • #3
      well that really didnt work to welll for me - dont worry - theres no scriting problems happening but no extra nav is showing either. In the thread Jake talks of above i changed this:

      <!-- second nav button row -->
      <div align="center">
      <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
      <tr align="center">
      <td class="vbmenu_control"><a href="URL">LINKED TEXT</a></td>
      </tr>
      </table>
      </div>
      <!-- / second nav button row -->


      ---------------------------------------------------------------
      into this: notice the BOLD (all i chaged was in the BLUE colored code
      ---------------------------------------------------------------
      <td class="vbmenu_control"><?php require_once('http://clubexl.com/headU.ssi'); ?></td>


      because my include file for that specific menu is located on ther server at 'http://clubexl.com/headU.ssi


      i know i did something wrong here - im just not seeing it (DAM I LOVE NEW YEARS

      by the way "happy 2005 to ya"

      Comment


      • #4
        You can use php in the templates.

        Comment


        • #5
          Originally posted by Zachery
          You can use php in the templates.
          hello again Zach - thanks for the reply............so..............your saying i can simply save that include file as a simple php and place that into my template code?

          Comment


          • #6
            thanks everyone

            i got it to work - i didnt need to use the include code - just php / html works

            Comment

            Loading...
            Working...
            X