Hi,
Simply use this in your JSP template :
<cms:contentNodeIterator
contentNodeCollectionName="myParagraphs">
<div style="clear:both;">
<cms:editBar adminOnly="true" />
<cms:includeTemplate />
</div>
</cms:contentNodeIterator>
<cms:adminOnly>
<div style="clear:both;">
<cms:newBar contentNodeCollectionName="myParagraphs"
paragraph="springActionParagraph,wppubEditor,wppubEditorTwoColumns " />
</div>
</cms:adminOnly>
where you replace " springActionParagraph,wppubEditor,wppubEditorTwoColumns" by
the paragraph names you want to use.
Hope this helps,
Françoise
--------------------------------------------------------
Françoise Gérard ([email protected] )
Senior Consultant
BSB Luxembourg (www.bsb.com)
7A, rue des MérovingiensZ.A.I. Bourmicht - L-8070 Bertrange
T:+352 47 57 39 56 - F:+352 47 57 39 99
--------------------------------------------------------
BUSINESS SOLUTIONS BUILDERS DISCLAIMER
This e-mail message and any attachments are intended exclusively for the
addressee(s) and may contain information which is confidential and/or protected
by intellectual property rights. If you receive this e-mail by mistake, please
notify immediately the sender, or Business Solutions Builders (by e-mail at
[email protected]), and delete the message and any attachments without
printing, copying or opening it. Any disclosure, reproduction, distribution or
use of this message or any attachments, by persons other than the designed
addressee(s), is strictly prohibited. E-mail transmission and Internet use
cannot be guaranteed to be secure. Business Solutions Builders and its
subsidiaries cannot be held responsible for any loss, delay or damage arising
from their use.
--------------------------------------------------------
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Stefan Hildebrand
Sent: lundi 26 janvier 2009 11:15
To: [email protected]
Subject: [magnolia-user] How to use custom paragraphs instead of the sample
paragraphs
Hello!
I just installed the Magnolia Tomcat Bundle 3.6 including the sample
Application.
I copied the sample Template I want to use from /samples/templates to
/modules/templating/templates.
I created a new Paragraph in /modules/templating/paragraphs.
Now I want to use this paragraph in my template.
When I create a new paragraph on the website only the sample paragraphs are
available.
How can I configure which paragraphs should be available in my template?
Thanks for your help!
Stefan
--
NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL
für nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------