Joykiller
Member
Now I was wondering Media button that does [youtube]link[/youtube] as it embeds the youtube clip on the forum post. Is there a way to disable it from showing up on another template..
Example: Youtube Embed html
Basically that would check to see if its being parsed on Portal template if so then not display it and if anywhere else it would.
Doesn't though.. any one got any ideas?
Example: Youtube Embed html
Code:
<xen:if is="!{$contentTemplate} == 'EWRporta_Portal'">
<xen:else />
<iframe width="500" height="300" src="http://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0" allowfullscreen></iframe>
</xen:if>
Basically that would check to see if its being parsed on Portal template if so then not display it and if anywhere else it would.
Doesn't though.. any one got any ideas?