[Typo3] CASE does'nt work

JoH info at cybercraft.de
Sun Nov 13 22:00:29 CET 2005


> I'm building a typoscript object that i will use in templavoila. This
> object will create a special HMENU based on a keywords/smarttcode that
> it find in the keywords field of all page of the website ( example:
> #REVIEW#,#PREVIEW#,#GUIDES#,etc. )
>
> But depending on the doc listed the layout should be different. So i
> use the CASE OBJECT. The case field is a value i insert in the
> SUBTITLE
> field od the page where i insert this typoscript object ( by
> templavoila ). But the case seems not working.
> Here's the code:
>
> ########## START DOCLIST ###########
>
> lib.reviewlist = CASE
> lib.reviewlist.key.data = subtitle

Try

lib.reviewlist.key.field = subtitle
or
lib.reviewlist.key.data = field:subtitle

instead. Should be working then.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list