Categories
CMS Mastering Development Wordpress

Rename uploaded images based on the post_title

I’m looking for a way to tell wordpress to rename the images attached to the post, by the name of the post. I found this plugin to do the trick but.. it’s stupid to use a plugin for such a simple function. . So I found this code in this article /* Automatically set the […]

Categories
CMS Mastering Development Wordpress

Rename uploaded images based on the post_title

I’m looking for a way to tell wordpress to rename the images attached to the post, by the name of the post. I found this plugin to do the trick but.. it’s stupid to use a plugin for such a simple function. . So I found this code in this article /* Automatically set the […]

Categories
CMS Mastering Development Wordpress

Rename uploaded images based on the post_title

I’m looking for a way to tell wordpress to rename the images attached to the post, by the name of the post. I found this plugin to do the trick but.. it’s stupid to use a plugin for such a simple function. . So I found this code in this article /* Automatically set the […]

Categories
CMS Mastering Development Wordpress

Rename uploaded images based on the post_title

I’m looking for a way to tell wordpress to rename the images attached to the post, by the name of the post. I found this plugin to do the trick but.. it’s stupid to use a plugin for such a simple function. . So I found this code in this article /* Automatically set the […]

Categories
Mastering Development

Automatic renaming based on the attached posts

I’m looking for a way to tell wordpress to rename the images attached to the post, by the name of the post. I found this plugin to do the trick but.. it’s stupid to use a plugin for such a simple function. . So I found this code in this article /* Automatically set the […]

Categories
Mastering Development System & Network

PHP Warning: PHP Startup: imagick: Unable to initialize module

I am getting following error when installed with lib imagick, but able to see the imagick module. Could you please check and help to resolve the issue without uninstalling the imagick module. Thank you Error: php_errors.log:[22-Jun-2020 17:40:47 UTC] PHP Warning: PHP Startup: imagick: Unable to initialize module php_errors.log:Module compiled with module API=20100525 php_errors.log:PHP compiled with […]

Categories
Mastering Development

How to change value of devExtreme editing popup items?

editing: { mode: "popup", allowUpdating: true, allowAdding: true, allowDeleting: true, popup: { title: "test", showTitle: true, width: 1200, height: 200, position: { my: "center", at: "center", of: window }, }, form: { labelLocation: "left", colCount: 9, items: [{ colSpan:2, itemType: "group", caption: " ", items: [ { dataField: "Prefix", }, ] },{ colSpan:2, itemType: "group", […]

Categories
CMS Mastering Development Wordpress

How to contol an elments classes from multiple Gutenberg sidebar controls?

I am trying to extend the core/table block and copy-pasted, trail and errored me into something that is close to what I am trying to do. But I it’s not quite working as I like. I like to extend the Block to have toggle elements that control the classes on the <table> the block already […]

Categories
Mastering Development

Writing JSON objects to file – ArrayBuffer values not stored in dump

I have some images that I want to dump from a PWA through an API enpoint to a JSON file on my server because I sync went wrong at some point. I have made a datadump api endpoint as a post request and I build up an array consisting of JSON Object. All my data […]