I have some XSLT that creates a submenu of pages below the current page. When adding a new page, that page appears at the bottom of the list, even though I chose to change the sort order in the back end.
How can I force the XSLT to use my preferred sort order?
I seem to remember this being related to a bug with not republishing the XML cache - which version of Umbraco are you using?
If you're doing a <xsl:for-each> you can shove a <xsl:sort> in there, and use the @sortOrder attribute (but if that doesn't get updated you're still toast, though)...
Sort XSLT Results by Sort Order Set in Back End
I have some XSLT that creates a submenu of pages below the current page. When adding a new page, that page appears at the bottom of the list, even though I chose to change the sort order in the back end.
How can I force the XSLT to use my preferred sort order?
Hi Connie,
I seem to remember this being related to a bug with not republishing the XML cache - which version of Umbraco are you using?
If you're doing a <xsl:for-each> you can shove a <xsl:sort> in there, and use the @sortOrder attribute (but if that doesn't get updated you're still toast, though)...
/Chriztian
I'll give the @sortOrder a try. I am seeing the behavior indicated in both v.4.5.2 and v.4.7.
is working on a reply...