Hello Forum
I am very new to web design and even newer to cms, so if i make errors in posting please forgive me.
I am trying to set up a website using the Layout top menu + 2 columns i have managed to work out how to change the header and logo and some basic sizing, i know how to edit the main content, but what i am stuck with is the column on the left i would like to add a couple of boxes that can either be edited with content text of images and i would like it that this is done on the template side so i don't have to add to all the pages within the site.
I thank you for your help and time on this matter in advance and look forward to hearing from you
Garry
Help with layout on a template
Re: Help with layout on a template
Hello Gary,
In the CSS top menu + 2 columns template the sidebar is defined with this code:
Because it contains {content block='Sidebar'} you will get a content block you can edit/change when you create/edit the (each) page.
Try replacing the content block with a Global Content Block (or add a Global Content Block above or underneath):
1. add a Global Content Block, in the admin "Content" -> "Global Content Blocks" -> "Add Global Content Block", name it "sidebar-block1" for example.
2. add it to your page template:
Regards,
D
In the CSS top menu + 2 columns template the sidebar is defined with this code:
Code: Select all
{* Start Sidebar *}
<div id="sidebar" class="hascontent">
{content block='Sidebar'}
</div>
{* End Sidebar *}
Try replacing the content block with a Global Content Block (or add a Global Content Block above or underneath):
1. add a Global Content Block, in the admin "Content" -> "Global Content Blocks" -> "Add Global Content Block", name it "sidebar-block1" for example.
2. add it to your page template:
Code: Select all
{* Start Sidebar *}
<div id="sidebar" class="hascontent">
{content block='Sidebar'}
{global_content name='sidebar-block1'}
</div>
{* End Sidebar *}
D

