Hi Kevin

Finally I think that I understood what're you telling: The main idea
is that I will not find any xsl template for discovery inside the
actual xsl's mirage theme distribution and I should include one for
customizing the facets appeareance.

I've tested looking for
dri:li...@id='aspect.discovery.SimpleSearch.list.discovery'] and it's
seems to be a good "point of interception" but it applies only in a
search context, actually I have the requirement to delete facets from
home page entirely and show it only when the user has performed a
search. To accomplish this, should I touch the xsl and look for
another aspect, for instance Navigation, or should I see the
sitemap.xmap from resources/aspects/Discovery source and recompile?

Thank you very much for the help
Germán



On Wed, Jan 5, 2011 at 7:47 AM, Kevin Van de velde <[email protected]> wrote:
> Hi Germán,
>
> What I would do is duplicate any xsl you would want to alter from the
> navigation.xsl, paste these in {your.theme}.xsl and alter them there.
> By doing it this way it is much easier to keep track of your changes.
>
> best regards,
>
> Kevin Van de Velde
> @mire - www.atmire.com
> 533 2nd Street - Encinitas, CA 92024 - USA
> Technologielaan 9 - 3001 Heverlee - Belgium
>
>
> http://www.atmire.com - Institutional Repository Solutions
> http://www.togather.eu - Before getting together, get t...@ther
>
>
> On 4 January 2011 22:49, Germán Biozzoli <[email protected]> wrote:
>>
>> Thank you very much Kevin
>> Perhaps my question is very basic, I've created my own theme copying
>> mirage theme, you're suggesting that I should modify navigation.xsl or
>> create a new xsl for the facets? I simply need to reorder the section
>> upside statistics or login section in navigation bar.
>>
>> Regards
>> Germán
>>
>> On Tue, Jan 4, 2011 at 1:36 PM, Kevin Van de velde <[email protected]> wrote:
>> > Hi Germán,
>> >
>> > The reason why you can't find the xsl is because there is no special xsl
>> > to
>> > render the discovery navigation.
>> > So what I would suggest is that you create your own template in xsl to
>> > do
>> > this, just take a look at the DRI from dspace demo site:
>> > http://demo.dspace.org/xmlui/DRI/discover and you will find that the
>> > sidebar
>> > is rendered in a list with id
>> > "'aspect.discovery.SimpleSearch.list.discovery'".
>> > Below is a small example on how to place the discovery sidebar in a
>> > couple
>> > of divisions.
>> >>
>> >> <xsl:template
>> >> match="dri:li...@id='aspect.discovery.SimpleSearch.list.discovery']">
>> >>         <div id="div1">
>> >>             <div id="div2" >
>> >>                 <xsl:apply-templates/>
>> >>             </div>
>> >>         </div>
>> >> </xsl:template>
>> >
>> > I hope I was able to solve your problem.
>> >
>> >
>> > best regards,
>> >
>> > Kevin Van de Velde
>> > @mire - www.atmire.com
>> > 533 2nd Street - Encinitas, CA 92024 - USA
>> > Technologielaan 9 - 3001 Heverlee - Belgium
>> >
>> >
>> > http://www.atmire.com - Institutional Repository Solutions
>> > http://www.togather.eu - Before getting together, get t...@ther
>> >
>> >
>> > On 4 January 2011 16:47, Germán Biozzoli <[email protected]>
>> > wrote:
>> >>
>> >> Hi people
>> >>
>> >> The users that I'm working for with DSpace 1.70, requested to me to
>> >> re-order the discovery plug-in facets to show it more easily to the
>> >> final users. They find that are in some way forgotten in the last
>> >> position and they wish to see it at first or second division in
>> >> navigation bar. I've tried to look in the mirage xsls or
>> >> dri2xhtml_alt's but it's seems to be solved in the aspect instance,
>> >> somebody could give me a clue to fullfill this request?
>> >>
>> >> Thanks a lot
>> >> Germán
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> Learn how Oracle Real Application Clusters (RAC) One Node allows
>> >> customers
>> >> to consolidate database storage, standardize their database
>> >> environment,
>> >> and,
>> >> should the need arise, upgrade to a full multi-node Oracle RAC database
>> >> without downtime or disruption
>> >> http://p.sf.net/sfu/oracle-sfdevnl
>> >> _______________________________________________
>> >> DSpace-tech mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> >
>> >
>
>

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to