Re:Drupal Core – Highly Critical Public Service announcement
by biomene on Thursday October 30, 2014 @08:25AM
(#8532498)
Stacey 3.0 allows you to reverse the order of arrays with a twig filter:
https://github.com/kolber/stacey/wiki/Templating-Language#fi...
1) reordering posts -- posts are displayed in _alphabetical_ order, as are directories, so the suggested nomenclature is a numerical prefix before every file name. So if I wanted to rearrange things, I had to decide whether not a linear shift was worth the benefits of file name readability.
2) the order of posts is reversed! I want new blog posts to show up at the top of my feed, but Stacey puts higher numbers underneath. I didn't want to count backwards, so I looked around and found a php hack for reversing this.
This might be fun if you're hankering for some DIY PHP, but I wouldn't recommend it otherwise.