Tips and Tricks

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
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
01 Apr

Admin Role for D7

A very useful module in D6 days called Admin Role. It attempts to convert the concept of the superuser (uid = 1) to a role; thereby allowing multiple users to be the superuser. Obviously a concept that should be in Drupal core.

Read More
04 Apr

Custom Panel pages shown as Tabs

Quick discovery I made last night.. might save some hair pulling:

In the past I have added tabs using panels (or views) to std node tabs or user tabs… I simply would set their path's to something like node/%node/tab1 or user/$user/tab1

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