Tags: Intermediate

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.

Customised search page/block

An excellent views-based search page or block, free-text search, filters etc. Example at https://cathdev.web.cern.ch/extended-search

See http://nodeone.se/en/customized-search-page for screencast.

Note: to create a search block: in the View, click 'Advanced" and find 'Exposed Form". Select "yes" for "exposed form in block?". This then creates a block you can place anywhere, like a regular block.

Setting up multi-lingual sites

This is a guide to setting up multilingual sites from the viewpoint of a site-builder using Drupal's out-of-the-box options. The following is based on what worked for me, using Drupal 7 and standard CERN infrastructure. Guide started June 2012, using the 'old' CERN theme. I'll update this guide as I uncover more things with the new (late 2012) theme, and notes using other themes.

Subscribe to Tags: Intermediate

You are here