EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #10039
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
RE: [EP-tech] Thesis_type_display
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: RE: [EP-tech] Thesis_type_display
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Thu, 13 Mar 2025 08:59:30 +0000
CAUTION: This e-mail originated outside the University of Southampton.
Hi Will, Does your repository have a ‘thesis_type’ and a ‘thesis_name’ field? If so, does the thesis_name field contain the values you would expect to see in the citation? The citation files in EPrints allow you to change which fields are displayed for an item. There can be specific citations for e.g. search results pages. If you haven’t looked at [EPRINTS_ROOT]/flavours/pub_lib/citations/eprint/default.xml yet, now is probably the time! By default, that file has logic to deal with all the default item types that EPrints supports, so look through the file for mentions of ‘thesis’. If your repository only has theses in it, then you could make a much simplified version of that file, which only deals with the fields you are using and want to display in the citarion. When you make the initial copy of the file, you will need to reload Apache for it to find the file. After that, any changes in the citation XML should be picked up automatically. It’s good to check any edits you make are valid XML – if
not, EPrints will not show the changes – but you should see details in your Apache error log. Let me know if you need any more pointers on the citation files! Cheers, John From: eprints-tech-request@ecs.soton.ac.uk
<eprints-tech-request@ecs.soton.ac.uk> On Behalf Of Will Hughes
CAUTION:
This e-mail originated outside the University of Southampton. CAUTION:
This e-mail originated outside the University of Southampton. Hi I wonder if anyone can help with this puzzle. It has been exercising me all afternoon and I am getting lost in the detail. I am trying to create a field called thesis_type_display. The purpose is to give a properly formed citation for any reference to a thesis. Currently, I see something like this example: { name => 'thesis_type_display', type => 'text', }, I also set up a phrase in /cfg/cfg.d/zz_webcfg.xml: <epp:phrase id="eprint_fieldname_thesis_type_display">Thesis type display</epp:phrase> (which appears in my Admin/Phrase editor) And I have been struggling in the workflows and renders to get this to replace the current variable thesis_type in the presentation of a citation. I have no ended up with a rather difficult error when I click through to view an item: Thanks in advance Best wishes
Will Will Hughes Emeritus Professor of Construction Management and Economics
School of the Built Environment University of Reading, PO Box 219, Whiteknights
Reading, RG6 6DF, UK
|
- References:
- [EP-tech] Thesis_type_display
- From: Will Hughes <w.p.hughes@reading.ac.uk>
- [EP-tech] Thesis_type_display
- Prev by Date: Re: [EP-tech] Help with redirect loops in EPrints 3.3.16
- Next by Date: RE: [EP-tech] Help with redirect loops in EPrints 3.3.16
- Previous by thread: [EP-tech] Thesis_type_display
- Next by thread: Re: [EP-tech] Thesis_type_display
- Index(es):