Image assist causes input format option on Views and Panels to break

celtictigger - May 11, 2009 - 16:19
Project:Image Assist
Version:6.x-2.0-alpha4
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:duplicate
Issue tags:input format
Description

Hi,

raising this here as this seems to be the module common to both views and panels. The Input format options on Views (e.g. for "empty text" settings) are not working - you cannot select an input format from a list (works fine elsewhere on the site). As a result, PHP functions cannot be entered (e.g. for selecting a default image to display).

This affects both Views (6.2.5, using Views Content Panes 6.x-1.0-beta2) and Panels (6.x-3.0-beta1), so I'm guessing it is likely to be a Ctools issue (but could be wrong)

I am able to work around the issue for now (hard coding a path to the default image) but it is an embuggerance and doesn't make for an easy port over to production site.

The issue was raised here as well http://drupal.org/node/418438 . I've disabled all jquery-related modules I could find (apart from Views and Panels) without any change, so the root cause suggested there isn't helpful. The screenshot posted there (http://drupal.org/files/issues/noinputformat.jpg) illustrates exactly the problem I'm having.

#1

merlinofchaos - May 11, 2009 - 16:38
Status:active» won't fix

This only happens on the Views UI? CTools is unlikely to be involved there.

#2

celtictigger - May 12, 2009 - 08:58

It also occurs when I am creating a Custom Panel pane in Panels - I can't select to use PHP input formats and the input format is fixed at "Filtered HMTL".

If CTools not the cause, any suggestions which tree I should shake as this is an irritating issue?

#3

chrism2671 - July 29, 2009 - 10:31

I have the same problem with Panels. I found that disabling Views allows the input format on Panels to be set, but it's a hack and a half.

#4

jboeger - July 30, 2009 - 03:35

Subscribing... I'm not able to change the Input Format in Views-6.x-2.6

Tried changing themes, browser, etc.

#5

chrism2671 - July 30, 2009 - 11:00

Disabling Views-UI seemed to fix the selector on Panels!

#6

merlinofchaos - August 3, 2009 - 20:35

Just an FYI, I run with Views & Panels together all the time. For some strange reason. I've *never* seen them compete for airtime. There has to be a 3rd party involved here. Usually when this happens there should be an error in the javascript console, that might help too.

#7

chrism2671 - August 19, 2009 - 16:14

Got it I think. The module that disrupts input format for panels appears to be img_assist. When disabling this module, all is well. I am disabling it in order to edit panels, and the re-enabling it afterwards. Appears to be the culprit.

Disabling views will also fix this problem as img_assist is dependent upon views.

#8

swiftarrow - August 23, 2009 - 14:44
Project:Chaos tool suite» Views UI: Edit Headers/Footers
Version:6.x-1.0-beta2» 6.x-1.0
Status:won't fix» needs work

Hi I can confirm this problem using Views. I cannot select the input format for any of the Views Static text fields (Header text, Footer text, or Empty Text). The problem comes when I want to use HTML. It uses filtered HTML format, and won't let me choose any other.

The "Input Format" option is there, but it is not a hyperlink - just plain text. Not clickable, nothin.

I'm changing the project to Views UI, since it seems more appropriate.

I hope we can get this fixed... I'm sorry I'm no programmer!

#9

swiftarrow - August 23, 2009 - 14:45
Status:needs work» active

sorry, wrong status!

#10

swiftarrow - August 23, 2009 - 14:55
Project:Views UI: Edit Headers/Footers» Image Assist
Version:6.x-1.0» 6.x-1.1
Component:User interface» Code

Ok, narrowed this down. It is indeed a problem with Image Assist.

Disabling Image Assist brings back the input format selector in the Views Header / footer / empty text.

Re-enabling it keeps our settings made while it was off, but the options are again gone.

It seems to only interfere with Views and Panels. I suspect that some code in this module could be altered to fix the problem.

All the best!

#11

tapinos - August 27, 2009 - 11:13

You can solve problem with Views this way: in the admin of Image Assist, just make Image Assist not displayed for the Views textareas.
In my case, I use Image Assit only for edit-body and edit-comments...therefore I set it to be displayed only for these two textareas.

I hope this helps.
Fabrizio

#12

chrism2671 - September 3, 2009 - 17:51
Priority:normal» critical

I tried the work around suggested in #11 but this does not fix it for Panels. As this disrupts at least 2 other modules, both of which are pencilled in for core in future releases, it makes it unsuitable for production sites, so ->critical.

#13

chrism2671 - September 3, 2009 - 17:51
Title:Input format option on Views and Panels not working» Image assist causes input format option on Views and Panels to break

#14

lazly - October 26, 2009 - 19:33
Version:6.x-1.1» 6.x-2.0-alpha4

This bug is represented in to site of my reference. Please try fix it. Thx!

#15

chrism2671 - November 25, 2009 - 18:14
Status:active» duplicate

Duplicate of #445594: Image Assist and Panels

 
 

Drupal is a registered trademark of Dries Buytaert.