2 things in this commit
- npl templates worked well for cloneSubfield, default one didn't. I couldn't understand why, so I ported npl template to default & just updated the stylesheet
- npl templates were awfully indented, so I indented them a little bit
- I thought for months that the idea of 10 tabs passed separately was crazy. So I fixed it : now there is just 1 (ONE) tab described in templates, that is looped by BIG_LOOP. The BIG_LOOP is filled by the build_tabs.
Works the same way as previously, except there is just 1 tab described in templates !!!
Things still to do :
- making cloneTag work correctly
- handle authorities popup, that is broken
- handle authorities reporting, that is broken too.
- ******** IMPORTANT *********
if TemplateEncoding system preference is set to iso8859-1, there are a lot of encoding problems : MARC::File::XML don't like it, as MARC::Record is supposed to work in MARC8 or UNICODE.
Thus, it seems that all accents are transformed in the process html => xml => marc.
Thus, i've reintroduced the html => marc behaviour if the TemplateEncoding is set to iso8859-1
(i've fixed the html2marc as joshua proposed previously, fixing a remaining bug)
This solution is a workaround : we will have to find a correct solution for Koha 3.0, to move every Koha to UNICODE and UNICODE only. But for instance, I tried some things but failed. Thust this solution, that works correctly for french libraries and should change nothing for unicode ones.
- moving color change on Check to the field itself, not to error$i container. error$i container is now useless and removed.
- changing active color to grey, yellow being for mandatory fields.
OPTIONS:
-format <format> MARC, MARCXML [MARC]
-e <encoding> MARC-8 or UTF-8 [UTF-8]
-ignoreerrors Ignore encoding errors
-assumeunicode Assume Unicode when unsure of encoding
-file <filename> Filename to store dump [koha.mrc]
-h This file
EXAMPLES:
\$ ./export.pl --format=MARCXML --encoding=UTF-8 -file=2005-05-23-koha.mrc --ignoreerrors
Once I'm able, I'll include unicode support in this script, or if
someone else has time, feel free. I'd suggest using the new code
in MARC::File::XML for dealing with encoding in UNIMARC
Subscriptions must be entered in as Vol X No. 1 or issue calculation is incorrect
- doc updated on the wiki
- JOSHUA / KADOS / OWEN / KYLE: be carefull your templates have to be modified
Subscriptions must be entered in as Vol X No. 1 or issue calculation is incorrect
- doc updated on the wiki
- JOSHUA / KADOS / OWEN / KYLE: be carefull your templates have to be modified
1. opacuserlogin shows/hides login-based features like reserves, private shelves, and login forms. On by default.
2. opacbookbag shows/hides the book bag (biblio basket). On by default.
1. opacuserlogin shows/hides login-based features like reserves, private shelves, and login forms.
2. opacbookbag shows/hides the book bag (biblio basket)
** HOWEVER! ** The 'hidelostitems' system preference (now that it's working) seems to be affecting both the OPAC and the intranet, even though the description of the preference suggests that it affects only the OPAC.