Results 1 to 3 of 3

Thread: Navbar Menu based on path?

  1. #1

    Default Navbar Menu based on path?

    I have no trouble editing my Navbar and making new menu's but I would like to have the menus change based on the path.

    Example - if the path is /forums/???.php display some menu
    and if it's
    /links/???.php display a different menu.

    I can use conditions for member # and member type etc, but what about path?

    I'm trying to create a Navbar menu that shows a link the forums when I am in links and links when I am on the forums.

    Is this even possible?

    Thanks,
    Last edited by PhilMcKrackon; 05-09-2008 at 07:02 PM.

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Navbar Menu based on path?

    I'm not sure if there's an easy/consistant way to determine the file path, but you can use this to determine if you're viewing a vBa Links page.

    Code:
    <if condition="VBA_SCRIPT == 'links_directory'">
    Forum Link
    <else />
    Directory Link
    </if>

  3. #3

    Default Re: Navbar Menu based on path?

    Thanks, working perfectly.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to Add a Link to Navbar or Site Menu
    By ceox in forum "How Do I..." Questions
    Replies: 1
    Last Post: 07-16-2007, 10:16 AM
  2. Path in navbar menu from links page
    By libertate in forum Troubleshooting & Problems
    Replies: 2
    Last Post: 12-01-2005, 04:39 PM
  3. navbar link has wrong url path
    By Kseki in forum Troubleshooting & Problems
    Replies: 17
    Last Post: 11-08-2005, 01:41 PM
  4. disable navbar, menu goes bye bye
    By CHIngs in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 02-28-2005, 08:09 AM
  5. Conditional navbar appearing based on StyleID
    By theMusicMan in forum Troubleshooting / "How do I..." Questions
    Replies: 6
    Last Post: 12-12-2004, 12:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •