I have been trying to get this to work with unlimited values for the field, and I finally figured out that it can only be set to 1 value.

Comments

davidneedham’s picture

Status: Active » Postponed (maintainer needs more info)

Can you provide more detailed information? I can't recreate this problem.

tziebart’s picture

I can confirm this - I must have the "allowed number" set to 1 or the insert button does not appear. Secondly if I use media selector for the widget type and not image, the insert button does not appear either. Unfortunate given I would like to reuse images already on the server and the library function is so handy.

As of today I downloaded the latest version and I am using Drupal 7. All modules and core current. Nothing special done to confirm problem. Add Image field to content type and set number of images to something other than 1 -- voila, no insert button.

quicksketch’s picture

Secondly if I use media selector for the widget type and not image, the insert button does not appear either.

Insert does not work with Media Selector widgets, it's not an implemented feature.

All modules and core current. Nothing special done to confirm problem. Add Image field to content type and set number of images to something other than 1 -- voila, no insert button.

I can't confirm this problem either. I set my new image field to have a limit of "4" and "Unlimited" and they both worked fine. Obviously I had to upload an image first for the Insert button to show up.

panigrc’s picture

The exact same "bug" happens to me too.

When I set only to 1 field my filefield then the Insert field inserts successfully the link.

If I set to more than 1 then it doesn't. When I click on the "Insert" button the textarea (I am not using any wysiwyg editors) takes the focus from the textarea and does nothing.

EDIT:

Also I've noticed that using the WYIWYG + CKEDITOR the Ckeditor dissapears when I am using multiple filefields.

quicksketch’s picture

Also I've noticed that using the WYIWYG + CKEDITOR the Ckeditor dissapears when I am using multiple filefields.

Sounds like you have a JavaScript error on the page. Check your error console in your browser(s).

panigrc’s picture

Title: Insert Button Doesn't Work when Greater than 1 value in field » [solved] Insert Button Doesn't Work when Greater than 1 value in field

Sweeeeeeeeeet

On the Performance Settings, I checked the "Aggregate Javascript" and my problem solved. Now I can insert the file links into the body with Wyiwyg + ckeditor !

quicksketch’s picture

Title: [solved] Insert Button Doesn't Work when Greater than 1 value in field » Insert Button Doesn't Work when Greater than 1 value in field
Category: bug » support
Priority: Major » Normal
Status: Postponed (maintainer needs more info) » Fixed

Since we haven't heard from tziebart or tjferre any time in the last month, I'm going to mark this issue fixed.

vegantriathlete’s picture

FYI: I am guessing that the issue was that they forgot to check the "Enable insert button" checkbox in the Insert fieldset when they were configuring the field settings.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.