[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Customising eprint_render.pl

Hi George

	It sounds like you've done the right thing?  Can you tell me exactly how you made the change?  Paste bits of code into the email, and I'll be happy to take a look.  I'd like to see:

		* The field configuration of your new fields
		* The relevant parts of eprint_render.pl


Adam Field
Business Relationship Manager and Community Lead
EPrints Services
+44 (0)23 8059 8814

On 8 Apr 2015, at 09:48, George Macgregor wrote:

> Hello colleagues!
> We recently migrated from 3.2.5 to 3.3.13. I am just working through a list of minor customisations I would like to make but I appear to have encountered a silly issue while modifying eprint_render.pl and summary_page.xml.
> I am attempting to modify the abstract pages as there are a couple of additional metadata fields I would like to display, if populated.  I therefore added them to eprint_render.pl, reloaded the configuration and regenerated the abstract pages.  The additional fields are displaying as they should, if they are populated (great); but where they are not populated the field is displayed as empty.  In summary_page.xml I notice that there appears to be a conditional rule to control for this.  Am I missing something obvious?  Can anyone point me in the right direction?  I notice similar questions being posed on this list in the past but with no responses.  
> Thanks in advance!
> George
> ----------------------------------
> George Macgregor | Information Services Directorate
> Curran Building | University of Strathclyde
> Tel: 0141 548 3496
> Email: george.macgregor at strath.ac.uk
> Web: http://personal.strath.ac.uk/george.macgregor/ 
> ----------------------------------
> The University of Strathclyde is a charitable body, registered in Scotland, with registration number SC015263
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/