[Koha-bugs] [Bug 31503] Allow several consent types on the consents tab of OPAC account page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 2 10:59:29 CEST 2022


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #140085|0                           |1
        is obsolete|                            |

--- Comment #15 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 140090
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140090&action=edit
Bug 31503: (Experimental) Configurable consent text

This patch allows you to add title and content from the
Additional Contents module but it is still slightly
experimental since we depend on setting the code column
to a value that is not yet supported. Will open a report
for that.

Note however that the template contains a fallback in
case you might not be able to add contents yet.

Test plan:
[1] Add a NEWSLETTER value under AV category PATRON_CONSENT.
[2] Add a PatronConsent record under html customizations. Only
add title and content for Default.
[3] Change code via SQL (awaiting further AC development):
    update additional_contents
        set code='PatronConsent_NEWSLETTER'
    where location='PatronConsent' and idnew=[YOUR_ID]
Note: YOUR_ID refers to the record you added. After this
change, you will be able to add translations under Additional
contents. The code will be copied.
[4] Finally, check patron consent page for your text.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list