DaveL
Well-known member
Im looking to create a notice within a certain section of my site. Within the notice I wish to place a widget such as the one on this page - http://www.worldtimebuddy.com/clock-widget
Is it possible to get this to work within a notice? I have tried and it only displays the code, not the widget.
If its not possible, im presuming this conditional would do the trick?
Would that display where the notice would normally be placed? If so, Does anyone know what code I would use to get the content displayed in a notice like box?
Also, which template would I need to make that edit in?
Is it possible to get this to work within a notice? I have tried and it only displays the code, not the widget.
Code:
<span class="wtb-ew-v1" style="width: 204px; display:inline-block"><script src="http://www.worldtimebuddy.com/clock_widget.js?h=0&bc=00A2E8&cn=&wt=c1"></script><i><a href="http://www.worldtimebuddy.com/gmt-to-pst-converter">gmt time to pst</a></i><noscript><a href="http://www.worldtimebuddy.com/gmt-to-pst-converter">gmt time to pst</a></noscript><script>window[wtb_event_widgets.pop()].init()</script></span>
If its not possible, im presuming this conditional would do the trick?
26. How can I show content in a specific forum?
<xen:if is="{$forum.node_id} == x">
This content will show in forum x
</xen:if>
Would that display where the notice would normally be placed? If so, Does anyone know what code I would use to get the content displayed in a notice like box?
Also, which template would I need to make that edit in?