[TYPO3] Putting newloginbox login form in every page disables FE caching?

Stefan Galinski stefan.galinski at frm2.tum.de
Thu Aug 17 21:34:04 CEST 2006


Ricardo Pereira wrote:

>   Hi again, Stefan,
> 
> I may have to take back what I just said. I've just found this:
> 
>
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/8/24/
> 
> "...This is the compromise option of all three PHP_SCRIPT-cObjects,
> because the page-data is all cached, but still the pagegen.php script is
> included, which initializes all the classes, objects and so. What you
> gain here is an environment for your script almost exactly the same as
> PHP_SCRIPT because your script is called from inside a class tslib_cObj
> object. You can work with all functions of the tslib_cObj-class. But
> still all the “static” pagecontent is only generated once, cached and
> only your script is dynamically rendered..."
> 
> It looks like caching still works with *_INT objects but only the login
> piece is dynamically rendered for every page hit, which is EXACTLY what
> I want.
> 
> I'll give it a try and will let you know.
> 
> Many thanks!!!
> 
> Cheers,
> 
> Ricardo
> 
> 

Ok now you can forget my last message. A response would be great... :-)

--
Stefan Galinski

> 
> Ricardo Pereira wrote:
>>     Stefan,
>>
>>     Thanks a lot for the hint!!
>>
>>     But I think that caching is disabled when there is a COA_INT object
>> in the page. Here's where I found this info:
>>
>>
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/8/4/
>>
>>     Unfortunately the scripts you mention use COA_INT objects:
>>
>> lib.login = COA_INT
>>
>>     Thanks a bunch for your help anyway!
>>
>>     Regards,
>>
>> Ricardo
>>
>>
>> Stefan Galinski wrote:
>>   
>>>>> If so, is there any way to get a
>>>>> login form on every page AND have FE cache work at the same time?
>>>>>       
>>>>>         
>>>> Write the form yourself and put it in your template. Logging in works
>>>> on every typo3 page, but you might want to redirect users or show them
>>>> a profile page. You can do that by putting the plugin on a page and
>>>> changing the login action to point to the pid.
>>>>       
>>> Maybe you can need this typoscript for your problem...
>>>
>>>
http://www.typo3wizard.com/en/snippets/cool-stuff-typoscript/typoscript-loginbox-using-kb-md5feuser-and-newloginbox.html
>>>   
>>>     
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>




More information about the TYPO3-english mailing list