[TYPO3-dev] Resultlist & Details View USER_(INT)

JoH info at cybercraft.de
Wed Jan 18 12:02:55 CET 2006


>> What do you propose to be best practice?
>
> Change it in TS setup of the page (needs extension template).

Can be done with a condition too

> Declare as USER in extension's TS. Use this in extension template when
> you need non-cached version:
>
> plugin.tx_myplugin.pi1 = USER_INT
>
> This replaces only definition and leaves all options as is.

[globalVar = GP:whatever > 0]
plugin.tx_myplugin.pi1 = USER_INT
[else]

plugin.tx_myplugin.pi1 = USER
[global]

Will give you i.e. a cached list but a non cached single view.
I don't think it's a good idea to introduce a mixed object since this will
lead to a lot of confusion.

Just my 0.02?

Joey

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






More information about the TYPO3-dev mailing list