D Dad. Well-known member Nov 22, 2013 #1 Hey guys, Was wondering if there was a way to, in my CSS templates, have a condition to check if a certain plugin is installed. And if so, how would I find out what this unique plugin identifier is. Thanks, Mike
Hey guys, Was wondering if there was a way to, in my CSS templates, have a condition to check if a certain plugin is installed. And if so, how would I find out what this unique plugin identifier is. Thanks, Mike
Steve F Well-known member Nov 22, 2013 #2 There is <xen:if is="{$xenOptions.PLUGINOPTION}"> CSS HERE </xen:if> Upvote 0 Downvote
D Dad. Well-known member Nov 22, 2013 #3 Steve F said: There is <xen:if is="{$xenOptions.PLUGINOPTION}"> CSS HERE </xen:if> Click to expand... Thanks Steve. So say for the resource manager, which option should I choose? There isn't an on/off option. Upvote 0 Downvote
Steve F said: There is <xen:if is="{$xenOptions.PLUGINOPTION}"> CSS HERE </xen:if> Click to expand... Thanks Steve. So say for the resource manager, which option should I choose? There isn't an on/off option.
xf_phantom Well-known member Nov 22, 2013 #4 Code: <xen:if is="{$xenAddOns.XenResource}"> .. </xen:if> Upvote 0 Downvote
D Dad. Well-known member Nov 22, 2013 #5 Thanks xf_phantom. And how would I determine what this unique identifier is on other plugins? ETA: NVM found it. Thanks all! Upvote 0 Downvote
Thanks xf_phantom. And how would I determine what this unique identifier is on other plugins? ETA: NVM found it. Thanks all!
Steve F Well-known member Nov 22, 2013 #6 xf_phantom said: Code: <xen:if is="{$xenAddOns.XenResource}"> .. </xen:if> Click to expand... I'm not able to get this to work using this in EXTRA.css Code: <xen:if is="{$xenAddOns.XenResource}"> .titleBar h1 { color: red !important; } </xen:if> Upvote 0 Downvote
xf_phantom said: Code: <xen:if is="{$xenAddOns.XenResource}"> .. </xen:if> Click to expand... I'm not able to get this to work using this in EXTRA.css Code: <xen:if is="{$xenAddOns.XenResource}"> .titleBar h1 { color: red !important; } </xen:if>