EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #10036


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Thesis_type_display


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:
Boice, John Richard (1970) A history and evaluation of the school construction systems development project, 1961-1967. Doctoral thesis, Stanford University.

The name of the thesis is not the way I would expect to see. I expect, instead of ‘Doctoral thesis’ something in the form of ‘Unpublished PhD thesis’. Thus, I set up a field called thesis_type_display in /cfg/cfg.d/eprint_fields_pub.pl:

{              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:
XML::LibXML::Node::appendChild() -- nNode is not a blessed SV reference at /opt/eprints3/perl_lib/EPrints/Language.pm line 288.

So, I am in the process of reverting any other files that I fiddled with and wondered whether there is a straightforward way to deal with this.

 

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