Hi Yuyun,

I edited ItemTag.java to enable showing or hiding a openurl link based 
on the presence or values of some qualifiers.

Be a little bit more specific, in my case, in the renderFull() method, I 
added a section

if (values[i].qualifier.equals("openurl")) {
   out.print(something_that_you_want_to_display);
}

When the item has dc.identifier.openurl, an icon and a link will be 
displayed.

This is only a starting point to experiment. You can do similar editing 
to the render() method and using your wanted conditions to control the 
on/off status of any metadata display.

Does this help? Let me know.

Regards,
Allen Lam.
HKU Hub Administrator, http://hub.hku.hk

Yuyun Wirawati ISHAK (LIBRIS) wrote:
> Hi all
> 
>  
> 
> I’ve enabled the sfx link and it works well. However, the link appears 
> on every item record. I understand that some installations manage to 
> display this link only on selected items (by using the metadata tag, I 
> suppose). Does anyone has the instruction/guide on this process?
> 
>  
> 
> Much appreciated,
> 
> Yuyun


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to