[Typo3] insert page content in templates?
Peter Russ
peter.russ at 4many.net
Mon Jun 27 17:18:22 CEST 2005
Anders Carlén wrote:
> 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
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.
--
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ
More information about the TYPO3-english
mailing list