Issue #1274Opened July 11, 2018by jvillena1 reactions

Remote storage option is not sending in $_POST the JSON structure

Question

Hi @artf! I'm working to adapt your content builder in our system using the latest release v.0.14.21. I have set up the following configuration of the StorageManager: storageManager: { type: 'remote', stepsBeforeSave: 1, autoload: true, autosave: false, urlStore: '/save', urlLoad: '/load', contentTypeJson: true },

With contentTypeJson = true I can load the content correctly from load action. Also I created a new button to save the content manually using the call "editor.store()". The problem comes up now in the action save I never receive in $_POST the json structure with HTML, COMPONENTS, ASSETS, ... If I switch off the parameter contentTypeJson: false then I'm able to receive the json structure in $_POST but the data is not loading properly. So I don't now exactly if you can support me. I've just read all the issues closes and I don't find the correct solution.

Thanks in advance.

Answers (3)

jvillenaJuly 15, 20181 reactions

Thanks a lot! It works like a charm! Great Job. We are going to work in different new plugins so we will include them as open source as well. I'll keep you inform.

lock[bot]September 17, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.