[TYPO3-dev] USER_INT not possible?

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Sat Jun 24 14:48:41 CEST 2006


Ries van Twisk wrote:
> Christoph Koehler wrote:
>> Hello all,
>>
>> My extension shows up as USER_INT in the TS object browser, but pages
>> are  still being cached, before and after login. So a page will show
>> the 'not  logged in' dialog, but the user is really logged in.
>> Now, I searched the list and found that changing 1 to 0 in this line
>> in my  ext_localconf.php, it would work:
>>
>> t3lib_extMgm::addPItoST43($_EXTKEY,"pi1/class.tx_cwtcommunity_pi1.php","_pi1","list_type",1);
>>
>>
>> But when I do that, my extension will be blank, even after clearing
>> both  FE and typo3conf cache.
>>

If it is included as USER_INT it should not be cached anyway.


* Maybe you are looking into the wrong part of TS-Tree and in the working
part it is still USER.

* Maybe it is not included with TS but with some
...include...after43...()-function in an ext_....php file of the plugin.

> Did you also set teh USER_INT flag in your extension?
>            $this->pi_USER_INT_obj=1;    // Configuring so caching is not
> expected. This value means that no cHash params are ever set. We do
> this, because it's a USER_INT object!
> 

If it is included as USER_INT it shouldn't be cached.
$this->pi_USER_INT_obj=1 is only a question of cosmetics in this case to
remove superflous cHash.


Rergards





More information about the TYPO3-dev mailing list