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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jsmonzani
Forum Members
Forum Members
Posts: 54
Joined: Mon Apr 03, 2006 10:58 am

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

Post 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é
An approach to mutli-lingual CMSMS using only content blocks:
http://forum.cmsmadesimple.org/index.ph ... 756.0.html
sioux

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

Post 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!!
jsmonzani
Forum Members
Forum Members
Posts: 54
Joined: Mon Apr 03, 2006 10:58 am

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

Post 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é
An approach to mutli-lingual CMSMS using only content blocks:
http://forum.cmsmadesimple.org/index.ph ... 756.0.html
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

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

Post 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...
jsmonzani
Forum Members
Forum Members
Posts: 54
Joined: Mon Apr 03, 2006 10:58 am

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

Post by jsmonzani »

That is wonderful, Ted, thank you very much :)
An approach to mutli-lingual CMSMS using only content blocks:
http://forum.cmsmadesimple.org/index.ph ... 756.0.html
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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
jsmonzani
Forum Members
Forum Members
Posts: 54
Joined: Mon Apr 03, 2006 10:58 am

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

Post by jsmonzani »

Thank you!
Yes I have thought about that but I might have numerous templates. But this could be a temporary solution too.
An approach to mutli-lingual CMSMS using only content blocks:
http://forum.cmsmadesimple.org/index.ph ... 756.0.html
Post Reply

Return to “CMSMS Core”