Customize Contact Us page and put info in the sidebar.

Hi Folks,

If you go to http://sympathyforthekettle.com/index.php/contacts/ you will see that the form has an empty sidebar. I would like to add some information there, preferably a CMS page. I believe editing the phtml and xml files are necessary but what I am not sure about is how to place the static block IN the sidebar. Are there divs/CSS associated with the sidebar?

Every thread I have read talks about adding content but it all appears in the main form column leaving a large empty space.

Thanks
Peter

2 answers

congtq 0.00 $tone June 30, 2010
Public

Hi Peter

Pls read this thread http://www.joomlart.com/forums/showt…l=1#post183762 to know how to turn on Template Path Hints and where the template is.

Then copy this line

PHP Code:

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('about-us')->toHtml() ?>


to file which was found.
about-us is identifier which defined in CMS->Static Blocks.

Wish you success

#1

This question is now closed

Written By

Comments