The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How can I limit a cms widget to a particular style?
The problem is I have only one light style and I design any widgets for the dark styles as there are more of them. I know I should stick with one style but I just can't choose .... they are all my babies ![]() |
#2
|
||||
|
||||
![]()
Why not just fix the widget in the style?
|
#3
|
|||
|
|||
![]() Quote:
--------------- Added 23 Jul 2014 at 14:33 --------------- A simple method, if you just have a few widgets to modify, is to surround the widget with a style ID conditional. Code:
<!-- Do not display the current style if the current style is ID "6" --> <vb:if condition="STYLEID != 6"> <!-- Widget Template Internals --> </vb:if> |
#4
|
|||
|
|||
![]()
On my dark styles I have one widget that has light background. If I make it dark like the others then it will not look as I want it to on the light style. It's only one particular widget that can not have the background set as #transp so I want to exclude it from showing on the dark styles ..... make sense?
|
#5
|
||||
|
||||
![]()
What type of widget is it?
|
#6
|
|||
|
|||
![]()
It's a Teamspeak monitor from GameTracker.
|
#7
|
||||
|
||||
![]()
That's not quite what I ment, is it a PHP or a HTML type?
|
#8
|
|||
|
|||
![]() It's html. |
#9
|
||||
|
||||
![]() Quote:
Quote:
![]() Here's one I edited to make the background dark: Code:
<iframe src="http://cache.www.gametracker.com/components/html0/?host=12.34.567.891:1234&bgColor=000000&fontColor=F5F5F5&titleBgColor=000000&titleColor=FFFFFF&borderColor=000000&linkColor=00CCFF&borderLinkColor=00CCFF&showMap=0¤tPlayersHeight=160&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=240" frameborder="0" scrolling="no" width="240" height="348"></iframe> |
#10
|
|||
|
|||
![]() Quote:
Code:
<center><iframe src="http://cache.www.gametracker.com/components/html0/?host=216.52.148.11:24240&bgColor=CCCCCC&fontColor=000000&titleBgColor=CCCCCC&titleColor=FF2B00&borderColor=F5F4F4&linkColor=493C08&borderLinkColor=4D4B4B&showMap=0¤tPlayersHeight=200&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=270" frameborder="0" scrolling="no" width="270" height="388"></iframe></center> While I'm thinking about it, if I could just exclude the widget from the dark styles that would be good too. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|