On Tue, Sep 11, 2012 at 3:57 PM, George S Kozak <[email protected]> wrote:
> I am using DSpace 1.8.2. I have been asked if there is a way of controlling
> the viewing of a bitstream. Currently, when one clicks on a bitstream, it
> opens up in a new browser window. Is there an option to have the bitstream
> open up in the same window? I don’t think so, but I have been wrong in the
> past J
Hi George,
I'd guess you're using JSPUI, not XMLUI (please, always list this
information along with your DSpace version). As you can see on the
demo site which illustrates the defaults without any customization,
clicking on a bitstream in XMLUI opens the bitstream in the same
window, whereas in JSPUI it opens it in a new window. However, this is
easy to change (although I didn't test it). Edit
dspace-jspui-api/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java,
line 817 and remove the target attribute, so the line should read:
out.print("<a href=\"");
Then rebuild and redeploy DSpace and restart your servlet container.
Regards,
~~helix84
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech