mhaken Posted April 7, 2015 Share Posted April 7, 2015 Hello sorry for my english. I want to second controller contact-form.. I want two contact forms with another TPL. I duplicated contact-form.tpl to contact-form2.tpl. In controllers i duplicated ContactController.php and renamed to contact2Controller.php (with edit to link to contact-form2.tpl and $php_self='contact2'.. But it doesn't work.. Do you have any function tutorial? I Have prestashop 1.6... Thanks so much! Link to comment Share on other sites More sharing options...
PascalVG Posted April 7, 2015 Share Posted April 7, 2015 Hi mhaken, welcome to the forum. I think you also need to modify modules/blockcms module. For example in module/blockcms/blockcms.php you should add a link to the new contact2 form, so that it is shown in the footer etc. (i.e. the user needs to have a way to choose the contact 2 form). Probably some other files in this module folder as well. Haven't checked, though. My 2 cents, pascal Link to comment Share on other sites More sharing options...
PascalVG Posted April 7, 2015 Share Posted April 7, 2015 Just out of curiosity, what are the differences between the two forms? Maybe there's another way to do what you want, so please describe what you try to do. pascal. Link to comment Share on other sites More sharing options...
mhaken Posted April 7, 2015 Author Share Posted April 7, 2015 I want add different inputs (in first form i want inputs with roll menu and in second without the roll menu) 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