Jump to content

Hot To Change The Register Form Value


icekev

Recommended Posts

Basically i was wondering if there was anyway to change the "Organisation" in the register to somthing else i would like and, if possible, how i could add value, but in a way it goes in the DB also.

 

Thanks for any support, greatly appreciated in advance :D

Link to comment
Share on other sites

And what template file is that "Template file"

And those custom fields, what kind of thing do i have to write down ?

 

finally, what is the controller file :S

 

As it says, i am a Prestashop newbie haha.

sorry if i suck that bad, but i am not used to code in a premade template engine.

 

Thanks again!

Link to comment
Share on other sites

Hi,

 

The page called is authentication.php , here is the code :

 

require(dirname(__FILE__).'/config/config.inc.php');
ControllerFactory::getController('AuthController')->run();

 

You can see it load the configuration file and call the controller "AuthController" you can find in the controllers directory.

 

Finally in the AuthController.php file in the displayContent() function you can see that the "authentication.tpl" template is called, you can find this file in the theme directory.

 

Then if you have some PHP skills you can had custom fields in the template file and process them in the process() funftion in the AuthControlelr file.

 

If you don't have any PHP skills maybe you have to aks in the paid service section of the forum, or find someone who had enough time to help you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...