From: Demian K. <dem...@vi...> - 2012-06-28 12:18:11
|
I don't think this has anything to do with VuFind -- VuFind will display the full description regardless of length. If you look at your staff view page, you can see here that the original MARC record has a truncated description: http://www.katzenbibliothek.de/Record/1373/Details#tabnav Is it possible that your MARC export is truncating the text? - Demian > -----Original Message----- > From: Stephanie Funk [mailto:ste...@gm...] > Sent: Wednesday, June 27, 2012 4:09 PM > To: vuf...@li... > Subject: Re: [VuFind-General] suggestions/advice about formatting repeated > fields in VuFind > > > What do I have to do, if I want to make the field bigger? Because some of my > descriptions are a little bit longer. At the moment you can only see three > lines, like here: > http://www.katzenbibliothek.de//Record/1373/Description#tabnav > > Is it possible, that the field adapts to the content? If yes, please tell me > exactly how to do. ;-) > > -Steffi > > > Demian Katz wrote: > > > > Right now, the default behavior is to show only the first summary on the > > record display screen and to show all of the descriptions in the > > Description tag separated by line breaks. > > > > If you want to change the display of the descriptions in the Description > > tab, this is a fairly easy fix. There is a file called > > web/interface/themes/[your_theme]/RecordDrivers/Index/extended.tpl which > > controls the contents of the Description tab. (Replace [your_theme] with > > the theme you have chosen - probably blueprint if you are running the > > latest 1.3 release, but default in earlier versions). In this file, there > > is a block of code like this: > > > > {if !empty($extendedSummary)} > > {assign var=extendedContentDisplayed value=1} > > <tr valign="top"> > > <th>{translate text='Summary'}: </th> > > <td> > > {foreach from=$extendedSummary item=field name=loop} > > {$field|escape}<br/> > > {/foreach} > > </td> > > </tr> > > {/if} > > > > The key piece is inside the {foreach} loop, which determines how each > > description will be displayed. You could adjust this code to turn it into > > a nested <ul>, or to put multiple line breaks after each entry, or to > > enclose things inside a <p> with a class that you could apply CSS to, or > > you could prefix with a • entity, or... the options are endless. > > > > If you want to change the way the summary is displayed on the main record > > view, it's a little more complicated - but I'll be happy to give some > > suggestions if you need them. Let me know. > > > > Also note that if you decide to customize this template, you can edit it > > in place, but you might prefer to create your own theme, copy the file > > into the new theme, and edit it there - this makes it a little easier to > > keep track of which files you have changed. See the wiki page on theme > > inheritance (http://vufind.org/wiki/customization#theme_inheritance) for > > more details if you are interested. > > > > I hope this is helpful, but please let me know if you have further > > questions on the subject. > > > > - Demian > > > > From: Zoe Friedlander [mailto:zfr...@os...] > > Sent: Thursday, March 15, 2012 7:04 PM > > To: 'vuf...@li...' > > Subject: [VuFind-General] suggestions/advice about formatting repeated > > fields in VuFind > > > > Hi, some of the records that I'm putting in VuFind have multiple 520 > > (Summary) fields. In the web display, they are formatting as a single > > paragraph on the record display screen, or as a single <td> under the > > Description tag. I would like each 520 to be bulleted if possible, or at > > minimum to be able to separate the different 520s from each other. > > Suggestions on how I could do that? I'm just getting off the ground with > > VuFind. > > > > Thank you very much. > > > > > > Zoe Friedlander * Systems Librarian * Margaret Herrick Library > > ---------------------------------------------------------------------------- > -------------- > > Academy of Motion Picture Arts and Sciences * Tel 310-247-3036 x2239 * Fax > > 310-657-5193 * www.oscars.org<http://www.oscars.org/> * zfriedlander > > @oscars.org > > > > > > ---------------------------------------------------------------------------- > -- > > This SF email is sponsosred by: > > Try Windows Azure free for 90 days Click Here > > http://p.sf.net/sfu/sfd2d-msazure > > _______________________________________________ > > VuFind-General mailing list > > VuF...@li... > > https://lists.sourceforge.net/lists/listinfo/vufind-general > > > > > > -- > View this message in context: http://old.nabble.com/suggestions-advice-about- > formatting-repeated-fields-in-VuFind-tp33513992p34082709.html > Sent from the vufind-general mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general |