Thanks, Alexander. I don't think the patch will help us, but it does give me an idea for how to approach the problem.
Many thanks, Jason On Mon, May 16, 2011 at 3:09 PM, Alexander Lemann <[email protected]> wrote: > > On 5/16/2011 1:54 PM, Jason Fowler wrote: >> >> We are using DSpace 1.6.2 with XMLUI and embargoes enabled. We have a setter >> in place that Richard Rogers developed, and it has worked great. The embargo >> system blocks access to a bitstream until the appropriate date. >> >> We would like, however, to have a specific notification along the lines of >> "This item is embargoed until July 21, 2012" when a person clicks on an >> embargoed bitstream. >> >> Has anyone come up with a way to do that? > > I have removed the download link and replaced it with "Access Restricted" for > the JSPUI. This message shows up for any item that the user does not have > permission to view regardless of its embargo state. A further improvement > would be to check the embargo date on the item as well and customize the > message based on this. I'm not sure about the format of the patch file, but > it should give you the idea. I'm new to DSpace so YMMV and I'm not sure if > there's a better best practice here, but I couldn't find one. I hope this > helps someone even if you can't use it because of our different choice in > interface. > > Regards, > Alex Lemann ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

