Results 1 to 2 of 2

Thread: How to display navbar only if pageid equals certain value?

  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    3

    Default How to display navbar only if pageid equals certain value?

    Okay, I am having a horrible time trying to figure out the proper code. On my portal homepage I don't want the navbar, which I was successful in doing without turning it off in the options. However if a member selects the Tech Guide link, which is just index.php?pageid=techguide, I need the navbar to show up. I have everything else code but what is the proper way to write the if statement. No conventional coding seems to work. Help would be greatly appreciated.

  2. #2
    Junior Member
    Join Date
    Apr 2011
    Posts
    3

    Default

    Figured it out.

    For reference of anyone searching:

    Code:
    <if condition="$pages['name'] == 'techguide'">

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 10-20-2009, 11:16 AM
  2. pageid
    By mellors in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 06-28-2008, 12:48 PM
  3. Homepage Navbar to display $phpincluded variable
    By sergey22 in forum "How Do I..." Questions
    Replies: 4
    Last Post: 06-12-2008, 11:02 AM
  4. Using THIS_SCRIPT to determine navbar display?
    By Kevbentz in forum "How Do I..." Questions
    Replies: 2
    Last Post: 04-23-2008, 01:35 PM
  5. Wrong pageid generation on navbar
    By Black Tiger in forum Troubleshooting & Problems
    Replies: 8
    Last Post: 02-06-2008, 11:44 AM

Posting Permissions

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