I am building some views and I'd like to put some custom code in the footer of the view that shows a link to an edit page only if the user is logged in. I have a PHP snippet I am using to do this, and it worked fine on a few of my views, then all of the sudden I was unable to select the input format I wanted to use in the footer. The "Input format" header shows up, but there is no way to select what I want that format to be. It shows up under the basic settings as "filtered HTML" even if I set the default input format to PHP evaluator.

I can still access all the regular input formats on my other pages (ie. create content >page), this problem seems to be isolated to all of my views. Even the ones I originally set to PHP evaluator now show up as Filtered HTML. I have enclosed an image of view so you can see what I'm talking about.

Thanks for your help!

Comments

Talmi’s picture

I am having the same issue. Did you find a solution yet?

Thank you very much,

Kay (talmi@visionpearls.de)

e_wolf’s picture

Issue tags: +views, +Image Assist, +input formats

I had the same issue, and I resolved it in this way:

1) First FIND the CAUSE of the PROBLEM
I switched from Firefox to IE, just to see if the problem manifests in the same way.
When I tried to change the input format, an error notice in the IE appeared: 'Error: Drupal.settings.img_assist.link is null or not an object'.
The problem, in my case, was related to the Image Assist module, so it was necessary to configure it not to be displayed on header/footer textarea of the block.

2) Then I went to Site administration-> Image assist ->Access settings, Display Image assist
checked NOT on specific paths:
and put
admin/build/views/ajax/display/*

3) After that, it is possible to to change the input format again.

Hope this will help you.

dkane’s picture

My Friend, you are a genius!

While I wasn't getting the error message you were, I decided to try it out just for "S&G"s anyway. It worked perfectly.

Problem solved. Thank you very much for your help.

dawehner’s picture

Status: Active » Fixed

so this can be marked as fixed

merlinofchaos’s picture

Component: User interface » Documentation
Category: bug » task
Status: Fixed » Active

We should write this up in the documentaiton.

Vote_Sizing_Steve’s picture

Yes, yes, yes! I googled "input formats drupal views", but didn't get the Image assist connection until this page. Thanks.

Cyberwolf’s picture

Subscribing.

The same issue occurs with the ImageField Assist module.

fatima’s picture

I've been trying to add a Header and Footer in views and they won't show up. I can see them in the preview but I can't see them on the page. And it doesn't matter why input format I select. Any idea why?

Summit’s picture

Hi,
I tried 2# http://drupal.org/node/415990#comment-1477726 , but this did't work.
I also have fckeditor working. Tried exclude the path also with fckeditor. Didn't work also. I am on Vieuws 3.dev. is that different may be?

EDIT: It worked, but I had to do admin/build/views/ajax/* instead of admin/build/views/ajax/display/*

greetngs, Martijn

iamjon’s picture

Assigned: Unassigned » iamjon
Status: Active » Postponed (maintainer needs more info)

Hi everyone,
I would like to know if anyone who is still using image assist is still running to this problem. If so I'll write up some docs. Otherwise it may be time to close the issue.
Best regards,

anonymous07’s picture

I am still seeing it ... I thought it didn't work until I saw the more recent post stating that you should use this syntax:
admin/build/views/ajax/*

That did the trick!

Drupal 6.19, Views 6.x-3.x-dev, Image Assist 6.x-3.x-dev

Thank you

iamjon’s picture

Version: 6.x-2.3 » 6.x-3.x-dev
Status: Postponed (maintainer needs more info) » Needs review
FileSize
684 bytes

This is the first draft of the doc, it's pretty small but doesn't fit anywhere that exists so I've created a misc-notes section.

dawehner’s picture

Assigned: iamjon » esmerel
Issue tags: -views, -Image Assist, -input formats

.

Perhaps you could link this issue. The rest looks fine.

dawehner’s picture

Issue tags: +views, +Image Assist, +input formats

.

Perhaps you could link this issue. The rest looks fine.

iamjon’s picture

FileSize
785 bytes

Linked

merlinofchaos’s picture

Status: Needs review » Needs work

This adds a new file but it doesn't add an entry to views.help.ini to put it into the hiearchy.

dawehner’s picture

This patch will need a rerole again 7.x, because the paths are changed.

iamjon’s picture

FileSize
1.42 KB

Ok let's try this again.
dereine, what do i need to change for 7.x?

iamjon’s picture

Status: Needs work » Needs review
esmerel’s picture

Status: Needs review » Fixed

committed to 6.x 3.x with a note that the d7 paths are different. I don;t have a 7.x views install yet so I didn't add the actual paths in.

dawehner’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Fixed » Patch (to be ported)

It's

admin/structure/views/ajax/
admin/structure/views/ajax/*
dawehner’s picture

Status: Patch (to be ported) » Fixed

Commited the previous patch with a small change to 7.x-3.x

Status: Fixed » Closed (fixed)
Issue tags: -views, -Image Assist, -input formats

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