The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hide widgets for particular articles
How do I show a widget on the home page only?
e.g.
I want to hide it when from users viewing other articles. Is there a setting? If not can you point me to the hook/place where I can put in my code. Is it the nodeid you would use as the conditional? |
#2
|
||||
|
||||
No setting. I'd make custom templates, insert the template name into the Configure area of the widget, and put a condition around the template code. That condition has been posted around here somewhere because this issue has been brought up a couple of times.
|
#3
|
|||
|
|||
Thanks Lynne I found it.
For anyone else viewing this thread, here is the conditional. HTML Code:
<vb:if condition="$_GET[r] == x">stuff</vb:if> use empty quotes for home page. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|