The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Quote:
If i look in the VB options - content management - default page - which is 1-Index |
#12
|
||||
|
||||
That is not where it gets $_GET['r'] (see the url when you click to go to that section). It has to do with the section name. When you edit your section, it will say what the real value is.
|
#13
|
|||
|
|||
Yes , its the same , i put everything basic like that on the test board so that i could test it was right .
So the home page is for example : 1-home The default CMS name in the option is also 1-home The code im using is : Code:
<vb:if condition="$_GET['r'] == '1-home'">hello3</vb:if> So is that exact code working on your test board ? |
#14
|
||||
|
||||
How about a link to see this?
And no, that isn't the exact code I use. I have a different name for my home page. Try this instead: HTML Code:
<vb:if condition="THIS_SCRIPT == 'vbcms' AND ($_GET['r'] == '1-home' OR !$_GET['r'])">hello3</vb:if> |
#15
|
|||
|
|||
Quote:
Thanks alot that one worked perfectly . |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|