I've only been using Couch for 48 hours, and I have to say I'm impressed - coming from a Wordpress and Concrete5 background, this site is coming together with a small fraction of the effort those two would cost me. Bravo!
I'm trying to build something I can't seem to find in the docs, and I'm wondering if you fine folk can help me figure out how to pull it off. Basically, I want to pull a single folder's pages down, then group them by the year of a custom datetime field. Pretty much a carbon-copy of what's going on here, with different content: http://www.jamesjean.com/work/
I've already explored using the <cms:archives> tag - it doesn't seem like that will work, since it uses the publish date on a page. I'm already using the publish date elsewhere, so the custom datetime field is necessary. The <cms:pages> tag might work, but from what I can tell it would require manually writing a <cms:if> for every single year, and that's much less than optimal. I've even tried defaulting to raw php and writing a PDO query to pull everything myself, but wouldn't you know it - I can't get the folder name outside of a <cms> tag.
Anybody have any ideas on how I can pull down a folder's pages and group them by year?
I'm trying to build something I can't seem to find in the docs, and I'm wondering if you fine folk can help me figure out how to pull it off. Basically, I want to pull a single folder's pages down, then group them by the year of a custom datetime field. Pretty much a carbon-copy of what's going on here, with different content: http://www.jamesjean.com/work/
I've already explored using the <cms:archives> tag - it doesn't seem like that will work, since it uses the publish date on a page. I'm already using the publish date elsewhere, so the custom datetime field is necessary. The <cms:pages> tag might work, but from what I can tell it would require manually writing a <cms:if> for every single year, and that's much less than optimal. I've even tried defaulting to raw php and writing a PDO query to pull everything myself, but wouldn't you know it - I can't get the folder name outside of a <cms> tag.
Anybody have any ideas on how I can pull down a folder's pages and group them by year?