For a lot of my recent projects I have used the Omega theme as the base theme, I love the whole responsive design support and grid system. But when you create a Panels page and choose a layout you don’t get the same grid support as you do with Omega.
In this article I’ll show you how to create a grid layout as a custom panels layout. We’ll then apply this layout to the node_view (/node/%node) page.
In part 2 of this Display suite series, I’ll show you how to create custom view modes and how to expose blocks as a field. Also don’t forget to check out theDisplay Suite for Drupal 7 playlist on youtube.
Custom views modes
In Drupal 7 entity view modes have become a lot more powerful. With Display suite you are able to create custom view modes for any node or comment, without writing any code.
To create a custom view mode, click on the View modes link from the Display suite administration page.
The Display suite is a powerful module which allows you to customise the node view page without writing any code. You can apply custom layouts as well as custom fields without a module. Configuration of this module is fully exportable with features.
In this post I’ll show you how to get started and how to create a layout. In part 2 (coming soon), I’ll show you how to create custom view modes and how to expose blocks as fields. Also don’t forget to check out the Take Full Control of Your Site Layout with Display Suite for Drupal 7 video from DrupalCon London.
To get started go to http://drupal.org/project/ds and download the modules into “sites/all/modules”.
If you haven’t already, also download and enable the Chaos tool suite module. Display suite requires it.
The Field Slideshow makes it easy to create a slideshow from just an image field.
With Fields in core for Drupal 7 we also got a more powerful display formatters for fields. Fields now ship with their own formatter settings forms and make it really easy to change the display of a field, and Field Slideshow really make use of this.
For more details check out the Field Slideshow project page.
The first thing you have to do is download Field Slideshow and place it into sites/all/module. Then go to Administration >> Modules and enable the module.
Update: This tutorial is out-of-date. Please go to Search API’s getting started page for up-to-date documentation.
The Search API is a Drupal 7 search framework module. It allows you to create custom search pages on any URL and integrates with a few search backends.
In this article I’ll show you how to setup Search API with Apache Solr on a mac (10.6).
For more details check out the Search API project page.
If you already have solr setup skip to the Search API section.
Setup Apache Solr
The first thing we’ll have to do is setup Solr locally. Make sure you have Java installed, if your using OSX 10.6 and keep it up to date you should be fine.
The backup and migrate module is an awesome module that you can use to create a MySQL dump file. You can use it to schedule database backups to the server filesystem, remote FTP server or even an amazon s3 bucket.
In this post I’ll demonstrate how to setup a scheduled backup to a remote FTP server.
Like all Drupal contrib modules, just download the module and copy it into sites/all/modules and enable the module.
When I upgraded zugec.com to Drupal 7 I had to find another syntax highlighter because the previous one that I used in Drupal 6 was GeSHi but this module hadn’t been upgraded to Drupal 7 at the time. I searched around and found Syntax Highlighter module which uses the SyntaxHighlighter library.
In this post I’ll demonstrate how to setup and use SyntaxHighlighter in a Drupal 7 site.
UPDATE: Setup GeSHi on Drupal 7