Allowing Drupal 7.50 sites to be within an iframe

Following Drupal 7.50 upgrade, a security measure was introduced to avoid Drupal pages to be inserted in an iframe by default, causing the content not being displayed and having this error on the console:

Refused to display 'https://<site>.web.cern.ch/' in a frame because it set 'X-Frame-Options' to 'SameOrigin'.

Since we don't consider a good security measure revert back all the sites to previous configuration, this will be something up to site admins.In this tutorial we are going to see how it can be done properly.

CERN Search module - basic configuration

The goal of this tutorial is about learning how to index contents from a Drupal site in CERN Search. The intended scope is for users who never worked with the search module.

But before performing any action over configuration, it is needed to have the module installed. Log in to the Drupal site, and click on Modules. Enable the "CERN Search Index Tools" module. Once enabled, we can configure it.


Add a new role via e-groups to a Drupal site

Think: Is this a person, or is it a job that will continue after that person leaves? The latter: e.g. role = press officer.

First go to e-groups.cern.ch. Check if the group you want already exists before you create a new one. If it does, get the name. If it doesn’t, create new static group. e.g. press-office-editors

Back on your site, go to People>permissions>roles> add role Add the new name for the role, and THINK about which permissions that role needs.


Subscribe to Tutorials

You are here