Developer forum

Forum » CMS - Standard features » Sort navigation If Page navigation uses eCom groups

Sort navigation If Page navigation uses eCom groups

Dmitrij Jazel
Reply

Hej Guys,

I have an page navigation that uses Groups as navigation.

(take a look at the attachment)

What I wanted to ask you guys, is there a way to sort the list, or how to perform the swap highlighted in green?

 

Regards,

Dmitrij

change_order.png

Replies

 
Dmitrij Jazel
Reply

Anyone?

 
Rune Skovbo
Reply

I need this as well...

 
Dmitrij Jazel
Reply

^.^

 
Nicolai Høeg Pedersen
Reply

I think all you can do right now, is deleting all the groups and add them again in the right order. Not easy, but the only way I'm affraid.

 

Or you can use the Sort attribute in your XSLT template.

Use the xsl:sort right after the xsl:apply-templates:

http://www.w3schools.com/xsl/el_sort.asp

 

BR Nicolai

 
Dmitrij Jazel
Reply

Hej Nicolai,

Well I think XSLT solution might be the option, but the problem is that it would be nice for the clients theamsealves to decide how the list itself is build. But thanks for suggestions aniways.

Regarding deleting all the groups and add them again - you mean delete actual existing groups in the eCommerce right? and not ones added to the menu? Cause I tryed to remove groups from the page navigation, and than tryed adding them in the order I wanted them to be, they still sorted (by groupID if that is correctly understood).

 

Regards,

Dmitrij

 

 

 
Rune Skovbo
Reply

It's sorted by ID's now, so you have to delete the actual groups.

Is this looked at as a bug or a feature request?

I agreed that it would be useful to give the clients themselves the option of sorting the navigation.

/Rune

 
Rune Skovbo
Reply

Any news about this?

 

/Rune

 
Nicolai Høeg Pedersen
Reply

It is scheduled for 8.3 due end of August, TFS#11226

 

BR Nicolai

 

You must be logged in to post in the forum