Use case: Public space, public section and write permission via group membership

Description

Public space with a public Discussion section.
Configure write permission managed via Group membership and not via direct space membership.

AddToAny

AddToAny module for Drupal 8

Share Buttons by AddToAny provides a nice suite of share buttons for Drupal. These include the AddToAny universal share button, Facebook, Twitter, Google+, Pinterest, WhatsApp and many more. The following discussion is a quick overview to help you get oriented to the configuration settings of this module.

Start by accessing the configuration page

Drupal 8 Video Embed Field: Defines a field type for embedding video

The Video Embed Field module allows you to create fields that contain embed videos from YouTube and Vimeo and show their thumbnail previews simply by entering the video's url.

It depends on the Field and the Field UI modules.

As with other fields a Video Embed field can be added to any bundle. This means you can add a Video Embed field to a user, a content type (news, event) or custom block.

Setting up remote debugging with PHPStorm and devwww

In order to run xdebug on our remote development servers, we need to do some configuration.

Debugging Web Requests:

First we need to configure .user.ini file in the htdocs directory. Apache will read this file and apply any changes it finds in there to the php invocation for web requests.

xdebug.remote_port=9035
xdebug.remote_enable=1
xdebug.remote_autostart=1

Debugging Drush Commands:

In order for drush to work with xdebug, we need to make the same settings changes to ~/.drush/drush.ini

HOWTO: Verify a site on Google Webmaster Tools

Step 1

Get your verification key from Google Webmaster Tools. Copy it to the window of an open text editor/

They should provide a snippet like this:

<meta name="google-site-verification" content="SNlLSJ84GNvBdmKvskwkzHAdGH0Vd0xINXcdjuwJJT4" />

Remove the tags, quote marks etc, so you end up with this:

SNlLSJ84GNvBdmKvskwkzHAdGH0Vd0xINXcdjuwJJT4

Step 2

Make sure Metatag: Verification module is switched on - it installs with the main Metatag module.

Process plugin: explode

The explode plugin creates an array of strings, each of which is a substring formed by splitting the source on boundaries formed by the string delimiter.

One use case is for building the theme and color configuration setting name from the Drupal 7 variable name. For example, to convert theme_bartik_settings to bartik.settings.

Pages

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