Blog Archives

Adding Entity Wrapper Class from Field Value using Display Suite

NOTICE: This works fine in Drupal 7. For Drupal 8 please see https://www.drupal.org/node/2863420 Sometimes as a developer you need to provide your Drupal authors with the ability to choose different variations of a particular content object. For example, imagine you have a Callout paragraph bundle

Tagged with: , , , ,
Posted in Tech Tips

Adding a Custom Token to the Ubercart (before version 2.3) Email Templates

This tutorial is for Ubercart versions earlier than version 2.3. There is a newer version of this example for Ubercart 2.3 or later. In this post I’ll show how to set up an extra token for use in an Ubercart template. This will

Tagged with: , , , , ,
Posted in Development

Adding a Custom Token to the Ubercart (version 2.3 or newer) Email Templates

This tutorial is for Ubercart versions later than version 2.3. If you’re using an older version of Ubercart, you’ll want to see this example. This example is very similar, but accommodates the changes made to the template system in Ubercart. In this post I’ll show how

Tagged with: , , , , ,
Posted in Development