Image Field, cant remove Image, Field is greyed [SOLVED]

More
13 years 4 months ago #17154 by the_Phoenix
Hello,

ok I understand.
But is not this the same as a normal Joomla Articel?
There, one can also remove an image without which it will be deleted immediately.

I have it tested again, the image in another article, I can remove it without deleting it and even after that it appears in the dropdown list.

Can you possibly tell me what I need to change the code so that I can use the Remove button?

My problem is that I'm about 3000 categories and 25000 posts have and it is unfortunate that I delete the images and can not remove them only if no other post are allocated.

Especially since other authors work on the site the have not the picture and the pictures are not on the server and they are not anymore available.

I hope I'm doing now is not too much work :oops:

Greeting Hardy

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #17158 by ggppdk
Yes, i can post you the code, do you want the code for image dropdown select to list all images too? Otherwise it will not list the delete one ...

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #17168 by the_Phoenix
Hello,
yes there would be really great. :)
Yes, please also use the code for image dropdown select

thanks already
Greeting Hardy

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #17345 by the_Phoenix
Hello,
you already know approximately when you can send me the code?
Greeting Hardy

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #17347 by ggppdk
To make change required quite some studying of the code (after more than 1 hour i was about to give up, too much time ... that i don't have now), try these files (image field):
[attachment=0:1xaotwn6]<!-- ia0 -->image_field.zip<!-- ia0 -->[/attachment:1xaotwn6]
Edit configuration of field and enable:
List all image files
Always allow image removal

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Attachments:

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #17356 by the_Phoenix
Hello,

thank you first!! :D

I've tested it and remove now works fine. :)

But now I can not add new images more ..
If I want to upload a picture of the system crashes with the following error message:

Warning: Parameter 1 to plgFlexicontent_fieldsMinigallery::onBeforeSaveField() expected to be a reference, value given in
libraries\joomla\event\event.php on line 67

phpThumb()
components/com_flexicontent/medias/01.jpg" does not exist

I checked and in the folders:
images/stories/flexicontent/
and
componenets/flexicontent/uploads

after then the other corresponding files are available.

Greeting Hardy

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.215 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline