Hi Gerd,

I don't  know if there is an input module or somehting else to get the
publicaiton name (not the pubid).
But maybe your problem is like ours for which we have an different
solution.
We wated to use the publicaiton name as headline..
Now we use the navigation title of a hidden document i.e -pubname to
provide this information.
The advatage is, that we can have names in different languages and leave it
up to the edior to change it.
You can find an example at http://ims.uniklinik-freiburg.de.

HTH

Rudolf

Gerd Schrick <m...@schrick-design.de> schrieb am 05.06.2012 11:40:13:

> Von: Gerd Schrick <m...@schrick-design.de>
> An: dev@lenya.apache.org
> Datum: 05.06.2012 11:40
> Betreff: How to get the publication name - Lenya 2
>
> Dear Lenya Devs,
>
> I want to use the name of the publication (as set in {pub-id}/
> config/publication.xml) in my page2xhtml.xsl.
> Is there a 'simple' way (like an input module?) to read this config-
> value in the publication sitemap.xmap to pass it as parameter to the
> xslt-transformation?
>
> My intention is to use templating and the layout should reflect the
> publication name without the need to edit/overwrite something in the
> file system.
>
> Thanks a lot in advance,
>  Gerd


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lenya.apache.org
For additional commands, e-mail: dev-h...@lenya.apache.org

Reply via email to