![]() |
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? |
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.
|
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. |
All times are GMT. The time now is 08:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|