[TYPO3-english] Use field from extension in TypoScript

Jeppe Donslund jd at masters.dk
Mon Oct 25 22:47:32 CEST 2010


With an extension I have extended the pages table with an extra field.
A link field that I now have under Extended in Page properties.

How can I wrap til link around the image selected in Ressource?

I have an idea, but it is absolutely not right.

lib.gfxelement = COA
lib.gfxelement {
   5 = TEXT
   5.field = plugin.tx_mintensiongfxlink_link
   5.wrap <a href="|"><img src="
   10 = IMG_RESOURCE
   10.file.import {
     cObject = TEXT
     cObject.value = dummy.gif
     cObject.override {
       required = 1
       data = levelmedia: -1, slide
       wrap = uploads/media/|
       listNum = 0
     }
   }
   15 = TEXT
   15.value = ">
}
Kind regards
Jeppe Donslund


More information about the TYPO3-english mailing list