[TYPO3] Default content types
James Corell
jcorell at e-p-c-s.com
Wed Jun 6 23:49:28 CEST 2007
Yah, I've looked over TCAdefaults again, and in User TS Config I'm using:
TCAdefaults.pages.doktype = 2
TCAdefaults.tt_content.CType = textpic
The first line defaults my page type to "Advanced", and the second line sets
my default content type to "Text w/ Image". This combined with restrictions
on page types and content types allows me to force users to create certain
page types and content types ONLY. And they won't get annoying errors,
either.
James
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Georg
Rehfeld
Sent: Wednesday, June 06, 2007 5:35 PM
To: TYPO3 English
Subject: Re: [TYPO3] Default content types
Hi James, all,
James Corell wrote:
> # Set default page type to "Advanced"
> TCAdefaults.tt_content.doktype = 2
should actually be:
# Set default page type to "Advanced"
TCAdefaults.pages.doctype = 2
regards, Georg
--
___ ___
| + | |__ Georg Rehfeld Woltmanstr. 12 20097 Hamburg
|_|_\ |___ georg.rehfeld.nospam at gmx.de +49 (40) 23 53 27 10
(Delete .nospam from mail address)
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list