Quote from: bigimaginations at May 09, 2007, 04:32 PM
Yeah, read through that, but I don’t really understand Template Variables that well or how I could use one to achieve what I am going for. I couldn’t just use some form of this: &tpl=`7` or something in my template code?
Template Variables aren’t all that scary. Here’s how to add another content area.
In the manager, go Resources > Manage Resources
Click ’Template Variables’ Tab then ’New Template Variable’ link
Give it a name - for instance ’SideBar’
fill out the caption and description if you want (you can always edit it later)
Select ’RichText’ as the Input Type
Check the box beside the templates you want to use this on.
Select the Document groups you want to allow access to the TV.
It might be a good idea to create a new category - this just helps keeps things organised.
Click Save
Now to add it to your template just include [*SideBar*] in the html where you want it to appear.
Surround it in any HTML - a DIV for example. For instance
<div id="sidebar">
[*SideBar*]
</div><!-- sidebar -->
Then you can format it with CSS.
When you edit the page you will get another content box just like you do with the main content.
Give it a go!