[ 
https://jira.duraspace.org/browse/DS-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Masár updated DS-820:
--------------------------

    Attachment: sfx_image_jspui.patch

This patch makes JSPUI recognize and display (if available) the image defined 
in dspace.cfg

I did it the simplest way possible, since I'm not familiar with JSP. I think 
that this probably should be rewritten so that the <dspace:sfxlink> tag would 
generate the whole <a><img></a> sequence - taking item, sfximage and alt as 
parameters. But such a change in semantics probably wouldn't be suitable for 
1.7.1.

> SFX button + SFX in Mirage
> --------------------------
>
>                 Key: DS-820
>                 URL: https://jira.duraspace.org/browse/DS-820
>             Project: DSpace
>          Issue Type: Improvement
>          Components: XMLUI
>    Affects Versions: 1.7.0, 1.7.1, 1.8.0
>            Reporter: Ivan Masár
>            Assignee: Kim Shepherd
>         Attachments: sfx_image+mirage.patch, sfx_image_jspui.patch
>
>   Original Estimate: 2 weeks
>  Remaining Estimate: 2 weeks
>
> This patch accomplishes 2 things:
> 1) it adds an image (with configurable URL) to the SFX link
> 2) it adds the SFX link to Mirage
> It's possible to do these 2 things separately, but the patches would 
> conflict, so I combined them into a single enhancement. Patch was tested both 
> with both 1.7.0 and current trunk.
> Rationale:
> Institutions, who use SFX often customize the SFX button (image) in different 
> content databases with their own branding. Since DSpace now displays SFX 
> links, too, it's only logical to allow this trivial functionality.
> The SFX link is already present in JSPUI and XMLUI Reference theme. This 
> patch adds it to Mirage, too.
> Documentation updates:
> 6.2.1. 
> -JSPUI SFX Server Setting
> +SFX Server Setting
> +sfx.server.image_url
> 6.2.42.
> +Property: sfx.server.image_url
> +Example Value: sfx.server.image_url = http://sfx.myu.edu:8888/sfx.gif
> +Informational Note: URL of an image which will appear in the SFX link. Used 
> to customize SFX with institutional branding. If this property is commented 
> out or omitted, the SFX link will not show an image, only text.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to