The Joomla! Forum ™



Forum rules


Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
PostPosted: Sun Mar 18, 2012 3:44 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Tue Jul 07, 2009 4:45 am
Posts: 1557
If this has been answered elsewhere, my apologies in advance because I could find nothing that pertains to this matter other than false bug reports listed at the end of this post.

I would like to redirect the page at http://www.mysite.com/components/user
that shows the text:
Quote:
"Registered Area - Welcome to the registered user area of our site."

with a general template override, is this possible without breaking the default Joomla! login form?

I am also willing to do a hard redirect via php code if necessary to keep the remainder of the Joomla! standard login.

This page is disallowed in the robots.txt file, but it greatly disturbs me as I understand it is not currently a security threat.

I have reviewed the following prior to this post and do not consider this to be a bug:

http://joomlacode.org/gf/project/joomla ... m_id=11994

http://joomlacode.org/gf/project/joomla ... m_id=26569

Thanks in advance.

Bjorg


Top
 Profile  
 
PostPosted: Sun Mar 18, 2012 6:47 am 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Fri Jan 20, 2006 11:37 am
Posts: 2608
Location: Forrest Australia
There are two ways you can do this.

If all you want to do is to change the text, then just edit the language file. You will find this in /language

Or, yes you can override the user file.

There are a number of them, so best thing is to copy the contents of /components/com_users/views/login/tmpl TO /templates/yourtemplate/html/com_users/login

Then you can edit the login files without effect the core files.

Good luck

_________________
Step1. Read the instructions. Step2. Refer to step 1. Step 3. Backup
Can't find the answers you need?
Joomla Video Tutorials ~>
http://www.teachingjoomla.com


Top
 Profile  
 
PostPosted: Sun Mar 18, 2012 7:25 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Tue Jul 07, 2009 4:45 am
Posts: 1557
Thank you much for the information as it was helpful.

Please navigate to:
http://www.joomla.org/components/user

The page displays the following:
Quote:
Registered Area
Welcome to the registered user area of our site.


Understand that the language file will change the “Welcome to the registered user area of our site.”

However, should a user find this page, I would like to redirect back to the main page.

I am uncertain if this can be accomplished via a template override?

I am also uncertain of which file to code, or if such an addition may have a negative effect upon the process
of the default Joomla! login form?

Anyone’s thoughts are appreciated.

Thanks in advance!
Bjorg


Top
 Profile  
 
PostPosted: Mon Apr 09, 2012 9:53 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Fri Jan 20, 2006 11:37 am
Posts: 2608
Location: Forrest Australia
Bjorg wrote:
Thank you much for the information as it was helpful.

Please navigate to:
http://www.joomla.org/components/user

The page displays the following:
Quote:
Registered Area
Welcome to the registered user area of our site.


Understand that the language file will change the “Welcome to the registered user area of our site.”

However, should a user find this page, I would like to redirect back to the main page.

I am uncertain if this can be accomplished via a template override?

I am also uncertain of which file to code, or if such an addition may have a negative effect upon the process
of the default Joomla! login form?

Anyone’s thoughts are appreciated.

Thanks in advance!
Bjorg


Naturally this can be accomplished via a template override, because you could alter the entire page. Further, you could redirect them via a .htaccess 301 redirect if you really wanted to.

_________________
Step1. Read the instructions. Step2. Refer to step 1. Step 3. Backup
Can't find the answers you need?
Joomla Video Tutorials ~>
http://www.teachingjoomla.com


Top
 Profile  
 
PostPosted: Tue Apr 10, 2012 12:10 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Tue Jul 07, 2009 4:45 am
Posts: 1557
Thank you for the insight with regard to the template override of the standard Joomla! login form.

The login form usually presents me with a non-consistant challenge beyond my own general capabilities where template overrides are concerned.

Again, many thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 



Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group