Summary: | [Kupu] XSL arriving to the browser with potentially invalid absolute links rather than relative links | ||
---|---|---|---|
Product: | Lenya | Reporter: | lendev7492 |
Component: | Kupu Integration | Assignee: | Lenya Developers <dev> |
Status: | RESOLVED WONTFIX | ||
Severity: | major | ||
Priority: | P2 | ||
Version: | 1.2.2 | ||
Target Milestone: | 1.2.6 | ||
Hardware: | PC | ||
OS: | Linux |
Description
lendev7492
2005-03-08 21:17:41 UTC
(In reply to comment #0) > both these have a line in the xsl: > <xsl:import > href="${parameters.getParameter('import-stylesheet-url')}"/> can you try replacing it with <xsl:import href="../../common/kupudrawers/drawer.xsl"/> Thanks for the pointer. I tried it but unfortunately it didn't work; however I fiddled around a bit and found that using: <xsl:import href="../../../../kupu/common/kupudrawers/drawer.xsl"/> worked for me. (In reply to comment #2) > > <xsl:import href="../../../../kupu/common/kupudrawers/drawer.xsl"/> > > worked for me. Actually I find I have to use: <xsl:import href="/lenya/kupu/common/kupudrawers/drawer.xsl"/> since the authoring page is actually relative to the published page, while the location of the drawer is fixed, so navigating with ../.. won't work every time when your site is more than one menu level deep. does not apply to 1.4 iiuc. Kupu will not be supported in future versions. |