Hi, thanks for this great module.

I've been trying it and I discovered that neither user 1 nor any user with appropriate permissions given can access node/%/widget.

Thanks!

Comments

Flying Drupalist’s picture

I forgot to mention that this is after I set the node types in the embed widgets settings of course.

Was there anything else I needed to do?

Thanks.

jtsnow’s picture

I'm not yet able to duplicate this bug. Have you given your user 'view widgets' access? Have you created a widget for that node (checkbox on node create/edit form)? That is strange that user 1 cannot access it. Try checking the 'embed_widgets' table in your database. There should be a widget there after you've created one. Also, the 'embed_widgets_source_map' should have an entry mapping your node to the widget.

Thanks for helping to debug the new version!

Flying Drupalist’s picture

I checked the database, both 'embed_widgets' and 'embed_widgets_source_map' has the entries. Hmm.

Flying Drupalist’s picture

I created a clean site to check, only enabled embed widgets, and enabled widgets on node and story, created a story with the widget checkbox checked. It was the same situation with the access denied on /node/%/widget, I only know about this url through looking at the module, there is no menu link to there either.

The only thing I can think of is, I'm using Drupal 6.11, might that have something to do with it.

Flying Drupalist’s picture

Category: bug » support
Status: Active » Closed (fixed)

I deleted the folder, and reinserted it in, then reinstalled, and it worked. I had 1.x there and just over wrote it, probably was a bad idea, a clean install was needed.

Thanks.