https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35716
--- Comment #8 from David Cook <[email protected]> --- Koha code organisation (or lack thereof) is one of my pet peeves/favourite topics, so keen to put in my 2 cents! (I'm sorry in advance haha.) -- If we have a /kohadevbox/koha/koha-tmpl/shared-tmpl, then it will just work for dev/git deployments, because DocumentRoot for both OPAC and Staff Interface is /kohadevbox/koha/koha-tmpl For other installations like package installs, the DocumentRoot is different: DocumentRoot /usr/share/koha/opac/htdocs DocumentRoot /usr/share/koha/intranet/htdocs But there are options. One of them is a Make approach (coded using Makefile.PL). Another option is symlinks. Another option is Apache configuration. We could modify the following files: /etc/koha/apache-shared-opac.conf /etc/koha/apache-shared-intranet.conf We'd just need to add the following: Alias /shared-tmpl /usr/share/koha/<wherever we want to install shared-tmpl> Consider this URL path: /intranet-tmpl/lib/jquery/jquery-ui-1.13.2.min_23.1200019.css That could easily be something like /shared-tmpl/lib/jquery/jquery-ui-1.13.2.min_23.1200019.css -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
