How do i add the company information to the contact us page?
I need to add the company contact details, name, address etc to the contact us page.
This can be either above or below the form.
Thanks for help in advance.
6 answers
Go to this Folder :
app/design/frontend/default/jm_painite/template/
Search for contacts folder.
If you find the contacts folder then open this file
app/design/frontend/default/jm_oganis/template/contacts/form.phtml
Then Add this Code
Code:
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('contact_form_content')->toHtml() ?>
After this Line of code
Code:
<div class="page-title"> <h1><?php echo Mage::helper('contacts')->__('Contact Us') ?></h1> </div>
Login to Admin then Goto CMS->Page
Then Create a CMS Block in the name "contact_form_content’"
If you do not find the contact file in the above specified folder.
upload the attached file in the JM Oganis template folder app/design/frontend/default/jm_oganis/template/
Note: If you Find my Post is useful please click on the Thanks Icon
hi there,
why would i be looking for jm_painite folders on a jm_oganis site ?
have i missed something here ?
i also cant find the file form.phtml in the location you mention -- please see screenshot
could you check the info and update me pls -- sorry if its me being daft but this has confused me
I am not too familiar with Magento (it has just taken me nearly 45mins to install it on my localhost) but I believe the form in question can be found at app\design\frontend\base\defaulttemplate\contacts \form.phtml
Spot on Phil
you were correct -- i have located the file.
thanks for your help with this 1
just done a quick test and it worked perfectly
thanks guys 2 both of you for walking me through this
Sorry it was my mistake.
Instead of jm_oganis i just typed jm_painite.