Re: [dspace-tech] Re: Hiding communities/collections from unauthenticated users.

2019-02-17 Thread Paul Münch
Thank you Shaun and Terry. This are really helpful hints. Kind regards, Paul Münch Am 15.02.19 um 19:40 schrieb Terry Brady: > In XMLUI, I have suppressed the display of a specific collection from > all users. > > match="dri:referenceSet/dri:reference[contains(@url,'123456789/11')]" >

Re: [dspace-tech] Re: Hiding communities/collections from unauthenticated users.

2019-02-15 Thread Terry Brady
In XMLUI, I have suppressed the display of a specific collection from all users. An easy way to detect authentication in XMLUI is to set the following global variable. Perhaps these checks could be combined. Terry On Fri, Feb 15, 2019 at 8:14 AM Shaun donovan wrote: > Hi all. > >

Re: [dspace-tech] Re: Hiding communities/collections from unauthenticated users.

2019-02-15 Thread Shaun donovan
Hi all. Please note that this is done on DSpace 5.8 using Mirage. This is the JQuery code: (function ($) {     $(document).ready(function(){     if($("a[href$='/login']").size() != 0){

Re: [dspace-tech] Re: Hiding communities/collections from unauthenticated users.

2019-02-12 Thread Paul Münch
Hello Shaun, it is possible for you to share a code template here or in a public git repository? Many thanks and kind regards, Paul Münch Am 12.02.19 um 12:19 schrieb Shaun donovan: > > Hi Diego. > > I have done this with JQuery. It is a simple solution and it works. > Let me know if you would

Re: [dspace-tech] Re: Hiding communities/collections from unauthenticated users.

2019-02-12 Thread Shaun donovan
Hi Diego. I have done this with JQuery. It is a simple solution and it works. Let me know if you would like to try it and I will send you the code. Kind Regards. Shaun. On 2019/02/12 09:00, Antti Laurila wrote: Hi! I'll respond on behalf Ilja, we were working on the same project. And the

[dspace-tech] Re: Hiding communities/collections from unauthenticated users.

2019-01-25 Thread Diego Brice
IIja, did you finally manage to do this? How?. El miércoles, 14 de septiembre de 2016, 9:40:08 (UTC-3), Ilja Sidoroff escribió: > > I'm trying to hide some internal communities and collections from > unauthenticated users (with DSpace 5.5/XMLUI, but also with upcoming 6.0). > How-to in the

[dspace-tech] Re: Hiding communities/collections from unauthenticated users.

2018-02-23 Thread Diego Spano
IIja, did you finally manage to do this? How?. Thanks. El miércoles, 14 de septiembre de 2016, 9:40:08 (UTC-3), Ilja Sidoroff escribió: > > I'm trying to hide some internal communities and collections from > unauthenticated users (with DSpace 5.5/XMLUI, but also with upcoming 6.0). > How-to