Page 1 of 1

Multiple content blocks: editing is OK, but creating is not consistent?

Posted: Tue Apr 04, 2006 9:32 am
by jsmonzani
Dear friends,

I am currently testing CMSMS on OpenSourceCMS's demo website (v0.12)
I have tried to use multiple content blocks in a template with the {content block='newname'} syntax.

Whenever I create a page, I have to select my template from the list. Unfortunately, CMSMS doesn't update the page accordingly, and only the main content block stays there.
However, whenever I edit the page, the extra content block is then displayed.

It seems to me that these content blocks are not refreshed when I change template from the list. Is that correct? Is there a way to make my user have the correct content blocks at creation time?

Thank you very much for your help and have a great day!

Jean-Sé

Re: Multiple content blocks: editing is OK, but creating is not consistent?

Posted: Tue Apr 04, 2006 9:50 am
by sioux
it's a quirk of the system that when you create a new page you see just one (the main) content block. When you go back to edit it, all the content blocks appear so it is consistent and they are there - just not on the first visit!!

Re: Multiple content blocks: editing is OK, but creating is not consistent?

Posted: Tue Apr 04, 2006 10:00 am
by jsmonzani
OK, thanks a lot. That's what I had noticed, then.
One workaround could be to have a intermediate page where the user could select the template, and then the editing of the page itself.

Have a great day,

Jean-Sé

Re: Multiple content blocks: editing is OK, but creating is not consistent?

Posted: Tue Apr 04, 2006 10:27 am
by Ted
This used to have a javascript routine that would reload the page if the template changed.  At some point this broke, and I didn't notice it until after 0.12.1 was released.  It should be fixed in the next release...

Re: Multiple content blocks: editing is OK, but creating is not consistent?

Posted: Tue Apr 04, 2006 12:11 pm
by jsmonzani
That is wonderful, Ted, thank you very much :)

Re: Multiple content blocks: editing is OK, but creating is not consistent?

Posted: Tue Apr 04, 2006 7:35 pm
by Dr.CSS
if you use only one template you could go to the "Pages" window, where you will see all the pages and what template they use, and set that template as default.

  mark

Re: Multiple content blocks: editing is OK, but creating is not consistent?

Posted: Tue Apr 04, 2006 7:42 pm
by jsmonzani
Thank you!
Yes I have thought about that but I might have numerous templates. But this could be a temporary solution too.