Page 1 of 1

[SOLVED] Re: strange ordening editable area

Posted: Wed Nov 02, 2022 11:06 am
by nox
Hi Roodveldt,

there is a way, but not really convenient. Under your WonderCMS installation > data > database.js check for

Code: Select all

"addition_content_#": "This is a new editable area. By default it's hidden."
where # is a number (1, 2, 3...)

By default it looks like this:

Code: Select all

"addition_content_3": "Content 3."
"addition_content_2": "Content 2."
"addition_content_1": "Content 1."
Changing numbers will change order of the additional content, for example:

Code: Select all

"addition_content_1": "Content 3."
"addition_content_3": "Content 2."
"addition_content_2": "Content 1."
So order of additional content is 1, 3, 2 (Content 3, Content 1, Content 2).

Re: strange ordening editable area

Posted: Thu Nov 03, 2022 9:45 am
by nox
I don't think you'll need to do any changes after WonderCMS update. database.js is unaffected:
https://github.com/robiso/wondercms/wiki/Update

Make sure to install/activate Additional contents plugin again, after update is done.