Sequence of appearance for content blocks in editor

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
maetmar
Forum Members
Forum Members
Posts: 36
Joined: Wed Oct 25, 2006 7:48 pm

Sequence of appearance for content blocks in editor

Post by maetmar »

Hi,
in version 1.x the sequence of the appearance for content blocks in the page editor was defined by the sequence they where defined in the template.
However, in Version 2.x this is no longer the case.
It seems that first all "content_image" blocks come and then the "content" blocks.

Can this be influenced somehow?

Eg. I have the following sequence in the template:

{$tab2Text= "{content tab="Block 2" block="tab2Text" label="Text"}" scope=global}
{$tab2Bild= "{content_image tab="Block 2" block="tab2bild" label="Bild" urlonly="1" dir="images"}" scope=global}
{$tab2BildSEO= "{content tab="Block 2" block="tab2bildseo" label="Bild SEO Text" oneline="true"}" scope=global}

but in the editor the block "tab2Bild" is always the first one. Ideally I would like to have it in the same sequence as they appear on the page afterwards, which would make it easier to understand for my customer.

thanks in advance for any help.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Sequence of appearance for content blocks in editor

Post by velden »

You can define the order of the {content} blocks by using the 'priority' parameter.
However, this parameter is not (yet) available for {content_image} tags.

We're currently talking about it (dev team).
maetmar
Forum Members
Forum Members
Posts: 36
Joined: Wed Oct 25, 2006 7:48 pm

Re: Sequence of appearance for content blocks in editor

Post by maetmar »

OK thanks for the info. I wasn´t aware of that option.
still would be greate to have again same behaviour as before.
as it is the best for customers if they can maintain content in the sequence it is shown on the frontend. Everything esle is confusing if you have a lot of content block.
Post Reply

Return to “The Lounge”