[Typo3] different "list-CType" wraps?
Peter Klein
peter at umloud.dk
Sat Sep 17 11:41:29 CEST 2005
Hi Reinhard. You can do something like this:
-- cut --
tt_content.list.stdWrap.outerWrap.cObject = CASE
tt_content.list.stdWrap.outerWrap.cObject {
key.field = list_type
default = TEXT
default.value = [ | ]
indexed_search = TEXT
indexed_search = [[ | ]]
}
-- cut --
The normal "wrap" can't be used, as it has no stdWrap properties, but
"outerWrap" does..
In the above code all "list" items will be wrapped in [ ], except
"indexed_search" which gets wrapped in [[ ]].
You can easily change the wraps, and add more list types. (Use the object
browser to find the key values)
Peter Klein/Umloud Untd
----- Original Message -----
From: "Mag. Reinhard Müller" <office at mrc.co.at>
Newsgroups: typo3.english
To: <typo3-english at lists.netfielders.de>
Sent: Thursday, September 15, 2005 4:59 PM
Subject: [Typo3] different "list-CType" wraps?
I have got different list-CTypes content objects, like "newloginbox_pi1",
"th_mailformplus_pi1" or ""sr_feuser_register_pi1".
How can I wrap the "list-CType content" depending on the "list_type"?
Reinhard
More information about the TYPO3-english
mailing list