[Bug 28583] New: Temporarily disable CSS and Javascript for pages with variable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28583 Bug ID: 28583 Summary: Temporarily disable CSS and Javascript for pages with variable Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Staff Client Assignee: koha-bugs@lists.koha-community.org Reporter: severine.queune@bulac.fr QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Bug 14004 introduced the ability to temporarily disable added CSS and Javascript in OPAC and interface by adding ?DISABLE_SYSPREF_IntranetUserCSS=1 for example to the url, but it doesn't work for pages referring to specific ids, for example : -https://kohapro.bulac.fr/cgi-bin/koha/circ/circulation.pl?borrowernumber=xxx -https://kohapro.bulac.fr/cgi-bin/koha/catalogue/detail.pl?biblionumber=xxx I thought I was because two '?' in the same url can't be used and try to replace it by '&' but it still doesn't work. -- 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=28583 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |14004 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14004 [Bug 14004] Add ability to temporarily disable added CSS and Javascript in OPAC and interface -- 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=28583 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m Severity|enhancement |normal -- 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=28583 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com --- Comment #1 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- It works for me (master) Setting IntranetUserCSS with body{color:red} http://kohadev-intra.mydnsname.org:8081/cgi-bin/koha/circ/circulation.pl?bor... => All is red http://kohadev-intra.mydnsname.org:8081/cgi-bin/koha/circ/circulation.pl?borrowernumber=5&DISABLE_SYSPREF_IntranetUserCSS=1 => All is black -- 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=28583 --- Comment #2 from Fridolin Somers <fridolin.somers@biblibre.com> --- I dont reproduce in master With IntranetUserCSS : body { background-color:red; } Using : /cgi-bin/koha/catalogue/detail.pl?biblionumber=1&DISABLE_SYSPREF_IntranetUserCSS=1 It works perfect, no red color. -- 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=28583 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Temporarily disable CSS and |Temporarily disable CSS and |Javascript for pages with |Javascript for pages |variable |doesn't work --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Could the difference be related to setup? -- 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=28583 --- Comment #4 from Fridolin Somers <fridolin.somers@biblibre.com> --- Still valid ? -- 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=28583 --- Comment #5 from Fridolin Somers <fridolin.somers@biblibre.com> --- Ahhh I found a case where it does not work. When authentication is mandatory, with preference OpacPublic disabled. The authentication page is aked from C4::Auth::checkauth() and we do not execute the code from Bug 14004 in C4::Auth::get_template_and_user() Do we move code at the beginning of C4::Auth::get_template_and_user() ? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org