How to change the path in login form?

bo bobis 01 Nov, 2012
Hi I have created a login form from module manager. When the user press the button login I want to transfer him to a specific path. How can I change the path? And when the user press the link create an account I want to change the form that it appears by default and put another form that I created with chronoforms. How can I do it?
Gr GreyHead 01 Nov, 2012
Hi bobis,

Joomla! has a 'URL after login' setting.

If this doesn't work I'd build the login button with a little ChronoForms and use the ReDirect User action to redirect them.

The easiest way to replace the standard Joomla! forms is to use a Template Override. Please see this FAQ

Bob
bo bobis 01 Nov, 2012
If you mean with the 'URL after login' the "Login Redirection Page" yes it worksπŸ™‚

I saw the FAQ but in the this path what file do you mean to add?
"You create a template override by adding a file in the templates/your_template/html/ folder."


In this path I can't find com_users/registration/default.php only templates/your_template/html/com_users/index.html or module.php

"The equivalent override file will be templates/your_template/html/com_users/registration/default.php
If there is already a file with this name then rename it to default.old.php. Create a new empty default.php and add this code:"

Can someone help me?
bo bobis 08 Nov, 2012
I found the correct path in this topic πŸ˜€

In joomla 2.5 the path is not exactly the same that you show me.

You show me this path:
templates/your_template/html/com_users/registration/default.php

The path I follow in order to change the default.php was the following:
components\com_users\views\registration\tmpl\default.php

And I create this folder but I think it is not needed anywhere because without the creation of this folder the form works.(instead if you mean something else)
templates/your_template/html/ folder.

Thank you for your help πŸ˜€
Gr GreyHead 08 Nov, 2012
Hi bobis,

This is not the correct path, your changes will be lost when you upgrade Joomla.

Bob
bo bobis 08 Nov, 2012
Sorry I didn't know that but I can't find the path that you told me to found. 😟 templates/your_template/html/com_users/registration/default.php
Is any other way to do it?
Gr GreyHead 08 Nov, 2012
Hi bobis,

If the folder does't exist then you need to create it.

Bob
bo bobis 08 Nov, 2012
I followed this path templates\beez_20\html then inside html folder I created the folder com_users then inside the com_users I created the registration folder and in this folder I created the file default.php and I put the code that you told me.Is it ok now?
This topic is locked and no more replies can be posted.