[TYPO3-core] RFC #16334: Make FlexForms editable via TSConfig and group access lists

Kai Vogel kai.vogel at speedprogs.de
Tue Nov 16 22:23:25 CET 2010


 Hi Jeff, hi Ernesto,

 now I've implemented your suggestions. You can find a new patch 
 attached.


 What is new:
 ------------------------
 1. Allowed Exclude Fields are now reversed and work correctly

 2. Only fields with an enabled exclude-tag are listed in Allowed 
 Exclude Fields

 3. The fields are now prefixed with the title of the FlexForm field
    (e.g.: Plugin Options: News: What to display)

 4. The patch is now able to handle multiple FlexForms for one extension

 5. Now all fields from type "flex" will be parsed, not only pi_flexform

 6. All determination and remapping of the extension key is gone


 New syntax:
 ------------------------
 TCEFORM.[table].[flex-field].[DS-key].[sheet-name].[field-name]

 [table]      : The content table 
 ($TYPO3_CONF_VARS['SYS']['contentTable'])

 [flex-field] : Name of the field which contains the FlexForms 
 (pi_flexform)

 [DS-key]     : FlexForm-DS-Key ("pt_list_pi1,list" => "pt_list_pi1" and 
 ",media" => "media")

 [sheet-name] : Name of the desired FlexForm sheet

 [field-name] : Name of the desired FlexForm field


 New example TSConfig:
 ------------------------
 TCEFORM.tt_content.pi_flexform {

   ## Plugin: tt_news (DS-key: 9,list)
   9 {

     ## Remove some view types
     sDEF.what_to_display {
       removeItems = LIST2,LIST3,HEADER_LIST,SINGLE2,VERSION_PREVIEW
     }

     ## Remove complete template-tab
     s_template {
       disabled = 1
     }

   }

 }


 Best regards
-- 
 Kai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: editable_flexforms-core-9411.diff
Type: text/x-patch
Size: 20467 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101116/3c90795c/attachment-0001.bin>


More information about the TYPO3-team-core mailing list