[TYPO3-core] RFC #6877: TCEFORM TSconfig disabled fields still available in List View

Benjamin Mack mack at xnos.org
Fri Feb 15 21:06:41 CET 2008


Hey guys,

this is a SVN patch request.

Type: Bugfix

Branches: 4.2, (maybe 4.1 as well?)

BT: http://bugs.typo3.org/view.php?id=6877

Problem:
Disabling fields via TCEFORM.tablename.fieldname.disabled = 1 will 
disable the field showing up in the editing form, but the field will 
still be available in the List module.

This enables the users to still view the values of those fields and even 
export them to CSV.

Solution:
The problem lies within the "getFieldlist" in the db_list.inc class. I 
added the functionality to load the TCEFORM pagesTSconfig and made a 
check if TCEFORM.table.field.disabled is set.

--
greetings,
benni.
-SDG-

www.xnos.de // www.xnos.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20080215_listmodule_fieldlist.patch
Type: text/x-diff
Size: 2304 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080215/a4d84ea5/attachment.patch 


More information about the TYPO3-team-core mailing list