This is just a guess, but I suspect this may be happening because the 
Recent Submissions list is actually generated by Discovery.

So, if you reorder Discovery to be listed as the *first* Aspect, then 
it's also going to cause the "Recent Submissions" list to appear near 
the top of the page.

A few possible ways around this would be to do something like this:

First, you'd need to revert your changes to xmlui.xconf, and put 
Discovery back to where it is by default.

[Option #1] You may be able to tweak the Mirage Theme to just reorder 
the <options> how you want them to be. I've not tried this, admittedly. 
By default though, Mirage just orders the <options> in the order they 
appear (by calling apply-templates): 
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/navigation.xsl#L131

However, it might be possible to replace this generic "apply-templates" 
call with several calls to reorder the options..something like:

<!-- FIRST, select the "list.discovery" option-->
<xsl:apply-templates 
select="list[@id='aspect.discovery.Navigation.list.discovery']"/>

<!-- THEN, select anything that is NOT "list.discovery" option-->
<xsl:apply-templates 
select="list[@id!='aspect.discovery.Navigation.list.discovery']"/>

Again, I've never tried this before, but it seems like it should work

[Option #2] Or, possibly create your own XSLT-based custom Aspect which 
would then reorder the final XML (DRI) <options> list, and make the 
Discovery <list> entries appear where ever you want them to. You'd need 
this custom Aspect to be listed *last* as it will just be in charge of 
restructuring the options menu.

Unfortunately, I don't know the exact code here, but there's a basic 
example of an XSLT-based custom Aspect in my old presentation "Making 
DSpace XMLUI Your Own" (see slides 58-63).

http://www.slideshare.net/tdonohue/making-dspace-xmlui-your-own

The concept is that you want to create an XSLT which takes in the final 
XML and just rearranges the <list> entries under <options>, so that they 
appear in the order you want them to appear. That way, when your theme 
is applied, the ordering of the menu options is how you want it.

--

Hopefully one of those two options will help.  Those are my best 
guesses! If anyone else has gotten this to work, please let us know what 
does work!

- Tim


On 2/19/2014 3:37 AM, Webshet, Sisay (ILRI) wrote:
> Yea, This is what Iam referring to how ever in mycase.
>
> I was moving the discovery on top as you see below and Recent
> Submissionswere also moving in parallel with discovery menu.
>
> This was the reason recent subssmion were viewed from the normal view
> which you send me
>
> <options><list id="aspect.discovery.Navigation.list.discovery"
> n="discovery">
>
> </list><list id="aspect.discovery.Navigation.list.browse" n="browse"></list>
>
> <list id="aspect.discovery.Navigation.list.account" n="account"></list>
>
> <list id="aspect.discovery.Navigation.list.context" n="context"/>
>
> <list id="aspect.discovery.Navigation.list.administrative"
> n="administrative"/>
>
> <list id="aspect.statistics.Navigation.list.statistics"
> n="statistics"></list>
>
> </options>
>
> Thanks
>
> Sisay
>
> *From:*Hilton Gibson [mailto:[email protected]]
> *Sent:* Wednesday, February 19, 2014 12:14 PM
> *To:* Webshet, Sisay (ILRI)
> *Cc:* [email protected]
> *Subject:* Re: [Dspace-tech] ordering community page and recent submssions
>
> Hi Sisay
>
> See: http://scholar.sun.ac.za/handle/10019.1/14997
>
> This is a sub-communtiy of a top level community and it displays "Recent
> Submissions", is this what you are referring to?
>
> Cheers
>
> hg
>
>
> *Hilton Gibson*
>
> Ubuntu Linux Systems Administrator
>
> JS Gericke Library
>
> Room 1025D
>
> Stellenbosch University
>
> Private Bag X5036
>
> Stellenbosch
>
> 7599
>
> South Africa
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
>
> http://scholar.sun.ac.za
>
> http://bit.ly/goodir
>
> http://library.sun.ac.za
>
> http://za.linkedin.com/in/hiltongibson
>
> On 19 February 2014 11:07, Webshet, Sisay (ILRI) <[email protected]
> <mailto:[email protected]>> wrote:
>
> Hello,
>
> Does anyone know how to place a “Most Recent Submission” below the
> community page. on the Dspace 3.2  with the Manakin interface
>
> Or aspect_artifactbrowser_CommunityViewer_div_community-view followed by
> aspect_discovery_CommunityRecentSubmissions_div_community-recent-submission
>
> Thanks
>
> Sisay
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> _______________________________________________
> DSpace-tech mailing list
> [email protected] <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to