Hi Salman,

In your template, surround the bit that you want repeated throughout your
site with the <cms:loadPage> and <cms:unloadPage> tags. E.g.,

<h2>Latest News</h2>
<cms:loadPage path="/home">
    ...the usual stuff for editing, creating, deleting content...
</cms:loadPage>

<h2>The Rest of my Content</h2>
Blah blah blah...

See http://magnolia.sourceforge.net/30/magnolia-taglib-cms/tagreference.html
for information on the use of the tags. (If you haven't already, walking
through the Templater's Quick Start will get you going on creating
templates: <http://magnolia.sourceforge.net/30/qs/01_introduction.html> )

Sean

On 11/6/06 9:49 AM, "Salman Elahi" <[email protected]> wrote:

>  
> Dear all,
> 
> I have added a piece of text on the home page which I want to appear on every
> child page. Its just like Updates or News usually appearing on the home page,
> while I want them on every page. I have added a "ightColumnParagraphs" with
> "ampleRightColumn" to achieve this on the home page. I want every it to be on
> every new page I create or I have already without doing it manual editing on
> each page. Any suggestions...?
> 
> This is how it appears in the exported xml file:
> 
> <sv:node sv:name="rightColumnParagraphs">
> ?
> <sv:property sv:name="jcr:primaryType" sv:type="Name">
> <sv:value>mgnl:contentNode</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="jcr:mixinTypes" sv:type="Name">
> <sv:value>mix:versionable</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="jcr:uuid" sv:type="String">
> <sv:value>c39e7a44-945b-4525-bf1d-0e660c6e33a8</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="jcr:isCheckedOut" sv:type="Boolean">
> <sv:value>true</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="jcr:created" sv:type="Date">
> <sv:value>2006-10-12T09:27:47.416+01:00</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="mgnl:uuid" sv:type="String">
> <sv:value>8a7bbdb4-59cb-11db-978a-61f0713dfc77</sv:value>
> </sv:property>
> ?
> <sv:node sv:name="MetaData">
> ?
> <sv:property sv:name="jcr:primaryType" sv:type="Name">
> <sv:value>nt:file</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="jcr:created" sv:type="Date">
> <sv:value>2006-10-12T09:27:47.416+01:00</sv:value>
> </sv:property>
> ?
> <sv:node sv:name="jcr:content">
> ?
> <sv:property sv:name="jcr:primaryType" sv:type="Name">
> <sv:value>nt:unstructured</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="Data" sv:type="String">
> <sv:value>MetaData</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="creationdate" sv:type="Date">
> <sv:value>2006-10-12T09:27:47.416+01:00</sv:value>
> </sv:property>
> </sv:node>
> </sv:node>
> ?
> <sv:node sv:name="0">
> ?
> <sv:property sv:name="jcr:primaryType" sv:type="Name">
> <sv:value>mgnl:contentNode</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="jcr:mixinTypes" sv:type="Name">
> <sv:value>mix:versionable</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="jcr:uuid" sv:type="String">
> <sv:value>3baf05f4-1ecd-4715-a954-5dadcba228df</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="jcr:isCheckedOut" sv:type="Boolean">
> <sv:value>true</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="mgnl:uuid" sv:type="String">
> <sv:value>8a7bbdb5-59cb-11db-978a-61f0713dfc77</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="paragraph" sv:type="String">
> <sv:value>samplesRightColumn</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="jcr:created" sv:type="Date">
> <sv:value>2006-10-12T09:27:47.416+01:00</sv:value>
> </sv:property>
> ?
> <sv:property sv:name="text" sv:type="String">
> ?
> <sv:value>
> Pic of the calendar <a
> href="${link:{uuid:{17b74cab-5543-11db-afe3-17c31a5382df},repository:{website}
> ,workspace:{default},path:{/index/rf_publications}}}">here</a>
> </sv:value>
> </sv:property>
> ?
> <sv:property sv:name="title" sv:type="String">
> <sv:value>New - 2007 Calendar</sv:value>
> </sv:property>
> 
> Cheers,
> 
> Salman
> 
----------------------------------------------------------------
for list
> details 
> see
http://www.magnolia.info/en/magnolia/developer.html
----------------------
> ------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to