Currently, in the G2 sidebar, the Actions appear to be displayed in alphabetical order.
Is there a way I can designate the order for them to appear?
For example, I changed "add sub-album" to "Create new album" and want that at the very top.
For now, I've used "*Create new album" so the "*" puts it at the top but that doesn't look so good.
Thanks!
Posts: 8601
update from cvs in a few hours and take a look at modules/core/templates/blocks/SystemLinks.tpl (and themes/matrix/templates/theme.tpl where it is used).. if you submit a patch to modules/core/templates/blocks/ItemLinks.tpl to also accept "order" and "othersAt" parameters then we can roll that into cvs. I'm not sure how you'd identify links in the "order" list though.. system links have ids but item links just have url parameters.
(also, would a space on the front sort it to the top? not sure if we strip spaces before sorting.. or maybe & nbsp;)
Posts: 164
Adding a space to the front did sort it to the top.
What I did was, put 4 spaces in front of the one I wanted at the top, then 3 spaces in front of the one I wanted second, etc.
This worked out great because when displayed, the spaces were ignored and the action item(s) displayed perfectly in line with all the other actions even though I had put a space(s) in front of each.
Posts: 8601
haha, i guess my alternative workaround prevented us from getting a code patch