Grazulex Posted March 20, 2014 Share Posted March 20, 2014 Hello, I have made a new module for the admin side of PrestaShop 1.5.Everything is ok outside the fact that my form in not update after the submit..I need to make a F5 to see the new data. Please, can you help me ?Thanks Link to comment Share on other sites More sharing options...
math_php Posted March 20, 2014 Share Posted March 20, 2014 Hi Perhaps you read data/config before it is updated ? Do you get data from the form and store them in the first lines of getContent() ? Regards Link to comment Share on other sites More sharing options...
Grazulex Posted March 20, 2014 Author Share Posted March 20, 2014 Hello, I make the update of the data is postProcess() and show the data in renderForm(). Thanks Link to comment Share on other sites More sharing options...
math_php Posted March 20, 2014 Share Posted March 20, 2014 I have checked in my modules and also, 'cheque' and 'blockcart' modules wich are made by prestashop. The processing of the form has to be done in the very first line of getContent() Link to comment Share on other sites More sharing options...
Grazulex Posted March 20, 2014 Author Share Posted March 20, 2014 I have this code in a ModuleAdminController ;o( Is the time that I made a module like this...Can you show me the way please ?if have postProcess() with the submit/saving of my data in the db renderForm make my form with the helperForm and send to smartyWhere do I need to used the getContent and which info I need to put there ? Link to comment Share on other sites More sharing options...
math_php Posted March 20, 2014 Share Posted March 20, 2014 Send me your module via pm I will fix it. ModuleAdminController is confusing. Link to comment Share on other sites More sharing options...
Grazulex Posted March 20, 2014 Author Share Posted March 20, 2014 I don't see attachment in the MP ;o( send me your mail please to [email protected] thanks 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