Configure Environment Indicator 7.x-2.x

Note that the Environment Indicator (envindicator) project was a complete rewrite of Environmental Indicator. This project has been incorporated back into Environment Indicator (environment_indicator) as part of the 7.x-2.x branch.

Key differences with the 7.x-1.x release:

  • You can configure all your indicators from one place.
  • You can position your indicator to not to interfere with your design.
  • You can control permissions per environment. This way you can show the indicator for anonymous users in all the environments except for production.
  • You can export your configurations to code and include them in GIT.
  • It can be used on dynamically generated environments.
  • Your site builders won't need to access your settings.php.
  • It's integrated with the features module.
  • It's integrated with the Toolbar module.
  • Integration with Admin menu module.

insert inline images using wysiwyg and ckeditor

The Picture module allows you to use picture groups created with inline image inserted in body field with WYSIWYG or CKEditor modules. This currently requires the dev version of Picture.


Picture settings

Navigate to Picture settings (admin/config/media/picture/ckeditor) and enable the picture groups which will be available in the ckeditor (the library) image dialog box.

You can set for each group his weight (in the select list) and the fallback image style
picture ckeditor settings

Filter Text format

Navigate to the text format (admin/config/content/formats/full_html for the Full HTML Format) on which you want use picture module and enable the filter Make images responsive with the picture module.
filter text format picture module

You have to move Make images responsive with the picture module below Convert line breaks into HTML (i.e. <br> and <p>) if it is enabled, otherwise you'll get empty lines above the picture.



PHPLighter is a re-implementation of codefilter using the library PHPLighter.

Installation instructions

  1. Copy the phplighter folder to your website's sites/all/modules or sites/ directory.
  2. Download the PHPLigther package from inside the module folder. You will have something like sites/all/modules/phplighter/PHPligther
    Instead of download a zip, you can just clone the entire repository:
    cd sites/all/modules/phplighter
      git clone git://
  3. Enable the phplighter.module on the Modules page.
  4. Go to Configuration > Text formats. For each format you wish to add Code Filter to:
    1. Click the "configure" link.
    2. Under "Enabled filters", check the Code Filter checkbox.
    3. Under "Filter processing order", rearrange the filtering chain to resolve any conflicts. For example, to prevent invalid XHTML in the form of <p><div class="phplighter"> make sure "Code filter" comes before the "Convert line breaks into HTML" filter.

Add a relationship to a view

When you first create a view, you select the base table such as Comments, Content, Taxonomy terms. This cannot be changed later. After that selection you only be able to select fields from that Base table. For example, with a Content view, you can get the User ID of the author, but not the author's username. To get that information you will need to create a Relationship to join these two tables. With the connection of User ID, you can get the author's username from the User table.

  1. Navigate to the edit screen of a view (for example, admin/structure/views/view/MYVIEWNAME ) In this case we're editing a Content listing.
  2. In the right column, click Advanced.
  3. In the Relationships area, click Add.
  4. There are many tables you can join to the content listing. In this case, search for "author" options, and select Content: Content author. Click Apply.
  5. Next you can set the administrative title, though the default should be sensible enough. You can also opt to "Require this relationship. This will hide content which doesn't have the relationship. Click Apply.
  6. Under Fields click Add.

Mailadmin and beyond

This guide explains how to use the Mailadmin module. Starting from scratch, we end with a running mail server, with a clean web administration interface. IMAP access is handled by Dovecot, and mail delivering by Exim4.

You'll need a working domain name.

This documentation has first be published here.


First, install Drupal7 on a web server equipped with a PostgreSQL database.
Then, install and activate Mail admin module, which comes with a "Mail admin shared domain list" sub-module.

For this, you may have to intervene on your database to actually finish the installation. If you run into "PDOException : SQLSTATE[42704]: Undefined object: 7 ERROR language "plpgsql" doesn't exists ; HINT : use […] to load the language in the db" during the module activation, you'll need to log on your PostgreSQL Drupal database with sufficient privileges to pass this command :
create language plpgsql

Copy and Run a Drupal Production Site on a USB Drive with USBWebserver

UsbWebserver provides a fully functional, portable WAMP stack that may be used to distribute or store a production Drupal site on a USB drive while retaining write-to-database functionality.My particular use case involves a Drupal 7 site with most of the content as Flash communicating between the client and server.

Getting and Setting up The UsbWebserve

Download the UsbWebserver version here.
You can read the manual of USBwebserver here
Please extract the downloaded file into your usb drive.
And Click usbwebserver application Icon
You will get a pop with the option of phpmyadmin and localhost.
Please clear the root folder in the usb drive and paste the drupal files and folders from the parent directory of respective drupal version.
Click phpmyadmin and create the database(database port no:3307).
Click localhost install your drupal website. (database port no:3307)

Else you can download the customized drupal7.19 with USBWebserver.
User Name: admin
Password : admin

Note :-

Please stop both services before you unplugging the usb drive . Otherwise it may cause to crashing the database.


Subscribe with RSS Subscribe to RSS - Needs copy/style review