Tintarella Posted May 7, 2010 Share Posted May 7, 2010 Hi!How do I import the contact us page (the contact-form) to another page, one I created on the CMS? When I paste the php-code from contact-form.php into my CMS-created blank page, the code shows up as plain text...Please help!! Link to comment Share on other sites More sharing options...
XAMelleOH Posted May 7, 2010 Share Posted May 7, 2010 It is easier to add your text to contact-form.tpl. Not vice versa. Link to comment Share on other sites More sharing options...
Tintarella Posted May 7, 2010 Author Share Posted May 7, 2010 Ok, but then I have to modify so that the CMS-created page is linked to the contact-form.php page..how do I do this? Link to comment Share on other sites More sharing options...
XAMelleOH Posted May 7, 2010 Share Posted May 7, 2010 No. Remove CMS-created page and add your text to the contact-form.tpl. Link to comment Share on other sites More sharing options...
Tintarella Posted May 7, 2010 Author Share Posted May 7, 2010 I understand, but I need this CMS-created page too, it's called "customer service" and contains important information. Link to comment Share on other sites More sharing options...
XAMelleOH Posted May 7, 2010 Share Posted May 7, 2010 Rename "Contacts" to "Customer Service" and remove CMS page. Link to comment Share on other sites More sharing options...
Tintarella Posted May 7, 2010 Author Share Posted May 7, 2010 Heh, contact us is a link in the main interface, which is needed.Customer service is a link on the information box at the left side..So I need both..is it not possible to add the contact-form to more then one page? Link to comment Share on other sites More sharing options...
XAMelleOH Posted May 7, 2010 Share Posted May 7, 2010 Quote I have to modify so that the CMS-created page is linked to the contact-form.php page What do you mean here? Link to comment Share on other sites More sharing options...
Tintarella Posted May 7, 2010 Author Share Posted May 7, 2010 I mean that I have a link called CUSTOMER SERVICE placed in the information box of my site, this is the CMS-created page. So far, so good. How do I do in order to link the CMS-page (CUSTOMER SERVICE) to the CONTACT US (contact-form.php) page? Link to comment Share on other sites More sharing options...
XAMelleOH Posted May 7, 2010 Share Posted May 7, 2010 So, the content of CUSTOMER SERVICE and CONTACT US pages will be completely the same? Link to comment Share on other sites More sharing options...
Tintarella Posted May 7, 2010 Author Share Posted May 7, 2010 Probably no, that's why It would be easier for me to just paste in the contact-form into the CUSTOMER SERVICE page..but I guess it's not possible :/ Link to comment Share on other sites More sharing options...
XAMelleOH Posted May 7, 2010 Share Posted May 7, 2010 You can edit links directly in modules/blockinfos/blockinfos.tpl, but your task looks really impossible. Link to comment Share on other sites More sharing options...
jhnstcks Posted May 9, 2010 Share Posted May 9, 2010 If I understant correctly, you want to add links to the blockinfo box that are not CMS created and therefore not configurable through the backoffice.This is very easy to do and just requires you to edit the file modules/blockinfos/blockinfos.tpl. As below > </pre> <ul> {foreach from=$cmslinks item=cmslink} {$cmslink.meta_title|escape:htmlall:'UTF-8'} {/foreach} </ul> Change it look like this > </pre> <ul> insert here to list above the cms pages {foreach from=$cmslinks item=cmslink} {$cmslink.meta_title|escape:htmlall:'UTF-8'} {/foreach} or insert here to list belowthe cms pages Its important not to add the new links between the foreach commands otherwise it will mess up. Link to comment Share on other sites More sharing options...
Tintarella Posted May 10, 2010 Author Share Posted May 10, 2010 My mission: To add the contact-form.php content (the form) to a CMS-created page called CUSTOMER SERVICE.Thanks guys, I will try this and see what happens. Link to comment Share on other sites More sharing options...
Bors Posted February 2, 2012 Share Posted February 2, 2012 Mildly necromantic but... what happened to this in the end? I wish to do the same thing - have the contact form came up within a CMS created page. Initially I was thinking something along the lines of just inserting "require_once('contact-form.php');" in the CMS html editor, but that's clearly not working. An iframe doesn't work either, not that I'd use it even if it did. So, any ideas? Link to comment Share on other sites More sharing options...
billyjoe Posted April 15, 2013 Share Posted April 15, 2013 Hi there ! Even if the topic seems a bit old, I'm gonna reply to show it up. On 2/2/2012 at 4:30 PM, Bors said: I wish to do the same thing - have the contact form came up within a CMS created page. I need to do the same thing, so anyone has any idea on hot to complete this task ? Link to comment Share on other sites More sharing options...
artofadornment Posted April 25, 2013 Share Posted April 25, 2013 (edited) Same here, bors & billyjoe. I have to create a CMS page for our contact info so mobile users can get to the contact-us form quickly (they can't otherwise, because of what my crazy custom theme does to navigation menus). All I need to do is insert that contact form into a CMS page (not a link to the form, I mean the entire actual form). I've got the page ready, all I need now is to figure out how to insert the form. Edited April 25, 2013 by artofadornment (see edit history) Link to comment Share on other sites More sharing options...
connectcase Posted May 14, 2013 Share Posted May 14, 2013 It's not that hard in version 1.5. I did it and explained how over here: http://www.laatuwwebsitewerken.nl/2013/05/14/bewerk-het-contactformulier-in-prestashop/ The explanation is in Dutch, but if you want a translation, just let me know.... Link to comment Share on other sites More sharing options...
Recommended Posts