Re: How to set parameter in order to use it publication sitemap ?

Andreas Hartmann <[email protected]>
Newsgroups gmane.comp.cms.lenya.devel
Message-ID <[email protected]>
Hi Gaurav,

Am 12.07.10 13:14, schrieb Gaurav Kalia:
> I want to set a parameter for a publication which should be accessible
> in publication sitemap. But I want this parameter to be configured from
> the CMS area as well.

the propertiesdocument module fits this purpose:

https://svn.apache.org/repos/asf/lenya/docu/modules/propertiesdocument

Let me know if you need more info.

> To achieve this I have written a usecase. I can
> create a new xml file for this purpose from where i can read and write
> the changes but that will not be accessible in publication sitemap.
>
> I want to get that parameter in the matcher so that I can change the
> flow accordingly.
>
> For example:
>
> I would like to achieve something like language parameter, which is
> accessible anywhere in the publication by using {page-envelope: ...}

We could add an input module to the propertiesdocument module for this 
purpose. A patch would be very welcome. Let me know if you need assistance.

HTH,

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.