Page 1 of 1

Sort of galleries in folder versus menu carousel

Posted: 24 Feb 2015, 16:59
by Martin
Hi Karl,

When using this:
Code
folders		: sort:desc
the galleries in a folder are being sorted descending, but the sorting in the menu carousel is (as expected) unaffected.

I tried this:
Code
menu		: sort:desc
but this has no effect (couldn't find anywhere else that it indeed would work, but tried nevertherless :-))

Is there a way to sort the galleries in the menu carousel?

Image

Re: Sort of galleries in folder versus menu carousel

Posted: 24 Feb 2015, 21:40
by mjau-mjau
I tried it here, and it works fine:

folders: sort:asc (default)
Image

folders: sort:desc
Image

You are using 0.9? I would need link to your panel to check.

Re: Sort of galleries in folder versus menu carousel

Posted: 25 Feb 2015, 02:19
by Martin
mjau-mjau wrote:I tried it here, and it works fine
It's the sorting of the carousel that appears when you hover the mouse over a menu item, that has for example this code:
Code
menu:		carousel:5 items:title,preview crop:3,2 
...
...
...
folders:	 sort:desc grid:3,3,1 crop:3,2 items:title,preview frame x3-hover-icon-asterisk-primary title-small
Yes, I'm using v0.9... and I will send you pm my panel password

Re: Sort of galleries in folder versus menu carousel

Posted: 25 Feb 2015, 03:56
by mjau-mjau
Ahh ... the menu!

The menu is different from the gallery and folder listings. Regardless of what menu module you are using, including default dropdown menus, you can reverse the sorting of a menu list by setting reverse in the menu.
Code
menu: reverse
Set the above in the menu setting for the parent page of your carousel.

Maybe it should be the same setting as used for gallery/folders, or vice versa ...

Re: Sort of galleries in folder versus menu carousel

Posted: 25 Feb 2015, 03:59
by Martin
mjau-mjau wrote:Ahh ... the menu!

The menu is different from the gallery and folder listings. Regardless of what menu module you are using, including default dropdown menus, you can reverse the sorting of a menu list by setting reverse in the menu.
menu: reverse
Set the above in the menu setting for the parent page of your carousel.
...
Yes, that did it!
Thnx!