Dear All
can you pl guide me to locate this Message body in e-mail message

If you need assistance with your account, please email
[email protected] or call us at xxx-555-xxxx.




Ajay Parikh
Gujarat Vidyapith,
Ahmedabad -380014
Gujarat - INDIA


On Fri, Dec 19, 2008 at 2:54 PM, mikan.d.dspace listmail <
[email protected]> wrote:

> Actually i found a simple solution for this problem of mine. Just
> testing whether the user is authenticated or not.
> I added the following lines to my template.xsl:
>
>  <xsl:template match="dri:options">
>  <xsl:choose>
>  <xsl:when test="/dri:document/dri:meta/dri:userMeta/@authenticated =
> 'yes'">
>  ... all the search boxes are created...
>  </xsl:when>
>  </xsl:choose>
>
> I removed the front page search box with a code gotten from this list
> few days ago:
>
> <!-- remove search area on home page -->
> <xsl:template match="dri:d...@n='front-page-search']">
>  <xsl:apply-templates select="@pagination">
>  <xsl:with-param name="position">bottom</xsl:with-param>
>  </xsl:apply-templates>
> </xsl:template>
>
> I was hoping to create a condition for the front page search as well,
> but couldnt. Could someone tell me where does the front page search
> originate from?
>
> Thanks,
> Mika
>
>
>
> 2008/12/12 Flavio Botelho <[email protected]>:
> > Hello,
> >
> > Just pass a index to lucene which collection the item is in, and
> > figure out at query time which groups have access to which collections
> > and put that in the query.
> >
> > Actually you seems to be worried only if the user is logged in, not a
> > more general scheme, so all that would be needed would be this extra
> > index field for "only logged in users"
> > And then in DSquery make sure to add a restriction on that for users
> > not logged in.
> >
> > Should work. Might not be efficient 'though.
> >
> > Kudos,
> > Flavio Botelho
> >
> > On Thu, Dec 11, 2008 at 11:18 AM, mikan.d.dspace listmail
> > <[email protected]> wrote:
> >> Hi,
> >>
> >> Im running DSpace with access restriction set to registered users
> >> only. This means, that accessing communities, collections, items and
> >> bitstreams is limited to specified group.
> >>
> >> The problem is, that with DSpace search anyone can see items in the
> >> system, even with access restrictions set. One cannot actually access
> >> the bitsreams, but they are listed as search results, which in my case
> >> exposes too much information. Im looking for a solution that would
> >> display the results only if the user is logged in. The other option
> >> would be to show search fields only after logging in.
> >>
> >> Could someone share a thought or two on there and how to implement them?
> >>
> >> Thanks,
> >> Mika
> >>
> >>
> ------------------------------------------------------------------------------
> >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> >> The future of the web can't happen without you.  Join us at MIX09 to
> help
> >> pave the way to the Next Web now. Learn more and register at
> >>
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> >> _______________________________________________
> >> DSpace-tech mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >>
> >
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to