Bug 30647

Summary: Add note to affected system preferences for temporarily disabling CSS and Javascript
Product: Koha Reporter: Barbara Johnson <barbara.johnson>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Note for disabling CSS

Description Barbara Johnson 2022-04-28 14:22:46 UTC
Bug #14004 added the ability to temporarily disable CSS and Javascript in the OPAC and staff client so that you can test your code.  However, I can never remember the string I'm supposed to add to the end of the url - which means I have to go look for it or don't bother because it takes me too much time.  I was thinking it might be handy to add a note to each of the sys prefs (see below) that this can be used with. 

/cgi-bin/koha/opac-main.pl?DISABLE_SYSPREF_OPACUserCSS=1
/cgi-bin/koha/opac-main.pl?DISABLE_SYSPREF_OPACUserJS=1
/cgi-bin/koha/mainpage.pl?DISABLE_SYSPREF_IntranetUserCSS=1
/cgi-bin/koha/mainpage.pl?DISABLE_SYSPREF_IntranetUserJS=1
/cgi-bin/koha/opac-main.pl?DISABLE_SYSPREF_OpacAdditionalStylesheet=1
/cgi-bin/koha/opac-main.pl?DISABLE_SYSPREF_opaclayoutstylesheet=1
/cgi-bin/koha/mainpage.pl?DISABLE_SYSPREF_intranetcolorstylesheet=1
/cgi-bin/koha/mainpage.pl?DISABLE_SYSPREF_intranetstylesheet=1

I added a screenshot of what might work.
Comment 1 Barbara Johnson 2022-04-28 14:24:00 UTC
Created attachment 134271 [details]
Note for disabling CSS
Comment 2 Katrin Fischer 2022-04-28 14:25:33 UTC
I like the idea - maybe using the *BaseURL parameters we could even provide a direct/example link?
Comment 3 Barbara Johnson 2022-04-28 14:31:14 UTC
Great idea!