Thanks for your explination (it works for me just as you describe).
typolinkLinkAccessRestrictedPages can?t help me with)...
Post by Miroslav MonkevicIf user types restricted URL (www.mydomain.com/index.php?id=123) into
the address box he obviously will land on the nearest (grand)parent of
the restricted page, where he (user) has sufficient access rights.
config.typolinkLinkAccessRestrictedPages can not help you here
a) link on your site which points to page with ID = 123
config.typolinkLinkAccessRestrictedPages = 1
config.typolinkLinkAccessRestrictedPages_addParams =
&tx_srfeuserregister_pi1[backURL]=###RETURN_URL###&redirect_url=###RETURN_URL###
c) user is not logged in and therefore has no rights to access 123
Link to 123 page will automatically become not <a
href="index.php?id=123">Go to 123</a>, but (<a
href="index.php?id=1&tx_srfeuserregister_pi1[backURL]=index.php?id=123&redirect_url=index.php?id=123
">Go to 123</a>)
That's it! It is easy as 123. :)
P.S. if you are using realurl, beware of bug 3078, which prevents
###RETURN_URL### from being set properly.
Good luck.
Post by Martin RudHi,
It does not work for me.
What I mean is: If page with uid = 123 i restricted, and a not logged in
visitor tries to go into www.mydomain.com/index.php?id=123 then I want
the visitor sent to www.mydomain.com/index.php?id=1 (a page with a login
form).
Regards, Martin
Post by Miroslav MonkevicHi Martin,
look at config.typolinkLinkAccessRestrictedPages
--
Miroslav
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
No virus found in this outgoing message.
Checked by AVG Free Edition.