Gurram, Srinivas wrote:

>
> Hi All
>
> In lenya CMS, the body of the document is generated from xhtml.xml.

Right: in lenya-1.2.x/src/webapp/lenya/pubs/default/publication-sitemap.xmap, we aggregate all the different parts that will build the page:
         <map:part src="cocoon://navigation/{2}/{3}/breadcrumb/{5}.xml"/>
         <map:part src="cocoon://navigation/{2}/{3}/tabs/{5}.xml"/>
         <map:part src="cocoon://navigation/{2}/{3}/menu/{5}.xml"/>
         <map:part src="cocoon://navigation/{2}/{3}/search/{5}.xml"/>
<map:part src="cocoon:/lenya-document-{1}/{3}/{4}/{page-envelope:document-path}"/>

> how can i modify that file in runtime if we want dynamic content.

I am not sure I understand, could you explain a little more? The content from breadcrumb, tabs, ... is created dynamically. If you want to add your own part, add a new <map:part>, and create a new pipeline that matches this <map:part>

HTH,
Renaud

>              could any one help me...........
>
>
> Thanks and Regards,
> Srinivas Gurram.
>
>

--
Renaud Richardet
COO America
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
office +1 857 776-3195                     mobile +1 617 230 9112
renaud.richardet <at> wyona.com              http://www.wyona.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to