Allan Boyd wrote:
Hi,
I have just started playing with Magnolia. I have created the helloworld
template and a page to use this template also called helloworld and this works
fine.
Then I decided I wanted to add my own paragraph. So I created a paragraph
template called orderedList and put this under the templating/paragraphs node
in a folder called tmp.
It's better to do this under /modules/yourmodule/paragraphs.
Next I am trying to figure out how to use the paragraph template to put a
paragraph that is an ordered list into my helloworld page.
Use the cms tags for this, not the JCR Browser.
<cms:contentNodeIterator contentNodeCollectionName="mainColumnParagraphs">
<cms:editBar adminOnly="true" />
<cms:includeTemplate />
</cms:contentNodeIterator>
<cms:newBar
adminOnly="true"
contentNodeCollectionName="mainColumnParagraphs"
paragraph="tmp" />
Cheers
Philippe
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------