Hi Michael, as far as know you can't have instance specific template files (.inc. .tt) the same way as the configuration files. In theory you could try and set up your own theme for them. Koha should fall back to the standard theme for files not existing in yours, so that could be an option, but will always require continuous maintenance. And then there is also translations to worry about. I'd probably try to do the change in a way that doesn't affect your other instances visibly and still has them using the same code. For example by using a locally defined system preference or CSS to switch things off and on. Or maybe your new facet would be interesting as an addition to Koha itself? Best wishes, Katrin On 21.06.20 18:15, Michael Kuhn wrote:
Hi Katrin and Tomas
Thanks for the information!
I have studied the comments on bug 12216, especially https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12216#c4 and the attachment https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41304&action=diff
The profilePath looks like: /etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/xsl
Tomas wrote: "You can put the config files in the instance site directory."
This seems to be true for the following files:
* /etc/koha/zebradb/biblios/etc/bib.att * /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml * /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
But what about the following files that reside elsewhere? We need to change some stuff in them to make the changes of the Zebra configuration visible, but only for one of the two instances:
* /etc/koha/zebradb/ccl.properties * /usr/share/koha/lib/C4/Koha.pm * /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/includes/facets.inc * /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/includes/search_indexes.inc * /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/de-DE/includes/opac-facets.inc * /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/de-DE/modules/opac-advsearch.tt
Best wishes: Michael