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!
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | 415990-63x-adv-help_2.patch | 1.42 KB | iamjon |
| #15 | 415990-63x-adv-help_1.patch | 785 bytes | iamjon |
| #12 | 415990-63x-adv-help.patch | 684 bytes | iamjon |
| noinputformat.jpg | 149.95 KB | dkane |
Comments
Comment #1
Talmi commentedI am having the same issue. Did you find a solution yet?
Thank you very much,
Kay (talmi@visionpearls.de)
Comment #2
e_wolf commentedI 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.
Comment #3
dkane commentedMy 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.
Comment #4
dawehnerso this can be marked as fixed
Comment #5
merlinofchaos commentedWe should write this up in the documentaiton.
Comment #6
Vote_Sizing_Steve commentedYes, yes, yes! I googled "input formats drupal views", but didn't get the Image assist connection until this page. Thanks.
Comment #7
cyberwolf commentedSubscribing.
The same issue occurs with the ImageField Assist module.
Comment #8
fatima commentedI'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?
Comment #9
summit commentedHi,
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
Comment #10
iamjon commentedHi 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,
Comment #11
anonymous07 commentedI 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
Comment #12
iamjon commentedThis 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.
Comment #13
dawehner.
Perhaps you could link this issue. The rest looks fine.
Comment #14
dawehner.
Perhaps you could link this issue. The rest looks fine.
Comment #15
iamjon commentedLinked
Comment #16
merlinofchaos commentedThis adds a new file but it doesn't add an entry to views.help.ini to put it into the hiearchy.
Comment #17
dawehnerThis patch will need a rerole again 7.x, because the paths are changed.
Comment #18
iamjon commentedOk let's try this again.
dereine, what do i need to change for 7.x?
Comment #19
iamjon commentedComment #20
esmerel commentedcommitted 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.
Comment #21
dawehnerIt's
Comment #22
dawehnerCommited the previous patch with a small change to 7.x-3.x