Hi Dmitry, thanks for your reply. Let me explain: the page that is restricted is, say, id=12, which for realurl is es/page1/page2.html. When I click on the link, it redirects to es/login.html and has two parameters: pageId=12, which is correct, and redirect_url=es.html, which isn't, right? Shouldn't ###RETURN_URL### be holding the value for the restricted page's path, i.e. es/page1/page2.html? Once I login, Typo3 redirects me to the redirect_url value, which is es.html and doesn't exist.
Maybe I'm not understanding the configuration of either realurl or the showAccessRestrictedPages property? Thanks again for your help. Antonio Dmitry Dulepov [typo3] wrote: > Antonio Reher wrote: > >> 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, >> > > I am sorry, but why it should be like that? You pass two parameters, you get > to in the URL. All looks correct in the generated URL but your URL examples > look wrong. > > >> 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. >> > > RealURL returns id values only like "/13/" (if 13 is id) and not in any other > way. It does so only if not configured correctly. > > I completely do not understand what you are trying to do and what exactly you > expect to get :( I do not see any problem for RealURL here. RealURL does only > one thing: it receives a number (page id) and returns URL for it. It does not > know about showAccessRestrictedPages or anything else in TYPO3. > > _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english