There is a problem with image drawers and local link drawers in kupu, which shows up when accessing externally mod_rewrite, but not when accessing the site directly and locally through port 8080. the problem relates to two files in the directory: ./lenya/lenya/resources/kupu/apache-lenya/lenya/drawers there are imagedrawer.xsl and linkdrawer.xsl both these have a line in the xsl: <xsl:import href="${parameters.getParameter('import-stylesheet-url')}"/> which when resolved by the xsl engine become: <xsl:import href="http://mytestsite:8080/lenya/kupu/common/kupudrawers/drawer.xsl"/> the xsl arrives on the browser like that and so it can never see the file drawer.xsl through mod_rewrite and not at all if port 8080 or the application server cannot be seen from the outside world.
(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.