[TYPO3-english] Clickable div button and mapping

"HocomAdvies [  Wiechert Hooghwinkel "HocomAdvies [  Wiechert Hooghwinkel
Tue Feb 11 16:02:36 CET 2014


Hi you might try to use something like this in the xml file:

10.stdWrap.typolink.parameter.field = field_link_on_button

And than when mapping TV have just an EL with an Linkfield (with the name) field_link_on_button in TV. Do not Map this one and save the DS/TO. I have done this for an image upload in an FCE. Did also more or less the same for alt tekst and title tekst field:


<TypoScript>
10 = IMAGE
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 310
10.stdWrap.typolink.parameter.field = field_link_op_foto
10.altText.field = field_alt_tekst
10.titleText.field = field_title_tekst
</TypoScript>
Best regards,
HocomAdvies

Wiechert Hooghwinkel
www.hocom-advies.nl




Op 11 feb. 2014, om 14:30 heeft Brian Jensen <b.jensen at arp-hansen.dk> het volgende geschreven:

> I'm trying to create the button as a flexible content element with templa voila.
> So I use my code in partials for each flexible content element.
> 
> <a href="#">
> <div class="button_green">
>  <div class="button_tekst">Wakeup Heaven</div>
>  <div class="button_green_tekst2">Øverste etage</div>   <div id="clear"></div>
> </div>
> </a>
> 
> However the link does not get applied when I enter the URL in the back-end.
> So let's say I try and link to page ID 34  then the link is still #
> 
> What should I do when I want to add a URL input area?
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list