http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13170 --- Comment #6 from Frédéric Demians <frederic@tamil.fr> --- (In reply to Chris Cormack from comment #5)
Why are we doing this? Instead of using C4::Template::themelanguage ?
Now we still have different behaviour for xslt and for normal templates
themelanguage will never fallback to prog for the opac. however _get_best_defautl_xslt_filename will.
So if have a new theme chrisc theme. And I make all the stuff, but no new xslt file. It will now fall back to prog, instead of bootstrap.
This is a problem as prog no longer exists in the OPAC.
Ok. I see. I forgot to modify _get_best_default_xslt_filename to fall back to 'bootstrap' theme rather than 'prog' for OPAC interface. There is a difference between C4::Template::themelanguage & C4::XSLT::_get_best_default_xslt_filename. 'themelanguage' search tempalates in subdirectories of directory named 'modules'. '_get_best_default_xslt_filename' search XSL file in a subdirectory named 'xslt'. Would you suggest to factorize both functions in one? -- You are receiving this mail because: You are watching all bug changes.