03 328 8646


Local Directory Links

Top Reviews.co.nz

It might not be 2003 anymore, but amazingly this strategy can still yield valuable results.

We do a lot of strategic analysis for our clients and one of the things that refuses to die is the value of inbound links from relevant, local content directories. They continue to send direct leads and valuable 'link juice' to our clients' sites.

Google Ads Strategy

Google Ads Logo

Appearing on more searches, which results in more site traffic & ultimately to more leads is the aim for online marketing through Google Ads.

If you search for a generic search phrase in your industry, you are likely to see around four ads (one of them expanded), then a map with a few more results, then if you scroll down, you'll see the top organic search results for that phrase.

Drupal Pitch Deck

The Styx Living Laboratory Trust Monitoring Page Graph

We were very pleased to see one of our projects in the official Drupal Pitch Deck.

There are some amazing projects in there across sports, governments, media & publishing, NGOs, charities, education, arts, travel, commerce, finance and more.

Drupal Commerce 2.x Notes & code snippets

Unless you know you want to be reading this you probably don't! It's currently a dumping ground for Commerce 2.x notes and code that we've come across and are likely to need again some time, maybe you need them too?


Formatting prices in code:

Use the

Drupal 8 Redirect to Latest Node

Problem: The website has a blog, events or something similar and it would greatly benefit editors, and external sites, to be able to simply link to the page for the most recent, or current, entity rather than having to update their links every time new content is generated.

Drupal 8 Address Fields and Google Maps

As of Dec 2017 you should probably be using https://www.drupal.org/project/geolocation_address_link instead of the project linked below.

Hide nodes without access permissions from manage content in Drupal 7

Once you have removed a site editors permission to edit & delete a page it will still show on the admin/content page of the site, and that can be useful for users to see the site structure.

Other times it can be confusing, and often causes at least a momentary thought glitch for the user before they go on to edit whatever it is they logged in for.

You can remove the node from the content listing page altogether if the current user doesn't have permission to perform any operations on it.

Just drop the following into your module and you're good to go.

Using LetsEncrypt.com

We've started doing some SEO work on a long time client's site and one of the quick easy wins was to shift it to SSL. It was an opportunity to try out Let's Encrypt to keep the price down in both cert cost ( which is pretty low these days anyway ) and developer time ( always expensive! ). Let's Encrypt is still in public beta at the moment but the process for Apache on Ubuntu is well documented on their site and very easy to follow.

Related items in Drupal Commerce (Commerce Kickstart)

There are two main ways to handle related items - without getting into complex matching - that apply as much in Drupal Commerce as any other system.

  1. Manually selecting items that relate to a given item
  2. Automatically selecting them by the grouping they belong to. In Drupal terms this is likely to be by their Taxonomy term(s) and this is the method we use below

Both are pretty simple to set up.

Style & Class attributes in Drupal CK Editor

Even with the Full CKEditor input profile/filter classes and styles get removed from elements. Sometimes clients need to add styles or classes to elements and having them stripped all the time is pretty frustrating.

Luckily there's a simple fix that can be added to the Custom JavaScript configuration under Advanced options at admin/config/content/ckeditor/edit/Full

Paste in :

config.extraAllowedContent = '*(*){*}';