Hi Rudolf, yes, my problem is the same as yours. Your solution sounds great - thank you very much for this hint. :-)
trying ... 10 min later ... now it works! How do you access the navigation title of the hidden document? We use the navigation module (http://lenya.apache.org/docu20/standardmodules/navigation.html) and it only delivers the site:link element (which holds the label) for visible items. I solved this by having the node visible but ignore it in the main navigation. Thanks, Gerd rudolf.korhum...@uniklinik-freiburg.de hat am 5. Juni 2012 um 14:55 geschrieben: > 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 >