First, KK, couch is frickin' awesome. As a front end guy, to be able to do PHP type stuff without having to get all PHP-y, is just incredible. It took me a couple of days to get over the learning curve, but now I'm spitting out <cms:pages like it's nothing. So a big THANK YOU.
Now on to the question. I'm trying to wrap my head around the Nested Pages philosophy, and for the most part I get it. But I have hit some roadblocks.
In a lot of CMS's, you create a new page in the CMS, and then you select the 'page template' that you want to use for that page.
In Couch, if I'm using nested pages, then that new page is going to inherit the root page's template, usually index.php. I hope I'm correct so far.
But if you want it to use a different template, you have to first create that new template and then create a pointer to it inside of your 'Nested Pages' tree.
But what does a client do if they want to make a new page called "Beliefs" based off, say, a two column layout? Obviously they wouldn't create a new HTML template... I'm obviously missing something as far as how an entire site comes together. I did the full tutorial, but am still not understanding the Nested Pages set up for a situation like this.
Any help would be greatly appreciated.
Now on to the question. I'm trying to wrap my head around the Nested Pages philosophy, and for the most part I get it. But I have hit some roadblocks.
In a lot of CMS's, you create a new page in the CMS, and then you select the 'page template' that you want to use for that page.
In Couch, if I'm using nested pages, then that new page is going to inherit the root page's template, usually index.php. I hope I'm correct so far.
But if you want it to use a different template, you have to first create that new template and then create a pointer to it inside of your 'Nested Pages' tree.
But what does a client do if they want to make a new page called "Beliefs" based off, say, a two column layout? Obviously they wouldn't create a new HTML template... I'm obviously missing something as far as how an entire site comes together. I did the full tutorial, but am still not understanding the Nested Pages set up for a situation like this.
Any help would be greatly appreciated.