[TYPO3-dev] Flexform and input field
Daniel Pötzinger
operation-lan at gmx.de
Tue Apr 18 12:15:21 CEST 2006
Pierre Rouwens wrote:
> Hi there,
>
> Please i just wanna know if it's possible to make an input field not
> modifiable in a flexform, and how to achieve this ?
> I need this cause i need the user to read this information but not
> modify it.
>
> Thanks a lot in advance
>
> Pierre
I needed something similar:
Here is my solution:
1.) download danp_libs
2.) modify your ext_tables.php
include_once(t3lib_extMgm::extPath('danp_libs').'class.tx_danplibs_flexform.php');
3.) use this in xml:
<headline_fromField>
<TCEforms>
<label></label>
<config>
<type>select</type>
<form_type>user</form_type>
<userFunc>tx_danplibs_flexform->flexFormHeadline</userFunc>
<value>LLL:EXT:danp_tagcloud/locallang_db.php:flexform.headline_fromField</value>
<newTableRow>1</newTableRow>
<strong>1</strong>
</config>
</TCEforms>
</headline_fromField>
More information about the TYPO3-dev
mailing list