[EP-tech] Re: How to make related URLs appear as text links and not bare URLs?
A.Birchall at mdx.ac.uk
Fri Apr 27 11:40:05 BST 2012
In eprint_fields.pl, there is this stanza:
> 'name' => 'related_url',
> 'type' => 'compound',
> 'multiple' => 1,
> 'render_value' => 'EPrints::Extras::render_related_url',
> 'fields' => [
> 'sub_name' => 'url',
> 'type' => 'url',
> 'input_cols' => 40,
> 'sub_name' => 'type',
> 'type' => 'set',
> 'options' => [
> 'input_boxes' => 1,
> 'input_ordered' => 0,
Is the above what I need to tweak?
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Sebastien Francois
Sent: 26 April 2012 14:13
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: How to make related URLs appear as text links and not bare URLs?
While somewhat outdated, this still applies:
Also check EPrints::Extras::render_related_url() which seems to do something similar to what you want.
On 24/04/12 16:36, Alex Birchall wrote:
> I would like to configure Eprints so that related URLs in an item record appear to the user as regular textual hyperlinks, not as bare URLs. So, for instance, I would like this URL http://www.mdx.ac.uk/aboutus/staffdirectory/Stewart_Anthony.aspx to appear as the hyperlinked text "Middlesex University Staff Profile".
> I am sure the above is not that difficult to do, but I should be most grateful if anyone could let me know how to achieve the effect.
> Many thanks.
> Alexander J Birchall
> Library Systems Manager
> The Sheppard Library
> Middlesex University
> The Burroughs
> London NW4 4BT
> Tel +44 (0) 208 411 5235
> Mob 07765 237 570
> *** Options:
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
*** 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/
More information about the Eprints-tech