[TYPO3-dev] Hide flexform field with typoscript in TSconfig

speedprogs kai.vogel at speedprogs.de
Fri Sep 4 11:13:19 CEST 2009


Hi,

why don't you try the new extension "
http://typo3.org/extensions/repository/view/sp_betterflex/current/
sp_betterflex "? It provides a way to exclude single flexform fields like
table fields in your group "access" configuration or in page TSConfig. The
syntax to exclude a field is:

TCEFORM.tt_content.<extension name>_<fieldname from flexform>.disabled = 1

E.g.: TCEFORM.tt_content.tt_news_categoryMode.disabled = 1

With extension's name in front of the field name it's improbable that two
fields have the same name. And with the special logic inside it's not
necessary to specify any XPATH...

Best regards...

 

Martin Kutschker-7 wrote:
> 
>>> This means if extension A has a field "email" in its FF, and extension B
>>> has it too then I need a way as an admin to distinguish them.
>>>
>>> For types this not a problem as we have already a configuration for
>>> this:
>>>
>>> [tablename].[field]
>>> [tablename].[field].types.[type]
>>>
>>> Maybe we can get something like this:
>>>
>>> [tablename].[field].types.[type].subtypes.[subtype]
>>>
> 

-- 
View this message in context: http://www.nabble.com/Hide-flexform-field-with-typoscript-in-TSconfig-tp22656660p25283788.html
Sent from the TYPO3 Dev mailing list archive at Nabble.com.





More information about the TYPO3-dev mailing list