On Wed, 2009-09-02 at 14:39 -0700, Chris Pratt wrote:
> 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

Would not it be better to use data module rather then creating a bogus
pages to keep together bunch of paragraphs that you might want to
include in some other random pages?
When you define data type in the data module, you can also define the
dialog with whatever custom fields you want and you don't need to have
any templates.
So later when you want to use such a chunk of content stored in the data
module, all you do is create a paragraph with only one control - link
(or uuidLink) where user can select the chunk from the data module they
want and the paragraph template just fetches the content and displays
it. Since you have a path (or uuid) to the content all you need to do
when retrieving it is not to forget to specify also repository "data".

HTH,
Jan

>  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*)
-- 
Best regards,

Jan Haderka
Magnolia International Ltd.

Meet us at the Magnolia Conference
http:/www.magnolia-cms.com/conference

Magnolia®  - Simple Open Source Content Management


----------------------------------------------------------------
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