icekev Posted January 6, 2012 Share Posted January 6, 2012 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 Link to comment Share on other sites More sharing options...
luci1 Posted January 6, 2012 Share Posted January 6, 2012 Hi, Yes it's possible, you have to add customs fields you want to display in the template file and you can process them in the controller file. Link to comment Share on other sites More sharing options...
icekev Posted January 6, 2012 Author Share Posted January 6, 2012 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 More sharing options...
icekev Posted January 9, 2012 Author Share Posted January 9, 2012 The help would still be a good option Link to comment Share on other sites More sharing options...
luci1 Posted January 10, 2012 Share Posted January 10, 2012 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now