Bug 30647 - Add note to affected system preferences for temporarily disabling CSS and Javascript
Summary: Add note to affected system preferences for temporarily disabling CSS and Jav...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-28 14:22 UTC by Barbara Johnson
Modified: 2022-04-28 14:31 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Note for disabling CSS (13.79 KB, image/png)
2022-04-28 14:24 UTC, Barbara Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
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!