The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Creating different intro text in navbar depending upon page file name
Hi, I?ve been playing around with the layout of the navbar and have included some intro text to fill the white space. Our client has asked if it?s possible that this text could change depending upon the page you were on.
I?ve found some php script that should do the job but I am unsure how to implement it. Can someone advise me what steps I need to take to insert the following php script. PHP Code:
|
#2
|
||||
|
||||
In vB, you can use THIS_SCRIPT. At the top of every php page, this is defined:
PHP Code:
HTML Code:
<if condition="THIS_SCRIPT == 'xxxx'"> stuff </if> |
#3
|
|||
|
|||
Lynn, as ever you are a huge help. Thank you very much!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|