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 03-28-2012, 04:54 AM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default THIS_SCRIPT & pages

do pages have unique THIS_SCRIPT settings, or something similar? I ask because I have a custom NavBar with current highlighting (something along the lines of the VB4 tabs) and I would like to be able to highlight the current page on the navbar

I just need a way to determine what page I am on.
I might have found my answer..

<if condition="$pages['name'] == 'pagename'">
Reply With Quote
  #2  
Old 03-29-2012, 04:24 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

No, they do not have a unique THIS_SCRIPT value. $pages['name'] should allow you to identify the different pages though.
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #3  
Old 03-30-2012, 11:17 AM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

Quote:
Originally Posted by Brian View Post
No, they do not have a unique THIS_SCRIPT value. $pages['name'] should allow you to identify the different pages though.
Works perfectly!
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
This_script neverstop Troubleshooting & Problems 1 01-23-2008 03:09 PM
THIS_SCRIPT(or even forum)-specific modules on integrated pages? jw0ollard "How Do I..." Questions 3 01-06-2008 01:13 PM
THIS_SCRIPT Integration Method RaceJunkie Troubleshooting & Problems 2 01-05-2008 10:54 AM
THIS_SCRIPT modification? JulianD Troubleshooting & Problems 4 12-13-2007 02:11 PM
THIS_SCRIPT must be defined to continue Edward Troubleshooting & Problems 1 09-02-2006 09:37 AM


All times are GMT -4. The time now is 08:33 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.