I've read through much of the discussions on reusing content, but it doesn't
seem to help me in my situation. I would like someone to build a "form"
paragraph, on the home page or another designated page. And that form
becomes the default form for any other instance of a form that is created on
another page.
loadPage is useful only if the form is created on the home page. But it also
inherits ALL paragraphs listed in the contentNodeCollectionName from the
home page. So how do i narrow it down to just using the form paragraph? I
also looked into hierarchyManager(). But that seems to focus on individual
nodeData instead of reusing the whole paragraph. I could be wrong.
Is there another way to do this that allows the code to focus on only one
paragraph in a collection? Or perhaps have a separate, unseen page to create
the default form that is NOT the home page?
<cms:contentNodeIterator
contentNodeCollectionName="corpLanding_leftContent">
<cms:adminOnly>
<cms:editBar deleteLabel="Delete"
moveLabel="Move"/>
</cms:adminOnly>
<cms:includeTemplate/>
</cms:contentNodeIterator>
<cms:adminOnly>
<cms:newBar
contentNodeCollectionName="corpLanding_leftContent"
paragraph="textImageTable,form,telesalesContactInfo"
newLabel="New Column Content"/>
</cms:adminOnly>
<cms:ifEmpty
contentNodeCollectionName="corpLanding_leftContent">
<cms:loadPage path="corporate"/>
<cms:contentNodeIterator
contentNodeCollectionName="corpLanding_leftContent">
<cms:includeTemplate/>
</cms:contentNodeIterator>
<cms:unloadPage/>
</cms:ifEmpty>
--
View this message in context:
http://www.nabble.com/reuse-paragraph-tf4636897.html#a13242811
Sent from the Magnolia - User mailing list archive at Nabble.com.
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------