Using the Avery template as an example, we can see that the title, barcode, and itemnumber are included on labels.
The multi-size label sheet follows the same principles as above, but with sections for each label (left-label, center-label, and right-label):
Splitting Call Numbers
Jessie asked a great question about call number splitting! Thank goodness we had an expert web designer on the video with us! Lucas does have a way to split the call number a space or a period. However, if you are a partner of Bywater Solutions and need assistance with this, please submit a ticket! Lucas is happy to help. Here is the code that he added to the template that needed the call number split:
$(document).ready(function () {
$('.label').each(function() {
let theText = $(this).text();
let theNewText = theText.trim().replace(/\s+/g, '
').replace('.' , '
.');
$(this).html(theNewText);
})
});
This code was added into the template- here is a look at the entire code of the template to get a better understanding of where it goes:
[% FOREACH item IN items %]
[% IF loop.index % 1 == 0 %]
[% SET label_index = 1 %]
[% UNLESS loop.first %]
[% END %]
[% END %]
[% item.marc.subfield('949','a') %]
[% IF loop.last %][% END %]
[% SET label_index = label_index + 1 %]
[% END %]
$(document).ready(function () {
$('.label').each(function() {
let theText = $(this).text();
let theNewText = theText.trim().replace(/\s+/g, '
').replace('.' , '
.');
$(this).html(theNewText);
})
});