Page 1 of 1

[solved]How to position new content within template?

Posted: Mon Aug 22, 2011 5:27 pm
by RyanC
Hi,
I have a template set up something like this:

(start predefined template elements)

<div class="new content"></div>

(end predefined template elements)

How do I get the new content to go between the template elements? As of now, whenever I add new content to a page, the content goes to the top of the document, it is not within the flow of the html elements.

Thanks for any help

Re: How to position new content within template?

Posted: Mon Aug 22, 2011 10:43 pm
by Jos
I guess I don't understand the question... but will this do?

Code: Select all

(start predefined template elements)

<div class="new content">{content}</div>

(end predefined template elements)

Re: How to position new content within template?

Posted: Wed Aug 24, 2011 12:08 am
by RyanC
Thanks Jos, wasn't sure about the {content} by itself.

I found a way to do it like this, {content block="putStuffHere"}
in the template. That way there is always an empty space to put content on each new page. Otherwise it was appearing outside of the actual template, not in the template.