vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-20-2011, 02:40 AM
SpawnedX SpawnedX is offline
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.
Reply With Quote
  #2  
Old 06-20-2011, 03:46 AM
SpawnedX SpawnedX is offline
Junior Member
 
Join Date: Apr 2011
Posts: 3
Default

Figured it out.

For reference of anyone searching:

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


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I only display the navbar in the adv_portal template for certain pages? Spinball "How Do I..." Questions 5 10-20-2009 11:16 AM
pageid mellors Troubleshooting & Problems 1 06-28-2008 12:48 PM
Homepage Navbar to display $phpincluded variable sergey22 "How Do I..." Questions 4 06-12-2008 11:02 AM
Using THIS_SCRIPT to determine navbar display? Kevbentz "How Do I..." Questions 2 04-23-2008 01:35 PM
Wrong pageid generation on navbar Black Tiger Troubleshooting & Problems 8 02-06-2008 11:44 AM


All times are GMT -4. The time now is 05:43 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.