--
Answering to myself and whomever may be interested:
It seems that the "/component/users/?view=login" redirection in case of unauthorized access is hard coded into /includes/application.php
I'm afraid the only way to override it is to... "have kitten die"!
Thanks anyway!
Sergio
On 2013-07-10 14:38, Sergio Manzi wrote:
Sorry, I understand this is not matter for this group, but I have this problem, I tried to get help on forum.joomla.org, but nobody answered:
is there a way (I'm on Joomla! 3.1.1) to redirect unauthorized users to a custom page instead of to "/component/users/?view=login" ?
I'm asking this because in one of my sites I've set up a login page (accessible as /login) using mod_login (instead of the com_user login form) and for aesthetic reasons I would like unauthorized users trying to access restricted content be redirected to that same page instead of the different looking com_user login page.
It would be even better if the error message "You have to login first" would be displayed too, but this is not "a must".
Thanks in advance to whomever may give an advice.
Sergio
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
Well, that's not good (the hard coding, that is). I wonder if that can be improved, maybe in com_users? Might be a complex issue to solve.
Best,
Matt ThomasFounder�betweenbrain�Lead Developer�Construct Template Development FrameworkPhone: 203.632.9322
Twitter: @betweenbrain
Github:�https://github.com/betweenbrain
On Thu, Jul 11, 2013 at 11:20 AM, Sergio Manzi <s...@smz.it> wrote:
Answering to myself and whomever may be interested:
It seems that the "/component/users/?view=login" redirection in case of unauthorized access is hard coded into /includes/application.php
I'm afraid the only way to override it is to... �"have kitten die"!
Thanks anyway!
Sergio