miguelscampos Posted February 4, 2015 Share Posted February 4, 2015 Hi everyone, need some help here. I need a contact form just like the one in the one existing in the initial theme, however I need to add more fields and change the existing ones. Is this possible? Thank you Link to comment Share on other sites More sharing options...
Ben90 Posted February 4, 2015 Share Posted February 4, 2015 You can edit contact-form.tpl inside your themes folder. themes/default-bootstrap/contact-form.tpl Link to comment Share on other sites More sharing options...
miguelscampos Posted February 4, 2015 Author Share Posted February 4, 2015 Thank you! But is there another way? Because I don't know how to work with code. Or maybe a tutorial to edit this particular file Link to comment Share on other sites More sharing options...
Ben90 Posted February 4, 2015 Share Posted February 4, 2015 (edited) Thank you! But is there another way? Because I don't know how to work with code. Or maybe a tutorial to edit this particular file You can use any html editor online or even use the prestashop to create cms page & then see the source code, copy paste to contact-form.tpl If you like to use online html editor, you can type it on google. Create any content you want, then copy the code to contact-form.tpl One of free html editor online: http://www.quackit.com/html/online-html-editor/full/ Edited February 4, 2015 by rukano (see edit history) Link to comment Share on other sites More sharing options...
miguelscampos Posted February 4, 2015 Author Share Posted February 4, 2015 You can use any html editor online or even use the prestashop to create cms page & then see the source code, copy paste to contact-form.tpl If you like to use online html editor, you can type it on google. Create any content you want, then copy the code to contact-form.tpl One of free html editor online: http://www.quackit.com/html/online-html-editor/full/ Thanks for the quick answer again. Going to try it and post feedback later! Link to comment Share on other sites More sharing options...
miguelscampos Posted February 4, 2015 Author Share Posted February 4, 2015 I think I didn't understand quite well because with your solution I still have to work with code which I can't. Is there any other way? For example in wordpress I just have to add the name of the fields and that's it. Link to comment Share on other sites More sharing options...
Ben90 Posted February 5, 2015 Share Posted February 5, 2015 I think I didn't understand quite well because with your solution I still have to work with code which I can't. Is there any other way? For example in wordpress I just have to add the name of the fields and that's it. Because you want to customise the original contact page which is not normally editable from the back office, that's why you need to edit from contact-form.tpl. But actually what you need to do is only create the page with WYSIWYG editor (the html editor I send you before) which is the same like what you did on wordpress, and then just copy paste the source code to contact-form.tpl. You don't need to understand the code because that editor allowed you to create the page like wordpress, right? Link to comment Share on other sites More sharing options...
miguelscampos Posted February 5, 2015 Author Share Posted February 5, 2015 Maybe I didn't express myself correctly. I need to have a contact form in my page but it doesn't need to be the "contact us" page, it could be on the main navigation menu on top. I spoke about the "contact us" page because I thought it would be easier to modify. thanks again! Link to comment Share on other sites More sharing options...
Ben90 Posted February 6, 2015 Share Posted February 6, 2015 Maybe I didn't express myself correctly. I need to have a contact form in my page but it doesn't need to be the "contact us" page, it could be on the main navigation menu on top. I spoke about the "contact us" page because I thought it would be easier to modify. thanks again! Then you can go to, Preferences -> CMS -> Add new cms page -> click source code </> Paste the code from contact-form.tpl, press ok. After that you can add everything you like from the back-office editor without the code. Give a try. Cheers! Link to comment Share on other sites More sharing options...
miguelscampos Posted February 9, 2015 Author Share Posted February 9, 2015 Thanks. I tried that but when I save the page the "code" disappears. However if I type something random like "wefwefwqfevfdva" it allows me to save. Don't know why... Link to comment Share on other sites More sharing options...
helldog2004 Posted February 9, 2015 Share Posted February 9, 2015 Hi Miuelscampos, if you are not familiar with coding, but still would like to place a form of some sort like contact us then modules might be the way to go for you. Here are some modules that might be a good solution for you in order to create forms the way you are used to. http://addons.prestashop.com/nl/front-office-features/1313-customizable-contactform.html Hope this helps you out. 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