Hi all, I think you also could use the "inherit" atrtibute on CMS-out, if you want to edit the stuff on the topmost page and inherit it to the lower pages. The lower pages could then overwrite it by creating content for the same paragraph. This is the procedure I use for example to reuse an icon or a header image on all sub pages.
Example of a paragraph containing an inherited title: <cms:out nodeDataName="groupTitle" inherit="true"/> Cheers claudio ******************************************** IPH Informatik AG Herr Claudio Greuter Lagerhausstrasse 9 8400 Winterthur Switzerland Tel: +41 (0)52 203 26 72 Fax: +41 (0)52 233 94 71 Email: [EMAIL PROTECTED] ******************************************** -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Montag, 6. November 2006 16:55 To: [email protected] Subject: Re: [magnolia-user] Inheritting from home page to all the child pages 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:{we bsite} > ,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 ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
