Dear Koha devs, I'm working on Bug 7413 and one thing I want to do is modify opac-user.tt. I noticed that there are two versions of it: koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt The later doesn't seem to be used, at least by my install. Do I need to modify both, or just bootstrap? Is there a way to switch bootstrap off, so that I can test changes in the other one? Thanks Holger
Prog will be deprecated in near future. But you could make patches for both. Switching by change theme in prefs. -----Oorspronkelijk bericht----- Van: koha-devel-bounces@lists.koha-community.org [mailto:koha-devel-bounces@lists.koha-community.org] Namens Holger Meissner Verzonden: donderdag 23 januari 2014 11:12 Aan: koha-devel@lists.koha-community.org Onderwerp: [Koha-devel] opac-user.tt Dear Koha devs, I'm working on Bug 7413 and one thing I want to do is modify opac-user.tt. I noticed that there are two versions of it: koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt The later doesn't seem to be used, at least by my install. Do I need to modify both, or just bootstrap? Is there a way to switch bootstrap off, so that I can test changes in the other one? Thanks Holger _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Greetings,
I want ... modify opac-user.tt Do I need to modify both [prog and bootstrap], or just bootstrap?
When generating a patch, the bootstrap one is required, as it is the default theme as of 3.14. If your patch can apply against earlier versions 3.12.x, etc., then you may wish to do prog as well. I believe the recommendation that has been given is to split theme specific portions into a different commit. So, no, you don't need to do both, but if you have the time and desire, both would be good.
Is there a way to switch bootstrap off, so that I can test changes in the other one?
Log into staff client Click 'Koha administration' Click 'Global system preferences' Click the 'OPAC' tab on the left hand side Scroll down to to 'opacthemes'. Change as desired. Have fun coding! :) GPML, Mark Tompsett
participants (3)
-
Holger Meissner -
Marcel de Rooy -
Mark Tompsett