Closed (fixed)
Project:
Insert
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 May 2011 at 07:51 UTC
Updated:
3 Nov 2011 at 02:40 UTC
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
Comment #1
davidneedhamCan you provide more detailed information? I can't recreate this problem.
Comment #2
tziebart commentedI 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.
Comment #3
quicksketchInsert does not work with Media Selector widgets, it's not an implemented feature.
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.
Comment #4
panigrc commentedThe 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.
Comment #5
quicksketchSounds like you have a JavaScript error on the page. Check your error console in your browser(s).
Comment #6
panigrc commentedSweeeeeeeeeet
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 !
Comment #7
quicksketchSince we haven't heard from tziebart or tjferre any time in the last month, I'm going to mark this issue fixed.
Comment #8
vegantriathleteFYI: 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.