wordpress vs drupal 2017

WordPress vs Drupal in 2017

written by Laurie Calcutt | February 2, 2017

The battle between the content management systems will hit fever pitch in 2017, or will at least mildly heat up as much as a CMS battle can. The two most popular systems are undoubtedly WordPress and Drupal. But which one will take number one spot this year, and which should you be using for your […]

Read full details

Check All for Checkboxes in a Drupal Table

written by kam | July 9, 2012

So you’ve got a Drupal table that consists of checkboxes and you want to have a ‘Check All’ feature? Simply add the following line into the first array item of the $header array: theme(‘table_select_header_cell’) And that’s all there is to it!

Read full details

Homepage settings for multi-language sites in Drupal

written by Karl Binder | April 12, 2012

When creating multi-language websites in Drupal you can use a number of modules to provide languages and translations. These include the Locale and i18n modules. However you may get stuck wondering why, despite translating your homepage node (for example node/1) into another language, it does not switch to the translated node when you choose a […]

Read full details

Why Drupal needs care and attention to its backend

written by Karl Binder | April 4, 2012

As an agency that has often used Drupal as its CMS and development environment we’ve come across countless projects that have had varying levels of experience from the customer who ultimately uses it. We’ve often been outsourced to by other agencies who have used us for the nuts and bolts development, while providing their own […]

Read full details

Generating ImageCache Image Derivatives in a module

written by kam | April 2, 2012

So you’re writing a custom module in Drupal 6 and you want to be able to create your own ImageCache Preset, and generate image derivatives on the fly? Look no further! Below is a snippet used to generate a preset: $imagecachepreset = imagecache_preset_save(array(‘presetname’ => ‘PRESET_NAME’)); Now, what I chose to do was store this imagecache […]

Read full details

Adding automatic ‘Read more’ to Drupal trimmed views

written by Karl Binder | August 18, 2011

One thing that has been niggling at me this week is the fact I could not get a trimmed Drupal view field – such as a node body – to show a read more link if it was shortened using the teaser format. I could add the node link field, but this would always show, […]

Read full details

Drupal (6): using the sub-domains functionality of the domains module, while using sub-folder type URL structures

written by Ed Genochio | August 2, 2011

THE PROBLEM Our client wanted all the functionality (content sharing, users, permissions, etc) that the Drupal domains module would allow if they used sub-domains like this: But they wanted to use a URL structure like this: We could not find any examples of this having been done before. Of […]

Read full details

Whilton Mill Go Karting

written by Karl Binder | July 13, 2011

We’re very happy to see the new Whilton Mill website go live this month. We’ve been working with Whilton Mill on their new site since the spring and have designed and built a new online booking/enquiry system for them that includes a new searchable database of all their activities.

Read full details


written by Karl Binder | March 11, 2011

Our developers are experienced in multiple programming languages but we predominantly work using PHP with open source software such as Drupal, Magento and WordPress. We develop bespoke modules for integrating websites into third party systems to cut down on duplication and make your website work harder for you. Areas of expertise: Drupal Content Management Drupal […]

Read full details


written by Karl Binder | March 10, 2011

I am Senshi is a fantastic collection of bespoke designed tshirts and clothing, demonstrating the Senshi brand. The website is built in Drupal 6 with Ubercart 2 and a collection of both open source and bespoke modules to integrate Royal Mail shipping, payment providers, animation, videos and so forth. – Ecommerce website development – Payment […]

Read full details

Home Options

written by Karl Binder |

Home Options provides access to a unique selection of local specialist retailers, design consultants and building craftsmen who can help transform and personalise your new home – and add value to the property. The London Collection. This is unique collection of interior design products sourced from boutique retailers and design studios in London and brought […]

Read full details

Developing Drupal Modules

written by Karl Binder | October 11, 2010

At Adhere we’ve been working with Drupal, the open source content management system, along with WordPress and several other systems for quite a few years now. They’ve come along way since the early days of Mambo and Joomla. For versions 5 and 6 we have developed quite a few bespoke modules for various client and […]

Read full details

Drupal set messages opening in a Lightbox/Thickbox

written by Karl Binder | September 25, 2010

Found this very handy for taking Drupal set messages and placing them into a styled thickbox popup window: <?php if ($messages): ?> <div id=”TB_overlay” class=”TB_overlayBG” onclick=”tb_remove()”/> <div id=”TB_window” style=”margin-left: -165px; width: 450px; margin-top: -97px; display: block;”> <div id=”TB_ajaxContent” class=”TB_modal” style=”width: 430px;”> <?php print $messages; ?> <p style=”text-align: center;”><input id=”Login” type=”submit” onclick=”tb_remove()” value=”  Ok  “/></p> </div> […]

Read full details

Count total number of Drupal Nodes of a specific type

written by Karl Binder | August 2, 2010

This little snippet below is handy for getting the total number of nodes on the site of a specific type. In this case I am using it to get the total number of nomination type nodes added to a website. <?php // for Drupal 6.x $count = db_result(db_query(“SELECT COUNT(*) FROM {node} WHERE type = ‘nomination’”)); […]

Read full details

Sharing Drupal web pages on Facebook

written by Karl Binder | July 10, 2010

Currently I’m using a couple of community based websites and am looking to add into the node creation flow in Drupal an option to share a node you have just created on Facebook. The process would be Create node > Node (add) form Submit Share to Facebook (popup window) View node I’ve looked into downloading […]

Read full details

Drupal – manually creating graphs with View variables

written by Karl Binder | April 24, 2010

This PHP snippet is pretty customised but shows how you can use variables passed in a view to created more graphical representations of the results with just CSS and no need for a graphs module. This snippet calculates percentage heights of a total graph area for each node in the view result and then sets […]

Read full details

Drupal – Getting a term count via a view

written by Karl Binder |

This snippet can be used within a view template to get a node count in a term that is passed via a view: <?php $tid = $fields[‘tid_1’]->content; // replace this field with the field you pass in the view print $tid_1; $tcount = taxonomy_term_count_nodes($tid); print $tcount; ?>

Read full details

Content Management Systems

written by Karl Binder | March 11, 2010

What is content management? Content management is a method of controlling content on a website from within a database. This allows content to be separated from the HTML code that makes up web pages altogether, this in turn allows you to change the design without editing content and allows you to reuse content in multiple […]

Read full details

Website Brochures – Dynamic Flash Page Flipping…

written by Karl Binder | February 25, 2010

This week we’ve been experimenting with some page flip software. We’ve started with an excellent plugin from and have been working on integrating it with a CMS. The way the plugin works is it creates a flash file from a list of images of SWF files from an XML list. So we have set […]

Read full details

Drupal Block visibility based on TERM: Site Sections

written by Karl Binder | January 12, 2010

<?php // This snippet returns TRUE if the node we are // currently viewing is tagged with a term which is // the ‘desired_term’ and we are not in edit mode (arg(2)).  // put here the term ID you’re interested in $desired_term = 59; if ( arg(0) == ‘node’ and is_numeric(arg(1)) and arg(2) == FALSE […]

Read full details