[TYPO3] New doktype shortcut does not work
Lucas Birk
tlist at birkit.com
Mon Sep 3 15:38:35 CEST 2007
Hi all,
I have created a new doktype in my TCA so that I can have a page that
behaves like a shortcut but looks different in the page tree. I have
successfully added the page doktype and my new icon but the shortcut
does not work; the FE-page show normally without redirecting to the
selected shorcut page.
In my TCA I have:
$GLOBALS['TCA']['pages']['types'][127]['showitem']= 'hidden;;;;1-1-1,
doktype, title;;3;;2-2-2, subtitle, nav_hide, shortcut;;;;3-3-3,
shortcut_mode, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg';
$GLOBALS['PAGES_TYPES'][127]['icon'] = "/fileadmin/area.gif";
I am stumped as to why every other field in the page properties form
works except for the shortcut. I am missing something here but I do not
know what.
Any help would be great.
Thanks,
Lucas.
More information about the TYPO3-english
mailing list