I create some custom blocks, and I want to support the {{url = "..."}} functions of the Magento dynamic linker inside the XML update layout.
Example:
<action method="setImageSrc"> <name><![CDATA[{{skin url=images/banners/MyBanner.jpg}}]]></name> </action>
Inside my block class, I grab variables (i.e. $this->getImageSrc() ), build the HTML, and output it. Unfortunately, this literally prints out {{skin url = "..."}}. Where is this translation done? Is this something that I can just pass to my HTML to clear it before output? If so, how?
NOTE. I tried to use without CDATA, as well as with quotes and without them. Nothing works ... some violate it worse than others
source share