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

Victor Grousset/tuxayo <[email protected]> changed:

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

--- Comment #40 from Victor Grousset/tuxayo <[email protected]> ---
Created attachment 193497
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193497&action=edit
Bug 40659: Add ability to customize OPACVirtualCard

To test:

1. Turn on the OPACVirtualCard.
2. Log in to the OPAC as a patron and go look at your Library card (
opac-virtual-card.pl )
3. APPLY PATCH, updatedatabase, restart_all
4. Go again at your patron's card on the OPAC ( opac-virtual-card.pl ), it
should look exactly the same.
5. Go to Tools > Notices > VIRTUALCARD
6. You should see the default content for the library card.
7. Play around with different variables from borrower, like [%
borrower.firstname%] and branches, like [% branch.branchcode %]
8. You can also move around the barcode by using the placeholder value [%
my_barcode %].
9. Put the [% my_barcode %] variable anywhere you want in the notice then go to
the sys pref "OPACVirtualCardBarcode".
10. Change to different barcode types and relaod the library card page (
opac-virtual-card.pl ). You should notice the barcode type is being honored.
11. Turn on OPACpatronimages AND patronimages, then upload a patron image for
your patron.
12. Use the [% my_image %] variable anywhere you want in the notice to place
the patron image.
13. Leaving the [% my_image %] variable as is, turn off OPACpatronimages.
14. Reload the OPAC page, no image should display.
15. Delete the VIRTUALCARD notice.
16. Go back to the OPAC page and with the notice deleted you should see the
hardcoded content. ie: the page should look exactly the same as it does without
this patch.

Signed-off-by: Marie Martino <[email protected]>
Signed-off-by: Victor Grousset/tuxayo <[email protected]>

-- 
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