[TYPO3-english] Typoscript: How to get the plugin fields from within an extension

Stig Nørgaard Færch snf at dkm.dk
Fri Jun 14 16:07:36 CEST 2013


Hi

In a generic marker of tt_news I needed to get the header and 
header_link fields of the plugin.

My solution was to save the fields in a register
tt_content.list.2 = LOAD_REGISTER
tt_content.list.2.content_header.field = header
tt_content.list.2.content_headerlink.field = header_link
tt_content.list.200 = RESTORE_REGISTER

Can this be done in an easier way? Did I overlook something?

Best regards,
Stig


More information about the TYPO3-english mailing list