Tips and Tricks

26 May

Common Drupal Terminology

There is a lot of terminology specific to Drupal and it is easier when your clients get used to the odd language you are using. This is made overly complicated by the Drupal community sometimes messing up these terms by making them ambiguous or contradictory.

Read More
09 Jan

Change field type of a field with existing data.

This came up today and did a little bit of digging and testing to find a solution.

Read More
07 Aug

How to use AJAX to fill in a date field from an entity selected using an entityref autocomplete field.

One of the things most startling about Drupal 8 is the lack of documentation or false documentation on many simple everyday tasks. I went looking for how to set a (date) field on an entity form when another entity was selected from an entity reference autocomplete field on that form.

Read More
23 Jul

How to create an Ionic 5 popover.

I found a few examples of setting up a popover in an Ionic 5 app; but most seemed to be missing some small piece. After getting it to work I thought I would post my recipe.

Read More
03 Dec

How to get rendered, rewritten field results from Drupal 8 view.

It took me a while to track this down so I wanted to post it somewhere. In the past I would have posted to api.drupal.org but it seems as though that has been rendered useless in D8 as each new release of D8 (8.3, 8.4, etc) hides the previous comments.

Read More
10 Feb

Convert Views display to Master display

Thanks to jedihe for posting this great tip: https://www.drupal.org/node/2313791#comment-11469881

$view = views_get_view('machine_name_of_my_view');
$source_display = 'machine_name_of_the_overridden_display';

Read More
27 Jul

Peter speaking at DrupalCamp Ottawa 2015

DrupalCamp Ottawa 2015 was held at the University of Ottawa on July 24. It is a 1 day Drupal camp for Drupal users, developers, site builders and those just wanting to check out Drupal for the first time.

Read More
22 Apr

Can't clear taxonomy cache in D6 - don't use static vars in D7

Just stumbled upon this core bug today and thought i would post for a couple reasons:

Read More
13 Apr

Patches to support i18n in D7

We are currently involved in multiple bilingual Drupal 7 projects. As we proceed with development we are coming across numerous i18n related issues. I thought it might be useful to list the various issues/fixes/patches/solutions we are providing all in one spot.

Read More
09 Apr

How to: Language Switcher Menu Item

For many bilingual websites, the standard Language Switcher block that comes with the locale module (shows both language links in one block)  will suffice.

Read More

Pages

About

LiquidCMS can help your organization with ALL things Drupal. Full site architecture and design, module development, theme design, mobile app development, training, hosting, content and feature migration to Drupal and more.

 

GET IN TOUCH