https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31642

Marcel de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Additional contents: Allow  |Control locations for HTML
                   |free text in location field |customizations from new
                   |for html blocks             |table or Authorised values

--- Comment #1 from Marcel de Rooy <[email protected]> ---
Coming back here after some time, I think that we could move this report in the
following direction: Control locations for HTML customizations from new table
or Authorised values.

[1] A new table could have volumns like id, name. And needs a nice little
associated Administration form.
This table should also have a boolean field like is_system_location in order to
make a distinction between custom locations and system locations. System
entries should not be edited or deleted?
Also it might have a field that shows if it should be grouped/sorted under
OPAC, Staff or ...? See also below current template code.

This would affect existing HTML template code like:

        [% SET opac_available_options = [ 'OpacNavRight', 'opacheader',
'OpacCustomSearch', 'OpacMainUserBlock', 'opaccredits',
'OpacLoginInstructions', 'OpacNav', 'OpacNavBottom',
'OpacSuggestionInstructions', 'ArticleRequestsDisclaimerText',
'OpacMoreSearches', 'OpacMySummaryNote', 'OpacLibraryInfo',
'OpacMaintenanceNotice', 'OPACResultsSidebar', 'OpacSuppressionMessage',
'SCOMainUserBlock', 'SelfCheckInMainUserBlock', 'SelfCheckHelpMessage',
'CatalogConcernHelp', 'CatalogConcernTemplate', 'CookieConsentBar',
'CookieConsentPopup', 'PatronSelfRegistrationAdditionalInstructions',
'ILLModuleCopyrightClearance' ] %]

        [% SET staff_available_options = [ 'IntranetmainUserblock',
'RoutingListNote', 'StaffAcquisitionsHome', 'StaffAuthoritiesHome',
'StaffCataloguingHome', 'StaffListsHome', 'StaffLoginInstructions',
'StaffPatronsHome', 'StaffPOSHome', 'StaffSerialsHome' ] %]


[2] Note that we could read them from Authorized values too but then we dont
have additional fields like is_system, is_staff.
We could address that by reading from three AV categories: OPAC system, Staff
system and Local customizations.
It would remove the need for yet another admin form.

-- 
You are receiving this mail because:
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/

Reply via email to