[TYPO3-project-formidable] Image inside a button
Loredana ZECA
l.zeca at ameos.com
Mon Jul 21 09:53:46 CEST 2008
Hy,
Instead, you can try something like this:
<renderlet:LINK name="myName" class="myClass">
<label><![CDATA[
<img src="myImage.png"/>New
]]></label>
<onclick runat="server">
....
</onclick>
</renderlet:LINK>
Hope this helps you.
Regards,
Loredana Zeca
Mack Sol a écrit :
> Hello,
>
> I'm using formidable and I need your help. That's why I really hope you can help me.
>
> I want to do this HTML code:
> <div class="buttons">
> <button type="submit" name="myName" class="myClass">
> <img src="myImage.png"/>New
> </button>
> </div>
>
> Initially my code was:
> <renderlet:SUBMIT name="myName" label="New" mode="clear">
>
> So I try this code in my XML file but that's not working:
> <renderlet:BUTTON name="myName" label="New" mode="clear">
> <custom>class="positive"</custom>
> <childs>
> <child>
> <renderlet:IMAGE name="submit">
> <path>EXT:myImage.png</path>
> <onclick>
> <submit />
> </onclick>
> </renderlet:IMAGE>
> </child>
> </childs>
> <wrap><![CDATA[
> <div class="buttons">|</div>
> ]]>
> </wrap>
> </renderlet:BUTTON>
>
> I obtain this HTML code:
> <div class="buttons">
> <input type="button" name="userform[myName]" id="userform_myName" value="New" class="positive" />
> </div>
>
> It's not what I want and I don't know how to solve the problem. Any help would be much appreciated.
> By the way, thanks for the great work on Formidable. It's quite difficult for beginner like me but very powerful!
>
> Best regards.
>
>
> _________________________________________________________________
> Contrôlez les personnes autorisées à parler à vos enfants sur MSN / Windows Live Messenger !
> http://www.windowslive.fr/controleparental/default.asp
More information about the TYPO3-project-formidable
mailing list