Hi Chris,

We were able to get this working using path

<cms:loadPage path="/pathtopagecontainingcontent"/>
                <cms:contentNodeIterator 
contentNodeCollectionName="specificcontentonthatpage">
                                <cms:includeTemplate/>
                </cms:contentNodeIterator>
<cms:unloadPage/>

It gets more complex if you're trying to dynamically retrieve the path but I'm 
sure you can do it using <cms:out variations to get the path to the handle of 
the UUID.

Cheers,

Brent

From: [email protected] 
[mailto:[email protected]] On Behalf Of Chris Pratt
Sent: Thursday, 3 September 2009 7:39 AM
To: Magnolia User-List
Subject: [magnolia-user] Boilerplate Text

We're using 3.6.3 and our users want to be able to essentially create reusable 
chunks of text that they can drop on pages, as needed.  I've been trying to 
figure out a way to create a Paragraph that can somehow inject a page defined 
in the website context into the current page, but no matter what I try, it just 
doesn't work.  What I've tried is creating a boilerplateDialog with a link 
(I've also tried uuidLink) field that refers to the page I want to inject.  In 
the boilerplate.jsp paragraph template I've tried:

<cms:setNode var="node"/>

<jsp:insert page="${node.link}"/>

<c:import url="${node.link}"/>

<cms:loadPage templateName="${node.page}">  <!-- I've tried every combination 
of attributes I can think of -->
<cms:contentNodeIterator>
  <cms:includeTemplate/>
</cms:contentNodeIterator>
<cms:unloadPage/>

If there's a better way to give the users the same functionality I'm all for 
it.  Otherwise is there a way to make this scheme work?
  (*Chris*)

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to