Hi There,
I've read
http://help.websitebaker.org/pages/en/advanced-docu/designer-guide/content-blocks.php and I've been able to create multiple content blocks within my template and edit their content independantly. I've been unable to find the answer to my question on this forum or through our friend google.
I have attached a drawing of my requirement. The top section of the attachment shows three content blocks which i'm able to achieve styling with CSS.
However I want my
homepage only to display these content blocks. This is obviously done in the Modify Sections page which I understand. However due to the styling of these content blocks these will appear on each of the other pages. Even those that i have only one content block specified in the sections page.
<div class="content">
<?php page_content(1); ?>
</div>
<div class="bottomleft">
<?php page_content(2); ?>
</div>
<div class="bottomright">
<?php page_content(3); ?>
</div>
The code snippet above is an example, I need some way of saying only show these DIV containers (bottomleft & bottomright) if these content blocks have any content.
If anyone is able to help me it would be greatly appreciated.