- Posts: 86578
- Thank you received: 14321
Access registered content
15 years 2 months ago #24270
by nicolas
Replied by nicolas on topic Re: Access registered content
something like that:
$user =& JFactory::getUser();
if(!empty($user->id)){
...do the redirect....
}
$user =& JFactory::getUser();
if(!empty($user->id)){
...do the redirect....
}
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
Less
More
- Posts: 137
- Thank you received: 2
15 years 2 months ago #25343
by emergentec
Replied by emergentec on topic Re: Access registered content
When accessing the URL http://....com/mybio/product/ we now get the message "Please login first" and a logout button, because we are already logged in. Is there a way to handle this situation better?
Please Log in or Create an account to join the conversation.
15 years 2 months ago #25346
by nicolas
Replied by nicolas on topic Re: Access registered content
Not easily.
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
Less
More
- Posts: 137
- Thank you received: 2
14 years 10 months ago #36104
by emergentec
Replied by emergentec on topic Re: Access registered content
When a user enters a wrong UID, password combination the "your login failed" message appears. But additionally the "Please login first" message appears. Is it possible to hide the second message in this case?
Please Log in or Create an account to join the conversation.
14 years 10 months ago #36153
by nicolas
Replied by nicolas on topic Re: Access registered content
No it's not.
Please Log in or Create an account to join the conversation.
Time to create page: 0.058 seconds