Tapio:

After I got your message, I went looking in to TCAdefaults, and I found that
TCAdefaults.tt_content.doktype is where this value is set. Works like a
charm. Thanks for pointing me in the right direction. So:

# Set default page type to "Advanced"
TCAdefaults.tt_content.doktype = 2

in User TS Config

-------------------------
James Corell
EPCS, 111 W. Mitchell St. Suite E, Gaylord, MI 49735
DSL for Businesses - Websites That Work!
[EMAIL PROTECTED] www.e-p-c-s.com
989-732-1366 (fax 989-732-0893)



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tapio
Markula
Sent: Tuesday, June 05, 2007 7:18 AM
To: [email protected]
Subject: Re: [TYPO3] Default content types


James Corell kirjoitti:
> I'd like to change the default content type for pagecontent items using
TS.
>
> I've tried:
> TCEFORM.tt_content.columns.CType.config.default = 'textpic';
try in TS config for pages

TCAdefaults.tt_content.CType = 'textpic'
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to