[Typo3] insert page content in templates?

Anders Carlén anders at carlens.se
Mon Jun 27 17:11:52 CEST 2005


Hi Peter,
Thank you for your tip!

Peter Russ wrote:
> Have a look at TSREF and check for CONDITIONS. There you can check 
> whether a user is logged in.

If I understand correctly I would be able to use CONDITIONS in my root 
template to hide all the secret things until a user is logged in?

So, is this the correct way of coding:

[loginUser = *]
subparts.login_section > plugin.tx_newloginbox_pi1
[global]

I.e:

[first the condition = something]
... then the typoscript code that is valid if the condition is true ...
[then 'global' to "close" the conditioning]

Have I understood it somewhat right?

/anders



More information about the TYPO3-english mailing list