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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jmansa
Forum Members
Forum Members
Posts: 126
Joined: Thu Oct 19, 2006 2:46 pm

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

Post 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!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

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

Post by calguy1000 »

In your example, use a gcb instead.
smarty parses GCB's it doesn't parse UDT's.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “CMSMS Core”