[TYPO3] Making a menu with pretected pages.
Fred
hamel at urbansecurity.org
Tue Sep 11 18:24:35 CEST 2007
So I tried but I failed, thank you anyway.
I'm trying to do this : I want to delete the page Section03_login and to
let Section03 properties to public access.
On the pages Article01... I set the properties of the content elements
to "members".
My problem is : I have a lot of pages like and my users want the most
simple solution, so I'm trying to make a loginbox in the template, with
"hide at login" property, but I can't manage to find how.
Rudy Gnodde a écrit :
> Hello Fred,
>
> Fred wrote:
>> I have a website on typo3 (v4.1 on a windows server with iis) on
>> which i have a pretected area like this :
>> PageRubrique
>> |__ Section01
>> | |__ Article01
>> | |__ Article02
>> |__ Section02
>> |__ Section03_login
>> |__ Section03
>> |__ Article01
>> |__ Article02
>>
>> The Section03_login is a page on which the login box (native)
>> redirect on Section03. Section03 had "members" as general properties
>> and I cheked "Include subpages" to protect all af them. Everything is
>> working fine.
>>
>> I was asked to make a menu on Page Section_03 so users can see all
>> the links of the pretected pages. The problem is they don't appear on
>> it because they are pretected. Do you know a way of making a menu
>> with pretected pages ?
>>
>> The other solution is to put the "member" group on the properties of
>> the content and not on the page, but I don't know how to insert the
>> login box on each page automatically and to translate it on the good
>> language. I'm trying to do this with TypoScript but it's a bit tought.
>
> This can be done through TypoScript using the
> showAccessRestrictedPages property of TMENU (or GMENU).
>
> For example:
> lib.menu = HMENU
> lib.menu.1 = TMENU
> lib.menu.1.showAccessRestrictedPages = [uid to the login page]
> lib.menu.1.showAccessRestrictedPages.addParams =
> &redirect_url=###RETURN_URL###
> lib.menu.1.wrap = <ul>|</ul>
> lib.menu.1.NO {
> wrapItemAndSub = <li>|</li>
> }
>
>> Thanks for the ideas.
> You're welcome.
>
> Regards,
>
> Rudy Gnodde
> WIND Internet
> http://www.windinternet.nl
More information about the TYPO3-english
mailing list