[TYPO3-english] Pagetypes / Doktypes and Dividers in Selectbox

Janosch Skrobek janosch at bworx.de
Fri Feb 24 22:41:02 CET 2012


Hi,

I have created some pagetypes via extTables.php, everything works fine but I
can’t seem to get a divider. The “TYPO3 Profihandbuch” suggests this:

$TCA['pages']['columns']['doktype']['config']['items'][]=array(
  '0' => 'DIVIDERNAME',
  '1' => '---div---',
);

But that doesn’t work for me, all I get is an empty page type. My googling
dind’t produce anything useful. Anyone with a hint?


Oh and while I’m asking, I’ve seen there is a new way to put conditions into
the PageTSConfig, I really like that feature! Does anyone know if it’s
compatible with 4.6 or will it just be in 4.5?

[page|doktype=1]
TCEFORM.pages {
myext_myfield.disabled =1
}
[global]
(http://wiki.typo3.org/TYPO3_4.5)

Thank you!

Janosch





More information about the TYPO3-english mailing list