[TYPO3] showAccessRestrictedPages and realurl
Antonio Reher
areher at sonoratec.biz
Sun Jun 8 19:13:49 CEST 2008
I'm using realUrl v. 1.4, by the way.... any ideas?
Thanks
Antonio Reher wrote:
> Hi all:
> I have a problem using realurl and the showAccessRestrictedPages
> property for TMENU. My site is bilingual and uses realurl, so that URLs
> are site.com/en/page1/page2 and site.com/es/page1/page2. One of my pages
> is restricted, so in the TMENU configuration I set
>
> showAccessRestrictedPages = 90
> showAccessRestrictedPages.addParams =
> &redirect_url=###RETURN_URL###&pageId=###PAGE_ID###
>
> The menu item for the restricted page points to
>
> http://site.com/es/login.html?redirect_url=es.html&pageId=12
>
> which is wrong, of course, because it should be
>
> http://site.com/es/login.html?redirect_url=es/page1/page2 or
> http://site.com/en/login.html?redirect_url=en/page1/page2,
>
> depending on the language. I've also tried doing
> (http://www.typo3.net/index.php?id=13&action=list_post&tid=69971)
> showAccessRestrictedPages.addParams =
> &redirect_url=index.php?id=###PAGE_ID###&pageId=###PAGE_ID###
>
> but, this ruins the whole idea of using realurl, because it's using
> id's, and there is no way to get the right language parameter in.
>
> Does anybody have an idea on how to work around this?
>
> Thanks!
>
> Antonio
>
>
> _______________________________________________
> 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