Andreas Hartmann wrote:
Roberto Nunnari wrote:

Hello again..

I just found out that images reference in relative mode
'images/myimage.gif' vs '{$root}/images/myimage.gif'
is not resolved correctly by lenya if the page referencing
it is not a base node but a subnode:

Home --> ok
Test --> ok
  Test01 --> not ok
  Test02 --> not ok

Using {$root}/images/.. is not a problem when you reference
the image from the xslt file (page2xhtml.xslt), but if
you need to reference a resource from menu.xsl it seams
that you cannot use {$root}..

Any thought?


You can use a recursive template to calculate the relative path
to the images URL.

ok.. I'm clearly missing basilar know-how here, as I don't
understand what you're talking about..

would you please
- explain to me what is and how to use a recursive template?
- give me some links that could help me grab the know-how
  I need for working effectively with lenya?

Thank you.



-- Andreas


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



--
               Roberto Nunnari -software engineer-
                    mailto:[EMAIL PROTECTED]
                    http://www.nunnisoft.ch
  Residenza Boschetto 12           tel/fax: +41-91-6046511
  6935 Bosco Luganese        """    mobile: +41-76-3208561
  Switzerland               (o o)
========================oOO==(_)==OOo========================


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

Reply via email to