The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
CMS Widget: Any way to make it only show up on main page? [Solved!]
I have a widget I only want to appear on the main page. Is there a way I can get my CMS widget to only show up on the main page?
Thanks. |
#2
|
||||
|
||||
What do you mean, just Main Page? Only use that particular Layout that has that widget on that Section and don't put any articles in that Section. Then, it will only be on that page. Alternately, assign a custom template to the widget and put a condition around it to only show on that page.
|
#3
|
|||
|
|||
Do you by chance know the
Code:
<vb:if statement=""> I am just trying to get an iframe to show up on the main news page and not in any of the articles. This doesn't really have to deal with widgets anymore. Just a template question I guess. |
#4
|
||||
|
||||
I think it's something like:
HTML Code:
<vb:if condition="$_GET['r'] == '1-your-page-name' OR !$_GET['r']">code</vb:if> |
#5
|
|||
|
|||
Thank you! Lynne, you've always taken care of me. You are a gentlewoman and a scholar! Go into my stable and take my finest stallion. He's yours. His name is Windjammer.
In all seriousness. I really appreciate it. That did the trick. I have been racking my brain and googling the crap out of every variation of the question I was asking. |
#6
|
||||
|
||||
Glad you got it working how you want it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|