PageEar module allows you to add a PageEar (also known as Page Peel, Peel Ad, Peel Away or Magic Corner) to your Drupal website.

This is a Drupal implementation of the excellent PageEar by WebPicasso Media

By default, once enabled on its settings page, PageEar module will display a PageEar on every page of your site. If you need to control which specific pages or sections of your site should receive a PageEar instead of all pages, see instructions below on installing and using the Condition module, which will enable you to precisely control which pages/sections of your site will have a PageEar added.

Setup

  1. After installing PageEar module, proceed to the PageEar configuration page at:
    Administer > Site configuration > PageEar (admin/settings/pageear).
  2. Enable PageEar by checking the "Enable PageEar" checkbox.
  3. Choose a 100x100 and a 500x500 image to upload for the PageEar.
  4. Customize the additional settings to your preference, and press the "Save configuration" button at the bottom of the page.

Using PageEar with Condition module

By default, PageEar module will display a PageEar on every page of your site.

The optional Condition module can be installed to further restrict when the PageEar should be displayed (e.g. only on specific pages, only for certain roles, only when certain PHP code returns TRUE, etc). After installing Condition module, new options will appear on the PageEar settings page.

Here is an example of the basic steps to configure PageEar + Condition module together, using the "Requirement: Pages" mode of Condition module:

  1. From the PageEar settings page at Administer > Site configuration > PageEar (admin/settings/pageear), click the "Add a condition first" link from within the "Conditions" fieldset (or if you prefer, go directly to the Condition module settings page at Administer > Site configuration > Conditions (admin/settings/condition) and click the "Add" link).
  2. For the name of the condition, type a name, such as PageEar.
  3. Expand the "Requirement: Pages" fieldset, and choose either "Except on the listed pages" or "Only on the listed pages", depending on your needs.
  4. If you chose "Except on the listed pages", then enter the paths to the pages/sections of your site where you do NOT want PageEar to show up (it will show up then on every unlisted path). Conversely, if you chose "Only on the listed pages", then enter paths to the pages/sections of your site where you want PageEar to show up. You can use the wildcard character * to flexibly configure your paths.
    An example path is user/* which would display PageEar (or not display, depending on the setting) on all user profile pages, such as example.com/user/1.
  5. Press the "Save Configuration" button.
  6. Return to the PageEar settings page at Administer > Site configuration > PageEar (admin/settings/pageear), and expand the "Conditions" fieldset. Change the select menu to the "When ALL selected conditions are met" option, and select the PageEar condition's checkbox below. Press the "Save Configuration" button. PageEar + Conditions are now successfully configured, and PageEar should now display (or not display) on the paths you have specified.