[Koha] Question on path for custom xsl files (OPAC and Staff client)

Katrin Fischer katrin.fischer.83 at web.de
Sun Nov 13 00:09:50 NZDT 2022


Hi Anke,

I think it should work as long as the directory is accessible.

Did you adapt the import paths in your XSLT files? If the file was not
found, that will give you an error:

|<xsl:import href="MARC21slimUtils.xsl"/>|

Did you see an error in the logs with your custom paths?

Hope this helps,

Katrin

On 10.11.22 16:49, Bruns, Anke wrote:
> Hi,
>
> thanks, but we tried just that, and it seems that the files must be somewhere below
>> /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/{langcode}/xslt/ resp.
>> /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/{langcode}/xslt/
> - where the default Koha files also sit.
>
> We tried (for the OPAC) a path below:
> /usr/share/koha/opac/htdocs/<our_directory>/
>
> and it didn't work. The parameters OPACXSLTDetailsDisplay and OPACXSLTResultsDisplay didn't seem to accept our custom path. (I'll stick to the OPAC part of my request for now, to simplify matters. My problem applies to the Intranet as well).
>
> So I repeat my question: Is there any rule what paths are possible for our own xsl files/settings?
>
> Thanks and best regards,
> Anke
>
>
>
>


More information about the Koha mailing list