jesusruiz Posted August 2, 2011 Share Posted August 2, 2011 Hello and thanks for reading this message. I want to add a link to block CMS, to show customers the contact form. Anyone who has done I can explain how I can do this? Thank you very much and best regards. Link to comment Share on other sites More sharing options...
shokinro Posted August 2, 2011 Share Posted August 2, 2011 because there is direct way to add this from back office. here is way to add it directly to the CMS block theme file. follow the instructions below to override the theme file and add your link (keep original one not changed) 1. create a folder following folder if it does not exists YourStoreRoot/themes/YourStoreTheme/modules/blockcms 2. Copy the following theme file from original cms folder to the one we prepared at above 1. YourStoreRoot/modules/blockcms/blockcms.tpl 3. Edit the new copied file YourStoreRoot/themes/YourStoreTheme/modules/blockcms/blockcms.tpl adding following line to the first block of code in the theme file. <li><a href="{$link->getPageLink('contact-form.php')}" title="{l s='Contact Us' mod='blockcms'}">{l s='Contact US' mod='blockcms'}</a></li> I have attached the changed file (which is from 1.4.3), in case you don't know how to do this. please rename the file. I added .txt extension because the forum not allow to attach tpl file. blockcms.tpl.txt 1 Link to comment Share on other sites More sharing options...
jesusruiz Posted August 3, 2011 Author Share Posted August 3, 2011 because there is direct way to add this from back office. here is way to add it directly to the CMS block theme file. follow the instructions below to override the theme file and add your link (keep original one not changed) 1. create a folder following folder if it does not exists YourStoreRoot/themes/YourStoreTheme/modules/blockcms 2. Copy the following theme file from original cms folder to the one we prepared at above 1. YourStoreRoot/modules/blockcms/blockcms.tpl 3. Edit the new copied file YourStoreRoot/themes/YourStoreTheme/modules/blockcms/blockcms.tpl adding following line to the first block of code in the theme file. <li><a href="{$link->getPageLink('contact-form.php')}" title="{l s='Contact Us' mod='blockcms'}">{l s='Contact US' mod='blockcms'}</a></li> I have attached the changed file (which is from 1.4.3), in case you don't know how to do this. please rename the file. I added .txt extension because the forum not allow to attach tpl file. Awesome. It works perfectly well, you're a master. Thank you very much for your help. Link to comment Share on other sites More sharing options...
cankart Posted December 4, 2011 Share Posted December 4, 2011 Hi Can we add some text example store location contact details etc... if i connect it it will only show the contact form, if there is a way to add these informations that would be great Thanks Link to comment Share on other sites More sharing options...
muhsinap Posted August 15, 2013 Share Posted August 15, 2013 Hi am new to prestahop and i have created a CMS content custom contact address,but i need add prestashop contact form to same page under the contact address Thank you. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 15, 2013 Share Posted August 15, 2013 Hi am new to PrestaShop and i have created a CMS content custom contact address,but i need add PrestaShop contact form to same page under the contact address Thank you. Hi, have you configured the available fields in Preferences>Store Contacts Link to comment Share on other sites More sharing options...
Recommended Posts