Hi everyone.
Firstly I would like to say thanks for this software - I have been looking for a good content editor for a long time, and this one is excellent!!
I have successfuly set up the content editor and I have started building a page (using the templates and style sheets) to my needs.
I have a full page layout, left hand navigation, content in the middle 80% of the page, and this all works fine.
However, I have also created a seperate div that floats on the right hand side of the page- and although I can add text to this through the template, I would like to be able to add text to it through Content>Pages in the content editor.
Is there a way I could achieve this?
Thanks in advance.
Dave
using content editor to add text to a custom div
-
- Forum Members
- Posts: 20
- Joined: Mon Nov 19, 2007 4:02 pm
Re: using content editor to add text to a custom div
1. Global Content Block - Div has always the same Content
Include them in your template with code like this:
You can add/edit GCB in admin panel, menu Contents > Global content blocks.
2. Ordinary Content Blocks - Div Content can be different through every single page
or to change the content with every page add
to your template and a
HOPE that helpes, and sorry for my poor english
Include them in your template with code like this:
Code: Select all
{global_content name='Name of Global Content Block'}
2. Ordinary Content Blocks - Div Content can be different through every single page
or to change the content with every page add
Code: Select all
{content block="YOUR FLOATING DIV"}
HOPE that helpes, and sorry for my poor english

Re: using content editor to add text to a custom div
Ah thanks. that has worked perfectly!!!