Author Topic: SAVE - but save it ALL (ONE save for all modules)  (Read 3440 times)

Offline Legaziofunk

  • Posts: 83
  • Gender: Male
SAVE - but save it ALL (ONE save for all modules)
« on: August 05, 2019, 01:18:58 PM »
Hi ladies and gentlemen,

I have a simple "request" for further WB development (it somewhat connects with this topic: https://forum.WebsiteBaker.org/index.php/topic,30715.msg214093.html#msg214093)

Is there a possibility to save ALL the changes you made in different modules with only ONE click on ANY of the "save" buttons?

En detail:
Go to PAGES and edit any (!) but multiple areas of the content within the modules you have inserted there.
E.g.: You change something in the WYSIWYG-editor, you change a title of a MiniHero, etc...

After that, you click ANY of the many SAVE-buttons - and everything you changed will be saved at once.

This would be heaven!

AND: It would also be true WYSIWYG, because you can change simultaneously different content without having to scroll to the very section again, before resuming work. Because after hitting the save button, the page usually loads AND does NOT go to the exact position where you have left off.

Gracias!
________
WB 2.10.x (installed)/WB 2.12.x (installed)
PHP 7.2
MySQL 5.6.36-82.0-log

Offline jacobi22

  • Posts: 5865
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: SAVE - but save it ALL (ONE save for all modules)
« Reply #1 on: August 05, 2019, 03:09:57 PM »
the problem is: you can send only one POST and this content must have all the datas

let me use an example... my largest page has 14 sections, a mix between wysiwyg, code and image gallerys.
every section has the option to save the changes in a single process.

In a lot of modules, i change the content on subpages of this module, so in news, OFA, topics, form settings, bakery etc.
to coming back from this subpage to the section overview for this page with the "general save-button", i've to leave this subpage without saving and lost my changes

another example: news module - i change 3 news. now, i have two possible way's - save every single news or save all news on the overview. At the moment, i open a special item, have some hidden infos like section-id, item_id, summary ~15 hidden or visible fields in the POST to save this item. To use a solution like yours, i've to save this changes for one single item somewhere in the cache, local storage etc, to use it later in the "general save process".
These is only the news module...

Next section type is wysiwyg, in the section list on position 1, 3, 4, 8 , 9. Every section has ~ 10 fields to save - i dont know it exactly, is only an example...
Save this also in my cache or locale storage, some little changes here, some little changes there and every time you get more and more datas in your storage - and the risk, to lost something - in worst case, the changes from the last two hours or more, if the session is not ending...

it is possible, of course, but it make's no sense for me
you see only some small changes on the section overview page, like a couple of wysiwygs

a better solution, in my eyes, a intern list - if i set the focus to a special module (maybe to edit wysiwyg), i add this module into a list and if i save this content, i remove this entry. And before i go to a new page, the cms check this list - is it empty, go to the new page, is it not empty, write a warning and marked this section(s) with a light red color.
i saw solutions like this in other systems, but mostly for a special item (for example: if i write a answer in a forum and leave the page without sending)

other solution: if i set the focus to a special modul and change there something (like a wysiwyg section), the save-button get a new color, so that you know, i have to save this - but the problem is: you have a reload after the save-process and lost possible other changes, but it is a reminder - dont forget to save...
Wer nicht will, findet Gründe, wer will, findet Wege.

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8391
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: SAVE - but save it ALL (ONE save for all modules)
« Reply #2 on: August 06, 2019, 09:58:04 AM »
Hello,

just an idea.

Send all changes from all Moduls and sections with the save buttom to an new Modul (Publish-Modul), wich must be developped. In this modul you have then a list with all changed sections and you can decide to publish single sections or all changed sections at once.

At the moment, all changes in WB are online, as soon as they are saved, and every section must be seperately saved, wich is on pages with multiple sections not really comfortable. With a new "Publish-Modul" in combination with the Groups- an Usermangement of WB it then should be possible that users can make changes and they goes only online, when another User (can also be the same) in a second Step publish them.

As far as i remember there already exists a modul wich can store different version of WYSWYG-Sections. Maybe this can be the basis of such a "Publish Modul".

Just an Idea.

Matthias

Offline Legaziofunk

  • Posts: 83
  • Gender: Male
Re: SAVE - but save it ALL (ONE save for all modules)
« Reply #3 on: August 12, 2019, 07:56:47 PM »
Thanx for the replies....

...but I am not sure if my request was grasped intirely.

In short: I want to be able, to edit in many different sections of a page at once - and then hit SAVE only ONCE.

Internal lists, or a "publish"-module does not solve this matter of user experience.

Just my five cents adding to what has been said so far.
________
WB 2.10.x (installed)/WB 2.12.x (installed)
PHP 7.2
MySQL 5.6.36-82.0-log

Offline crnogorac081

  • Posts: 1908
  • Gender: Male
Re: SAVE - but save it ALL (ONE save for all modules)
« Reply #4 on: August 12, 2019, 10:27:35 PM »
Possible via ajax, but needs some module tweaking..
no bb in signature


Offline Legaziofunk

  • Posts: 83
  • Gender: Male
Re: SAVE - but save it ALL (ONE save for all modules)
« Reply #6 on: August 13, 2019, 12:04:10 PM »
A "few days" ago we already had this topic :)
https://forum.WebsiteBaker.org/index.php/topic,26111.msg178324.html#msg178324
https://forum.WebsiteBaker.org/index.php/topic,26095.msg178462.html#msg178462

Oh! Okay, thank you!

Well, my search for SAVE and SECTION didn't shoot that one to the top - so: Sorry for bringing it up again.

But, apparently, this issue has bot been solved yet. And "solved" as in: Being a staple part for the stable current WB version, has it?

Therefore, I may quote YOU at one of the aforementioned threads:

Quote
Page-reloads are sooo retro. *g*

Are you at it...?
________
WB 2.10.x (installed)/WB 2.12.x (installed)
PHP 7.2
MySQL 5.6.36-82.0-log

Offline dbs

  • Betatester
  • **
  • Posts: 8012
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: SAVE - but save it ALL (ONE save for all modules)
« Reply #7 on: August 13, 2019, 12:19:51 PM »
My intention was only to show the old posts because the keyword "ajax" fell. I didn't want to say you can't reopen the topic.
You see that the developers didn't respond to it. We users can only point out what would be good for us. So it's good that you open the topic.

On the other hand, it's just a little habit that you can only edit and save one section.
For me it would be important that the saving happens without reloading. And that you can deactivate/activate a section with one click (not in "Manage Sections").

Translated with www.DeepL.com/Translator