51 Posts
morhinio
8 years ago
6
Topic

Hello,

I have created upload image field in my form & content type (admin form) with a default value.

If I now delete a content item in Joomla, the default image will be deleted.

Is it possible that the default image is not deleted when I delete a content item?

Get a Book for SEBLOD
572 Posts
_jrmo
8 years ago
1
Level 1

Hi there,

This is potentially an unintended consequence of the new SEBLOD 3.6 addition which deletes related assets of a content item when it is deleted.

What if you set the default image with a Live Value in your form, instead of using the field's "default value" field - I think that will avoid this issue.

Cheers,

James

51 Posts
morhinio
8 years ago
0
Level 2

Hi James,

I don't understand exactly what you mean.

  1. Delete the default value.
  2. Set in the "Live + Live Value" the default image.

What should I insert in the Live Value field? The image path?

8 years ago
1
Level 1

Hello morhinio,

thank for report on this issue.

To wait until the next release you can update the two plugins attached.


Regards.

Lionel

251 Posts
Viktor Iwan
8 years ago
0
Level 2

Any changelog for the latest update Lio ?

8 years ago
1
Level 1

Hi Vik,

simply a little patch for waiting the next release.

Default media will not be delete anymore when deleteing content.

Regards.

Lionel

251 Posts
Viktor Iwan
8 years ago
0
Level 2

Hi Lio, is there field to give option to admin if the like the image remove or not during content deletion ?

Get a Book for SEBLOD