Synonyms with Search API

Submitted by christophe on Sun, 08/03/2020 - 17:34
Here is a really simple way to handle synonyms (or extra keywords) using Search API out of the box with a database server and no custom code involved. Use case: we want to do a full text search based on synonyms that does not appear on the frontend. These ones should be set from the Tags vocabulary. The method should be flexible regarding translations, available for content editors and easily generalizable.

Get local Instagram api credentials with Ngrok

Submitted by christophe on Thu, 12/12/2019 - 17:57

It can be long to find the way through the documentation for these simple steps, so here is a shortcut.
Go toĀ https://www.instagram.com/developer/clients/manage/ and get a Client ID and Client Secret.

Ā 

  1. Start a local server
    php -S localhost:8000

    Ā 

  2. Start Ngrok and get the forwarding url
    (e.g. http://my.ngrok.io)
    ./ngrok http 8000

    Ā 

Tags

Install CiviCRM 5 with Drupal 8 using Lando

Submitted by christophe on Mon, 15/10/2018 - 22:01
CiviCRM is an old Drupal 7 friend and its relationships with Drupal 8 are in a pretty good way. Let's make them meet the Composer template for Drupal projects, a widespread setup that stores the vendor directory outside of the docroot. Lando will host the party by spinning up a local environment, however this method should be generalizable with any other development environment.

Lando configuration for Search API Solr with the Umami profile

Submitted by christophe on Mon, 03/09/2018 - 21:42
A walkthrough to join the dots between two posts about setting up Lando for DrupalĀ and Solr for Drupal with Search API, and also a good opportunity to cover all the stepsĀ to spin up an evaluation or development environment for this setup. Lando comes with the great benefit for a team to share the server configuration alongside the project, so we have a predictable environment to deploy in production and do not add configuration maintenance overhead on the team, especially in the case of more advanced setup like Solr, Varnish, decoupled setup, ...