Results 1 to 3 of 3

Thread: THIS_SCRIPT & pages

  1. #1
    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'">

  2. #2
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,463

    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.

  3. #3
    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!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. This_script
    By neverstop in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 01-23-2008, 03:09 PM
  2. THIS_SCRIPT(or even forum)-specific modules on integrated pages?
    By jw0ollard in forum "How Do I..." Questions
    Replies: 3
    Last Post: 01-06-2008, 01:13 PM
  3. THIS_SCRIPT Integration Method
    By RaceJunkie in forum Troubleshooting & Problems
    Replies: 2
    Last Post: 01-05-2008, 10:54 AM
  4. THIS_SCRIPT modification?
    By JulianD in forum Troubleshooting & Problems
    Replies: 4
    Last Post: 12-13-2007, 02:11 PM
  5. THIS_SCRIPT must be defined to continue
    By Edward in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 09-02-2006, 09:37 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
  •