Closed (won't fix)
Project:
Colorbox
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2010 at 11:14 UTC
Updated:
22 Nov 2012 at 00:29 UTC
Jump to comment: Most recent file
Comments
Comment #1
xamanu commentedAre you logged in? This form wouldn't be available for you.
But I can confirm this when using custom forms, defined outside from core. Is there a good way to debug this?
Comment #2
xamanu commentedThe module checks just for some specific forms:
This is not really extensible. Wouldn't it make sense to pack an array like array($form_id => $access_callback) and use a drupal_alter() before checking all stuff? This would at least allow other modules to provide more form to load for colorbox.
I attached a little patch for that. Please review.
Comment #3
leilyrken commentedI need exactly that.
Comment #4
frjo commentedA hook_colorbox_form_access is already implemented.
Do you think I should change it to a drupal_alter()? It looks a bit nicer code wise.
Comment #5
charlie-s commentedI am logged in as admin (uid=1) and receive this error when attempting to link to an Ubercart add-to-cart form.
Edit: Upon reading #2 I see that this module only allows you to link to a handful of core forms. The patched method sounds more appropriate.
Comment #6
stred commentedyes it's not really obvious to know that the module implement his own form_access... permissions are already defined in the form so for custom forms it looks like doing the job twice !
great module anyway
Comment #7
jwilde commentedThis problem still exist in drupal 7.
Comment #8
ParisLiakos commentedThere is handy hook..just use this to enable acces
Comment #10
prodigeek commentedI'm still getting this message, testing on the full and dev versions. I've even tried using the hook and the patch (and cleared my cache) but I'm still getting this error. The register link also gets the error: Request unsuccessful: Not Found
Thank you in advance for your help.
Michael
Comment #11
tomas.teicher commentedI have the same problem as in #10 prodigeek, using D7
Comment #12
johnnyk-1 commentedhaving same problem, I am using D7.
video preview thumbs show up, but still get the error message when the white box opens: "Request unsuccessful: Forbidden."
has anyone had any luck solving this mystery?
Comment #13
joetower commentedI'm having the same issue.
Comment #14
tike012 commentedI can verify the problem still persists.
In my case I am trying to bring up the comment form (id="comment-form") and my hook looks like this:
I still get the Forbidden message after clearing caches and all that jazz.
Comment #15
ParisLiakos commentedtry with 'comment_form'
it doesnt ask for the HTML id of the form.rather the value of the
<input name="form_id">:)Comment #16
frjo commentedComment #17
frjo commentedThe attempt to support opening various forms in a Colorbox was in hindsight never a good idea. Form error handling and form redirects are complicated, a lot of code would be needed to do it correctly. The 7.x-2.x branch removes the form support from the Colorbox module.
Comment #18
midmood commentedI have the same problem,
anonymous users can't watch the video in the color box. Thumbnail correctly shown.
admin can.
I checked permissions, file types display many time, but can't find nothing relevant.
you can see the problem here: link to the videogallery