Hi everyone,

Lenya 1.2.4, using Tomcat.

Are there any absolute path variables to make use of in Lenya, or can I create
some?  I'm trying to customize the menu using menu.xsl in the
pub_dir/lenya/xslt/navigation/ directory, however I don't know how to reference
an image properly that is located in the resources directory (because I want a
background image).  I've tried:

<xsl:template name="item-root">
<div style="background-image:url(../shared/images/test.gif);">
<a href="[EMAIL PROTECTED]"><xsl:apply-templates select="nav:label"/></a></div>
</xsl:template>

Now this does work if I'm on a root page, however once I start going to sub
pages it breaks.  I'd need to do something like ../../ in that case.  Of course,
then the other levels break.  Is there a global absolute path I could use to
reference my "shared" directory within the resources?

Any help we be very appreciated.

P.S ... I looked in the documentation, and on the solprovider site, however I
can't seem to find how to do this.  Solprovider has some variable info,
therefore I may be misunderstanding something.


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

Reply via email to