Hello,
We are using Koha 3.00.04.
In the intranet "normal" view of a biblio we needed to differentiate the
additional authors whether they are personal, corporate or conference
ones (Marc 700, 710 or 711). To achieve this I had to include this
information in the structure returned by the method "GetMarcAuthors" of
the file lib/C4/Biblio.pm.
Line 1472:
push @subfields_loop, {* tag=> $field->tag() *,code => $subfieldcode,
value => $value, link_loop => \...@this_link_loop, separator => $separator}
unless ($authors_subfield->[0] eq '9' );
Then in the template file (catalogue/detail.tmpl) I could add something
like this:
<TMPL_IF EXPR="tag == 700"><strong>Personal:</strong>
<!-- TMPL_ELSE --><TMPL_IF EXPR="tag ==
710"><strong>Organization:</strong>
<!-- TMPL_ELSE --><TMPL_IF EXPR="tag ==
711"<strong>Conference:</strong>
<!-- TMPL_ELSE --><strong>Type "<!-- TMPL_VAR NAME="tag"
-->":</strong>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
Is it okey or Is there an easier and not that intrusive way of doing it?
Regards,
Toni
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel