[Drupal] Custom scrollbars with Overlay Scrollbars library

The road to custom scrollbars Reminiscing. I am currently working on a website for a video game reviews project I have had with an old friend of mine (FuuDoh). Obviously, I have switched to Drupal to get a result quicker than what I would get with the PHP only solution I have been working on …

[Drupal] Make the Search API Page search block appear in Bootstrap markup

When using Search API Page, I needed to theme the search form in the bootstrap structure. The cleanest answer I have found is to add some variables to trigger the bootstrap overrides on the search form. /** * Implements hook_form_FORM_ID_alter(). */ function MYMODULE_form_search_api_page_block_form_alter(&$form, FormStateInterface $form_state, $form_id) { // We need this to make our search_api_page_block_form …

Remise à zéro du thème

J’ai remis le thème par défaut suite à la mise à jour de WordPress. Il y a un grand nombre de nouveautés et l’ancien thème ne les prenait pas en compte de manière subtile. Je n’ai pas encore décidé si je voulais changer de thème, celui-là semblant fonctionner convenablement (et heureusement). Je vais peut-être apporter …