[Typo3] Get Flexform data with TypoScript
Lars Houmark
lars at houmark.com
Wed Jun 22 13:51:45 CEST 2005
Hello list,
Scenario:
TV is in use. On page level there is some FCE's, i.e. field_status.
A menu of pages is needed. That's easy enough. In this menu, an icon with
the use of the field_status is needed.
field_status has 3 different values (depending on the dropdown selected
editing the page header):
new, standard, old
How would i prepend the menu with an icon called: icon_new / icon_standard /
icon_old depending the status in the flexform? And only through typoscript?
My alternative nasty version is to make a userfunc with a PHP function,
which retrieves the "pages" db table, parsing the field
"tx_templavoila_flex" finding the value for the field_status.
This way is pretty nasty and there must be some way of retrieving flexform
data through typoscript, just like doing:
1.field = title
Could someone point me in the right direction?
Regards,
Lars Houmark
More information about the TYPO3-english
mailing list