/components/user - Registered Area - Welcome to the register

For Joomla! 1.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Locked
User avatar
Bjorg
Joomla! Ace
Joomla! Ace
Posts: 1557
Joined: Tue Jul 07, 2009 4:45 am

/components/user - Registered Area - Welcome to the register

Post by Bjorg » Sun Mar 18, 2012 3:44 am

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:
"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

User avatar
normdouglas
Joomla! Hero
Joomla! Hero
Posts: 2654
Joined: Fri Jan 20, 2006 11:37 am
Location: Geelong Australia

Re: /components/user - Registered Area - Welcome to the regi

Post by normdouglas » Sun Mar 18, 2012 6:47 am

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

User avatar
Bjorg
Joomla! Ace
Joomla! Ace
Posts: 1557
Joined: Tue Jul 07, 2009 4:45 am

Re: /components/user - Registered Area - Welcome to the regi

Post by Bjorg » Sun Mar 18, 2012 7:25 am

Thank you much for the information as it was helpful.

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

The page displays the following:
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

User avatar
normdouglas
Joomla! Hero
Joomla! Hero
Posts: 2654
Joined: Fri Jan 20, 2006 11:37 am
Location: Geelong Australia

Re: /components/user - Registered Area - Welcome to the regi

Post by normdouglas » Mon Apr 09, 2012 9:53 pm

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:
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

User avatar
Bjorg
Joomla! Ace
Joomla! Ace
Posts: 1557
Joined: Tue Jul 07, 2009 4:45 am

Re: /components/user - Registered Area - Welcome to the regi

Post by Bjorg » Tue Apr 10, 2012 12:10 am

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!


Locked

Return to “Joomla! 1.5 Coding”