Casper - Manual Configuration

  1. Disable the "frontpage" view.
  2. At these locations /admin/config/people/accounts/form-display and
    /admin/config/people/accounts/display enable the following fields:
    • Profile Picture
    • Facebook
    • Website
    • Twitter
    • Bio
    • Full name
    • Google +
  3. Fill out the Casper configuration at admin/appearance/settings/casper
    • Front Page Title
    • Front Page Background Image
    • Website Logo

Google Storage

Google Storage support was recently added. This storage service makes use of the PHP API provided by Google. You will need the API along with your credentials and security keys to use this service.

To start using this, you must create a container for Google Storage. You will need your email address and the P12 formatted key provided by Google. Upload your key and provide your email address along with the bucket you want to use in the container creation UI.

Once the container is created, it can then be added to a class.

Honeypot: spam bot form protection

Honeypot uses both the honeypot and timestamp methods of deterring spam bots from completing forms on your Drupal site. These methods are effective against many spam bots, and are not as intrusive as CAPTCHAs or other methods which punish the user [YouTube].

Using a View to display the elements in the Autocomplete widget

Overview

This short guide is a how-to on using a View to display the elements in the Autocomplete widget of the Entity Reference module.

Example Use Case

A user wants to show in the Autocomplete widget of an Entityreference field the node ID next to the titles in the dropdown list. The reason behind the idea is to differentiate between multiple nodes with same title.

Example:

For Drupal 8

This module allows you to add "conditional-stylesheets" in a much simpler
manner, by adding lines to your theme's.info.yml file. The syntax for that is:

conditional-stylesheets:
EXPRESSION:
   MEDIA:
     css/style.css

where
  • EXPRESSION can be any of the "downlevel-hidden" expressions specified in: About Conditional Comments
  • MEDIA can be any of the normal CSS media keywords

Pages

Subscribe with RSS Subscribe to RSS - No known problems