[TYPO3-english] question about lib and temp

Daniel Rutzen ardan at gmx.net
Sat Sep 5 13:23:03 CEST 2009


So, can anyone tell me:

If I wanted to split my code for menu generation from my main template 
and put it inot a seperate template, shall I use temp.menu  or lib.menu?

Please advise :)



Philipp Gampe schrieb:
> Am 05.09.2009, 00:11 Uhr, schrieb Daniel Rutzen <ardan at gmx.net>:
>>
>> So, did I use  "temp" correct, or should I use lib ?
>> I cant seem to find any reference to that...
> 
> AFAIK, it is somewhere in the docs or tutorial, but nevertheless you 
> already got the point...
> 
> there is a slight difference between temp and lib:
> temp is not available after page generation and thus does not show up in 
> object browser easer
> lib is available later on
> 
> I am not deep enough into it to tell you whether it does make a 
> difference when you try to modify a template on a subpage (using an ext 
> template)
> 
> Cheers
> Phil
> 


More information about the TYPO3-english mailing list