[Typo3] insert page content in templates?

Peter Russ peter.russ at 4many.net
Mon Jun 27 17:21:33 CEST 2005


Peter Russ wrote:

> Anders Carlén wrote:

>> 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
> 
> 
> Almost 100 points. So it would look like this:
> 
> subparts.login_section=TEXT
> subparts.login_section.value=
> [loginUser=*]
>    subparts.login_section < plugin.tx_newlogibox_pi1
> [end]
> 
> Regs. Peter.
> 
But this example makes no sence as it would give you the loginbox only 
if the user is logged in ;-)

Regs. Peter



More information about the TYPO3-english mailing list