[TYPO3] Set a default doktype in TSconfig

Tapio Markula tapio.markula at atwebteam.com
Tue Jan 23 14:10:18 CET 2007


Benjamin Mack kirjoitti:
> Hey everybody,
> 
> this seems like a simple every-day task but I couldn't find it in the 
> manuals.
> I want to either
> * show the "keywords" field in the "standard"-doktype page properties or
> * set the "extended"-doktype to default when creating a new page.
> 
> I know it is possible somehow but I don't know how. Thanks for any help!
> 

you must reset these values in a ext_tables.php file of some extension
please load orginal files first


t3lib_div::loadTCA("pages");
then make you changes
making an  array for each page type, for example

$TCA['pages']['types']['2']['showitem']='hidden;;;;1-1-1, 
doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, 
--div--, abstract;;5;;3-3-3, keywords, media;;;;4-4-4, --div--, 
TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, 
module, content_from_pid';


I recommend to crate personal plugin for this,
user_tcasettings


More information about the TYPO3-english mailing list