[TYPO3-english] Render website languages into form select option
Christian Futterlieb
christian at futterlieb.ch
Tue Feb 24 11:38:40 CET 2015
Hi Man
> Yes, it works properly. However, I have to set language uid in
> special.value = 0,1,2, ...
>
> Can we have the solution that more dynamic if we add new website
> language then its automatic appear in the select option without specific
> the id?
You can make use of the stdWrap on special.value, for example like this
(not tested):
special.value.cObject = CONTENT
special.value.cObject {
table = sys_language
select {
pidInList = root
}
renderObj = TEXT
renderObj {
field = uid
wrap = |,
}
}
Notice: the snippet above will only work on TYPO3 6.2 LTS or greater!
Hope that helps.
Regards, Christian
More information about the TYPO3-english
mailing list