The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Show "only on index" code?
Hey guys, I need a code that goes into my header that will only show a certain line of code when it is on index.php (the homepage). I tried using a simple php code:
<?php if (stristri($_SERVER['REQUEST_URI'], 'index.php') !== FALSE) { CODE HERE } ?> but it returns a syntax error. Does anyone know how I can go about accomplishing what I need? Thanks! |
#2
|
||||
|
||||
THIS_SCRIPT == 'index'
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|