-
Custom 'no results' handler in Drupal 8 Views
I recently had a requirement to have different 'no results' text display under different circumstances on a Drupal 8 site I was working on. It was much simpler than I thought and I'll share the text snippet I used.
-
"Uncaught PHP Exception InvalidArgumentException: "$string ("") must be a string." when defining new permission in Drupal 8
I recently defined a new permission in a custom module in Drupal 8. When trying to access the permissions page to assign roles to the permission I got an error.
-
My first Contrib module: Comment IP
My first contrib module. If you suffer comment spam from persistent sources, then this module might be useful to you!
-
How to reorder the date format of a Webform date-picker
In this post I'm going to explain how you can reorder the date format of the date picker in a Webform. By default the format is m/d/y which if you're a non-American is not ideal!
-
Drupal Camp North West 2012 review
Myself and other members of CTI Digital spent this weekend at Drupal Camp North West at Media City UK. Drupal Camp is like a mini regional Drupal Con with talks, workshops, stalls - all related to Drupal.
-
Drupal Camp North West!
The first Drupal Camp North West is on the horizon!
-
Drupal Form #states inverting for 'checked' => TRUE
I was recently working on a site where I wanted to use the '#states' key in a form using the Drupal 7 Form API. If you haven't come across this yet its a great way to only show a field depending on a certain set of circumstances.
-
Drupal 7 URL's not directing to subdirectory
How I made a basic mistake which lead to all of my URL's pointing at the base directory.
-
Drupal Con - London 2011
This year I was extremely fortunate to be given the opportunity of attending the 2011 European Drupal Con in London. The five day conference was held in and around Fairfield Halls in East Croydon and involved talks and discussions amongst the Drupal community about the future of Drupal, best practices and showing new innovations which could contribute to delivering better solutions.
-
Adding Vimeo videos through Drupal
Following on from my previous post ‘Getting thumbnails using the Vimeo API in PHP’ I thought I’d take a look at what solutions are available for those people using a CMS to integrate with Vimeo, firstly Drupal.