[TYPO3] Using a different page as current for the menu
Rudy Gnodde
gnodde.rudy at wag.nl
Wed May 31 15:58:38 CEST 2006
Hello everyone,
Since this doesn't seem to be possible, I ended up making a PHP script
for a menu using .special = userdefined.
Rudy Gnodde
WIND Internet
http://www.windinternet.nl
> -----Oorspronkelijk bericht-----
> Van: typo3-english-bounces at lists.netfielders.de
> [mailto:typo3-english-bounces at lists.netfielders.de] Namens Rudy Gnodde
> Verzonden: woensdag 31 mei 2006 9:49
> Aan: TYPO3 English
> Onderwerp: [TYPO3] Using a different page as current for the menu
>
> Hello everyone,
>
> I have a couple of pages that are visible in the menu (at
> different levels), but require you to be logged in. If you
> click on the menu item it automatically redirects you to a
> single login page, using showAccessRestrictedPages, and
> showAccessRestrictedPages.addParams to set a redirect after
> login. Unfortunately the login page is in a different
> location than (some of) the restricted pages, so the menu
> changes. Is there any way to "fool" the menu into thinking
> the current page is the restricted page, either through
> TypoScript or PHP?
>
> The page tree looks something like:
>
> Root
> - Page 1
> -- Page 1.1
> -- Page 1.2
> -- Page 1.3 (restricted)
> - Page 2
> -- Page 2.1
> --- Page 2.1.1 (restricted)
> --- Page 2.1.2
> -- Page 2.2
> -- Page 2.3
> - Page 3 (restricted)
> - Login page
>
> So if someone goes to Page 1.3, 2.1.1 or 3 they will be
> redirected to the Login page. After login they are redirected
> back to the restricted page (which they can view now).
>
> I have searched the mailing lists and documentation and
> haven't been able to find anything I can use for this.
>
> Thanks,
>
> Rudy Gnodde
> WIND Internet
> http://www.windinternet.nl
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list