[TYPO3-ttnews] tx_news: Remove FlexForm-Items via TCEFORM

Thomas Skierlo pubtsk1 at pix-pro.eu
Thu Feb 21 10:03:54 CET 2013


Hi Arnd,

at least for Flexforms .dot notation translates to array notation. Might 
be same for TCEFORM

unset($dataStructure['sheets'][$sheetName]['ROOT']['el'][$field]);

Regards,

Thomas


Am 21.02.2013 09:50, schrieb Arnd Messer:
> Hi Folks,
>
> i'm stuck on removing flexFields via TCEFORM.
> It seems there is an issue with Fields which has definitions/names 
> separated by a dot, like <settings.orderBy>.
>
> Everything works fine with normal Fields like ...
>
> TCEFORM.tt_content.pi_flexform {
>   news_pi1.sDEF.switchableControllerActions.disabled = 1
> }
>
> ... but this one doesn't work:
>
> TCEFORM.tt_content.pi_flexform {
>   news_pi1.sDEF.settings.orderBy.disabled = 1
> }
>
>
> Any hints?
>
>
>
> Kind Regards,
> Arnd
> _______________________________________________
> TYPO3-project-tt-news mailing list
> TYPO3-project-tt-news at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-tt-news



More information about the TYPO3-project-tt-news mailing list