Page 1 of 1

Page Defaults extended to additional content blocks

Posted: Mon Nov 19, 2007 8:30 pm
by Short
I love the page defaults feature, but I believe that currently it does not allow you to set defaults for additional content fields that you include in your template using the {content block = "foo"} tag.

I recently designed a site with an additional column containing mood-setting images. I created a new content block called mood_images, which every page has. But of course for any new pages, this defaults to empty. It would be nice to have a default of pretty images that the user could change later if they feel the pages are looking too similar.

I am sure it would have many other uses too!

Re: Page Defaults extended to additional content blocks

Posted: Mon Nov 19, 2007 8:44 pm
by calguy1000
That's because each template can have any number of content blocks all named differently.
it'd be better to do {content block='blah' defaulttext='blahblahblahblah'}

Re: Page Defaults extended to additional content blocks

Posted: Mon Nov 19, 2007 9:12 pm
by Short
I think I get it. (Bit slow!)

But what if you want a large amount of default content in the block? Could the content tag's block parameter accept a global content block name?

Or maybe there could be the facility to create special "default" pages, in the main pages section. That way you could assign them to templates...

However, the more I type, the more this feels like feature-creep...and a drift away from "simple". I'll go with your idea!