[TYPO3-templavoila] FCE -> disable header how to

Andreas Kiessling kiessling at pluspol.info
Sat Mar 26 11:46:20 CET 2011


Hi,

> you can use the displayCond setting in the TCA. You'll find all
> information you need in the Core API documentation. The field you're
> checking in your condition is "CType" the value you match is against is
> "templavoila_pi1"
>

Problem with displayCond is, that you currently can't have more than one 
for a field. Though you will probably not need another one for header.


I'd just put this to the Page TSConfig:
TCEFORM.tt_content.header.types.templavoila_pi1.disabled = 1

see: 
http://typo3.org/documentation/document-library/references/doc_core_tsconfig/4.1.0/view/1/3/#id3983057
->TCEFORM_confObj
Properties for the TCEFORM configuration object

HTH,
Andreas


More information about the TYPO3-project-templavoila mailing list