Pardon my ignorance, but I have another question. I created a new theme. Do I
have to add your code to the xsl file of the new theme (<theme>.xsl) or can I
add it to structural.xsl?
Thank you.
Alain
<xsl:template name="add_frontpage_advancedsearch"
match="dri:div[@id='aspect.discovery.SiteViewer.div.front-page-search']">
<xsl:apply-templates />
<a
href="/advanced-search"><i18n:text>xmlui.dri2xhtml.structural.search-advanced</i18n:text></a>
</xsl:template>
<xsl:template name="disable_frontpage_browse"
match="dri:list[@id='aspect.viewArtifacts.Navigation.list.browse']">
</xsl:template>
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of helix84
Sent: Wednesday, April 18, 2012 9:18 AM
To: Alain Tschanz
Cc: dspace-tech
Subject: Re: [Dspace-tech] Remove Communities in DSpace and add advanced search
option on home page in xmlui/Manakin
On Wed, Apr 18, 2012 at 14:45, Alain Tschanz <[email protected]> wrote:
> Thank you for your response. Sorry I wasn't clear about question 2 (Search
> DSpace).
> I'm referring to Search DSpace under "Communities in DSpace." I would like to
> display the form AND an "Advanced Search" link below it like this:
>
> Communities in DSpace
> Select a community to browse its collections.
> - XXXXXXXXXXXXXXXXX
> - YYYYYYYYYYYYYYYYYYY
> - ZZZZZZZZZZZZZZZZZZZ
>
> Search DSpace
> Enter some text in the box below to search DSpace.
> <input form>
> Advanced Search
>
> Thank you.
>
> Alain
Please, always CC dspace-tech when replying (Reply all).
<xsl:template name="add_frontpage_advancedsearch"
match="dri:div[@id='aspect.discovery.SiteViewer.div.front-page-search']">
<xsl:apply-templates />
<a
href="/advanced-search"><i18n:text>xmlui.dri2xhtml.structural.search-advanced</i18n:text></a>
</xsl:template>
If you're using default Searching Artifacts, the URL is /advanced-search, if
you enabled Discovery, the URL is /discovery
Regards,
~~helix84
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech