Closed (fixed)
Project:
Image Picker
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2009 at 13:29 UTC
Updated:
30 Jul 2009 at 22:50 UTC
As the title says the Image Picker dialog box for uploading images shows up in the Search Form block. Drupal verson 6.13, image picker 6.x-2.1
right now I am just using css to put its display to none within the that content area. But it still loads, or trys to load. Some times I get a page load canceled. I dont want to disable the block open to image pickerl...
Sorry if this is already a known issue or if there is a fix for this already. Please point me in the right direction if their is.
| Comment | File | Size | Author |
|---|---|---|---|
| Picture 1.png | 121.5 KB | sicbot |
Comments
Comment #1
hutch commentedOh dear! How bizarre!
Not a known issue, I will investigate
Comment #2
hutch commentedOK, I will have to revisit 'enable imagepicker in blocks', meanwhile you can disable it in the admin settings for imagepicker
I did not have the search block enabled when I tested this ;-(
Comment #3
sicbot commentedWell I'm glad I could bring this to your attention then. Thankfully I can hide it with with css at least (I want to keep image picker available in blocks for this client.)
Comment #4
hutch commentedI have found the problem, the preg_match() was too general and was picking up the search block form as well
For anyone needing to fix this straightaway
In imagepicker.module, function imagepicker_form_alter()
replace this line:
with this line:
Please test and report back, TIA
I will have a fix in CVS shortly
Comment #5
hutch commentedComment #6
sicbot commentedThank you very much!
Replaced the line with the new one and it does not show in my search form block any longer. =)
Comment #7
hutch commentedDrupal certainly has its quirks, lol
Your firebug screenshot helped, I could see what was causing it straightaway.