The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Quote:
I found this thread where Lynne menstion using nodeid: www.vbulletin.org/forum/showthread.php?t=240063 but if it's a static html widget then I think the only way to do it would be to provide you're own "wrapper" template (which is in the text box at the bottom if you press "Configure" for your widget). You could copy the existing vbcms_widget_static_page template to a new one such as vbcms_widget_static_page_home_only or whatever, then put a conditional around it. I'll try it out and if I can figure out the exact condition I'll post it here. ETA: oh, I see you beat me to it. In the condition you posted, is that 3 double quote characters? It should be double quote at the beginning and end, and 2 single quotes right after the ==, like: Code:
<vb:if condition="$_GET[r] == ''"> |
#12
|
|||
|
|||
Quote:
--------------- Added [DATE]1334685953[/DATE] at [TIME]1334685953[/TIME] --------------- Ok I figured out the error, it was here: Code:
<vb:if condition="$_GET[r] == ""> Code:
<vb:if condition=$_GET[r] == ""> In the top left it also says "Home > Home". So do I need to specify some sort of nodeid? --------------- Added [DATE]1334686481[/DATE] at [TIME]1334686481[/TIME] --------------- Quote:
Quote:
And it still does nothing. I'm thoroughly confused on how to make this work. I never thought it would be this complicated to add a piece of content only to the home page... --------------- Added [DATE]1334688258[/DATE] at [TIME]1334688258[/TIME] --------------- FINALLY got this... Need to use this statement instead: Code:
<vb:if condition="$vbulletin->nodeid == 1">........</vb:if> |
#13
|
|||
|
|||
I use this script:
PHP Code:
you can see it on my forum. ico |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|