Upgrade Your Drupal Skills

We trained 1,000+ Drupal Developers over the last decade.

See Advanced Courses NAH, I know Enough

How To Make Web Widgets Work With Drupal 7.50

Parent Feed: 

For users of the awesome Web Widgets module, you'll notice that it'll no longer work after installing Drupal 7.50. But after digging into this issue, I realized that the problem was much simpler than I had originally imagined (Drupal 7.50 supporting PHP 7). Sometimes all it takes is to just RTFM lol. Here's how to solve it:

1) Understand what the source of the problem is. The cause of the issue was "Protection against clickjacking enabled by default".

2) If you browse the topic, you'll notice a link to find out more. Click on it and pay attention to "How to override the default behavior".

3) It goes to an issue page for the Security Kit module. Judging by the fact that the issue page was created on 2/2/16, you can see that you'll need to use 7.x-1.x-dev instead of the usual 7.x-1.9, which was released on 5/6/14.

4) So install the module, and go to admin/config/system/seckit and disable "X-Frame-Options".

That should do it. Web Widgets will now work with Drupal 7.50. :)

Author: 
Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web