[Bug 16648] New: Add Content system preferences for all CSS and XSLT sysprefs that accept a URL.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16648 Bug ID: 16648 Summary: Add Content system preferences for all CSS and XSLT sysprefs that accept a URL. Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: System Administration Assignee: koha-bugs@lists.koha-community.org Reporter: barton@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com The following system preferences allow paths to be specified for CSS or XSLT files: NoticeCSS opaclayoutstylesheet OpacAdditionalStylesheet intranetcolorstylesheet intranetstylesheet SlipCSS OPACXSLTDetailsDisplay OPACXSLTResultsDisplay XSLTDetailsDisplay XSLTResultsDisplay This causes administrative headaches, because the CSS or XSLT cannot be stored in the database -- for instance adding 'NoticeCSS' means that a css file must be created and hosted somewhere, and these assets risk being lost on server moves if hosted locally, or are an external point of failure if hosted remotely. I suggest that for each CSS or XSLT path syspref, there should be a corresponding 'Content' variable: -------------------------+---------------------------------+---------------------------------------------- Path Syspref | Content Syspref | Content Path -------------------------+---------------------------------+---------------------------------------------- CSS -------------------------+---------------------------------+---------------------------------------------- NoticeCSS | NoticeCSSContent | cgi-bin/koha/css/NoticeCSS.css opaclayoutstylesheet | opaclayoutstylesheetContent | cgi-bin/koha/css/opaclayoutstylesheet.css OpacAdditionalStylesheet | OpacAdditionalStylesheetContent | cgi-bin/koha/css/OpacAdditionalStylesheet.css intranetcolorstylesheet | intranetcolorstylesheetContent | cgi-bin/koha/css/intranetcolorstylesheet.css intranetstylesheet | intranetstylesheetContent | cgi-bin/koha/css/intranetstylesheet.css SlipCSS | SlipCSSContent | cgi-bin/koha/css/SlipCSS.css -------------------------+---------------------------------+---------------------------------------------- XSLT -------------------------+---------------------------------+---------------------------------------------- OPACXSLTDetailsDisplay | OPACXSLTDetailsDisplayContent | cgi-bin/koha/xslt/OPACXSLTDetailsDisplay.xslt OPACXSLTResultsDisplay | OPACXSLTResultsDisplayContent | cgi-bin/koha/xslt/OPACXSLTResultsDisplay.xslt XSLTDetailsDisplay | XSLTDetailsDisplayContent | cgi-bin/koha/xslt/XSLTDetailsDisplay.xslt XSLTResultsDisplay | XSLTResultsDisplayContent | cgi-bin/koha/xslt/XSLTResultsDisplay.xslt -------------------------+---------------------------------+---------------------------------------------- -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16648 Barton Chittenden <barton@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nengard@gmail.com --- Comment #1 from Barton Chittenden <barton@bywatersolutions.com> --- *** Bug 11884 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16648 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #2 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Barton, as far as I can tell, XSLT's can be URLs and that is handled in XSLT_Handler.pm -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16648 --- Comment #3 from Barton Chittenden <barton@bywatersolutions.com> --- (In reply to Tomás Cohen Arazi from comment #2)
Barton, as far as I can tell, XSLT's can be URLs and that is handled in XSLT_Handler.pm
Tomás, Yes -- I'm relying on the ability to use URLs for either CSS or XSLT. My idea is that the 'content' system preference would provide a resource at a given URL, and then the standard system preferences for CSS or XSLT would use that URL... I think this might have been clearer if bugzilla hadn't decided to re-format my ascii art table ;-). -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16648 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|nengard@gmail.com | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16648 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org