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

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Wed Jan 18 12:02:30 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Change it in TS setup of the page (needs extension template).
> 
> 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.
> 
> Works well with a couple of my own private plugins.
> 
> Dmitry.

OK. That is a good idea. You include the same class in one case as USER in the
other case as USER_INT.

Works as long as list and details are on different pages, which is the usual case.

Let's go one step forward and do it by a condition that evaluates the id
parameter of the detail dataset. Place the condition into the extension TS.

Then we don't need to wait for USER_CINT and don't need additional settings in
the page template. Right? Would you recommend that solution as best practice?


Regards

Elmar



- --
Climate change 2006 is killing people: floods in California, drought and fires
in Australia, Texas, Sahel, Oklahoma, South Africa. The Bush administration is
responsible for corruption of the Kyoto Protocol. The US majority is responsible
to the world for reelection of a convictable [...censored by Echelon...].
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDziBGO976RNoy/18RAlcPAKCHHZph6UzPAJsxtaukbfzt7qpmTgCgi2Wi
vxO3qi459rykirrZFJ2T7N4=
=Pu2Z
-----END PGP SIGNATURE-----




More information about the TYPO3-dev mailing list