Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
hi all,
I just found out about CouchCMS, happened upon it by a search for a 'nice cms for image portfolio', looking as I was for a replacement to Textpattern, which I've used since quitting Wordpress. I've followed the tutorials to make the Aurelius theme dynamic using Couch, and I like the workings very much (the tutorial is great too). I'm a semiskilled/occasional website builder myself, falling mostly short of real programming, but I like to be able to tweak things if I can figure out how.

For now, I've one short question: is there a way to determine the output order of the folders tag / assign a hierarchy to a folder? I am using it on my portfolio page, much as in the tutorial. But I'd like to arrange the order of the 'categories', instead of by alphabet.

Thanks for any help.
Hello and welcome :)

As mentioned in the docs (http://docs.couchcms.com/tags-reference/folders.html), the <cms:folders> tag accepts a parameter named 'orderby' that can be used to set the sorting field.

The valid values are 'name', 'title', 'id', 'count' or 'weight' ('name' being the default).
You can set the 'weight' from the edit screen of folders.

Hope it helps.
Great, thanks, that helps. I wasn't using the Dynamic folders yet.
3 posts Page 1 of 1