Page 1 of 1

Trying to insert tag inside a UDT?!?!?

Posted: Fri Sep 14, 2007 10:30 am
by jmansa
I'm trying call the banner module within a UDT... Is that possible, and if yes... How?

Here is what I'm trying...

Code: Select all

?>
<? echo '{cms_module module="Banners" category="testklub_A" mode="sequential"}'; ?>
<div id=holder>Loading...</div>
<__script__ type="text/javascript">
  var holder = new SWFObject("holder.swf", "holder", "550", "400", "8", "#FFFFFF");
  holder.addVariable("imageholder", "<? echo '{cms_module module="Banners" category="testklub_A" mode="sequential"}'; ?>");
  holder.write("holder");
</__script>
<?
Hope somebody can help!

Re: Trying to insert tag inside a UDT?!?!?

Posted: Fri Sep 14, 2007 1:07 pm
by calguy1000
In your example, use a gcb instead.
smarty parses GCB's it doesn't parse UDT's.