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

[EP-tech] Re: Adding a custom field in abstract (I think :))



Hi George,
Try following this training video http://wiki.eprints.org/w/Training_Video:Add_A_Field - around 9 minutes in Adam goes through adding the field to the abstract page (http://yourrepodomain/[0-9]+) .  That should help with your main requirement.

Alan


-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of George Mamalakis
Sent: 21 July 2015 13:16
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Adding a custom field in abstract (I think :))

Hi all,

I've added a custom field in my repository (collections - and, yes, in my context I preferred it over the shelves plugin). I've added this field in my custom advanced search form, and now, I want this field to be shown in the details of an eprint, once the eprint is selected after the search is performed (the items with the url pattern:
http://yourrepodomain/[0-9]+).

I would also like to know how I could add it as a column in the search results as well, but this is more optional.

In case I had to customise the abstract to achieve my goal (because this is where I thought that this view was generated), I tried reading cfg.d/eprint_render.pl, but couldn't understand what to do, and the wiki
(http://wiki.eprints.org/w/HOW_TO:_Add_a_New_Field) was far outdated, at least compared to my version (3.3.14). I also tried the ./cfg/citations/eprint/summary_page.xml (which was proposed by eprint_render.pl's comments), but I didn't seem to find where to start from there either.

Any help would be greatly appreciated!

Thanks all in advance,

George.

PS. There, there Adam, maybe that's another idea for a video? :):):-P.

--
George Mamalakis

IT and Security Officer,
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki), PhD (Aristotle Univ. of Thessaloniki), MSc (Imperial College of London)

School of Electrical and Computer Engineering Aristotle University of Thessaloniki

phone number : +30 (2310) 994379


*** 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/
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.