Closed PubliAlex closed 9 months ago
Same here saving non repeater fields to db, repeater data are saved.
`
Hello world
', 'force_default_value' => true, 'value' => 'Hello world
'), 'templates' => array('default' => 'module:classicblocks/views/templates/blocks/ps_customtext.tpl'), 'templateSelected' => 'default', 'default' => array('container' => true, 'load_ajax' => false, 'bg_color' => '')))in ajax.php line 374 at PrettyBlocksAjaxModuleFrontController->displayAjaxupdateBlockConfig()in Controller.php line 321 at ControllerCore->run()in Dispatcher.php line 525 at DispatcherCore->dispatch()in index.php line 28`
$existingConfig = json_decode($this->config, true) ?? []; $newConfig = json_decode($this->generateJsonConfig(), true) ?? [];
in modules\prettyblocks\classes\PrettyBlocksModel.php is working for me right now
Hi thanks for this report, can you make a pull request of your issue ?
$existingConfig = json_decode($this->config, true) ?? []; $newConfig = json_decode($this->generateJsonConfig(), true) ?? [];
in modules\prettyblocks\classes\PrettyBlocksModel.php is working for me right now
Problem fixed, thank you
@PrestaSafe PR Created #187
Thank you @PubliAlex
It's merged thanks to you
Hello,
I like the concept of this module, however, I encoutered a bug when saving banner image, here is the log :
This bug occurs when I press the save button after trying to add a banner as a block (classicblocks)
Best regards,
Alex