Re: How to get the publication name - Lenya 2

Rainer Schöpf <[email protected]> Tue, 5 Jun 2012 21:30:49 +0200 (CEST)
Newsgroups gmane.comp.cms.lenya.devel
Message-ID <[email protected]>
On Tue, 5 Jun 2012 at 14:55 +0200, [email protected] wrote:

 > I don't  know if there is an input module or somehting else to get the
 > publicaiton name (not the pubid).

I doubt it. There is

 {page-envelope:publication}

but its toString method returns again the publication id.

However, it would be rather simple to provide, e.g.

 {page-envelope:publication-name}

by adding a few lines of code to the PageEnvelope class.

Or maybe to the DocumentInfo class instead?

  Rainer