Hi Fernando,
I think thatis drawn in xml-api and xml-wing packages. I'm not sure.
Anyway you can force your template is applied.

Try this to override browse menu:

<xsl:template match="/dri:document/dri:options/dri:list[@n='browse']">
<h1>
It works!!<br/>
<xsl:value-of select="dri:head"/>
</h1>
</xsl:template>

</xsl:stylesheet>

You can override all menus parsing  your dspace-url?XML

Good luck ;-)


Al 17/02/2012 13:03, En/na Fernando Andina ha escrit:

Hi Oriol,

I`ve noticed that the place where I have to work is here in navigation.xsl:

<!-- Once the search box is built, the other parts of the options are added -->

<xsl:apply-templates/>

But I have no idea what do I have to write to code my own custom menu. I´ve checked the documentation and it doesn't seem to mention this.

If I comment the line then the navigation bar disappears, but that´s all I can figure out. What if I want to edit the menu adding and removing options?

Gràcies!

Fernando Andina -- Consultor hiperlocal

BeHappy Co.

*De:*Oriol Olivé [mailto:oriol.ol...@udg.edu]
*Enviado el:* viernes, 17 de febrero de 2012 12:37
*Para:* dspace-tech@lists.sourceforge.net
*Asunto:* Re: [Dspace-tech] How do I modify DSpace´s lateral menu in Mirage?

Hi Fernando,
you can try editing / lib / xsl / core / navigation.xsl file

best,

Al 17/02/2012 3:14, En/na Fernando Andina ha escrit:

Hi again,

Don´t get distracted by the accordion thing, I just want to customize the navigation bar in Mirage (remove some option and add some more), and I can´t figure out how!

Fernando Andina -- Consultor hiperlocal

BeHappy Co.

*De:*Fernando Andina [mailto:fand...@behappy.co]
*Enviado el:* jueves, 16 de febrero de 2012 15:08
*Para:* 'dspace-tech@lists.sourceforge.net <mailto:dspace-tech@lists.sourceforge.net>'
*Asunto:* How do I modify DSpace´s lateral menu in Mirage?

Hi everybody,

The lateral manu in DSpaces xmlui (mirage) is way too long sometimes, I would like to change it for something like an accordion menu, but I´m not sure where do I have to go to do this modification.

Did anyone to anything like this before?

I´m using DSpace 1.8.0.

Thanks a lot to everyone.

Fernando Andina -- Consultor hiperlocal

BeHappy Co.

------------------------------------------------------------------------------
Virtualization&  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net  <mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to