[TYPO3-mvc] Blank Flexform fields overwrite TypoScript values???

Martin Kutschker masi-no at spam-typo3.org
Wed Feb 24 08:57:34 CET 2010


roberto blanko schrieb:
> 
> 
> So far, so good. Again I can overwrite the TS settings with my definition in
> the plugin's flexform. BUT: There's one big downside: Once I've saved the
> flexform, the TypoScript value is overwritten - no matter if the flexform
> field is empty or not. Of course, if the according flexform field is empty,
> the TS setup should NOT be overwritten. But it IS. And therefore no template
> is found.

Many extension suffers from the problem that flex for fields need a "net set" (ie use default or TS
value) setting (think NULL), but this isn't possible except for drop downs.

For fields like the template path it's easy to have an empty string take the meaning of "not set",
but what about numbers? 0 (zero) could be a legal value.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list