Skip to content
Code Snippets
Useful code to copy and paste
  • ALL
  • Acquia
  • Acquia API
  • Acquia Cloud IDE
  • Acquia Cloud Site Factory
  • Bash
  • Bootstrap
  • C#
  • CSS
  • curl
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspberry Pi
  • Terminal
  • Unity
  • Website Templates
  • WordPress

Category: Drupal 8-9

Block an IP address with .htaccess

May 8, 2023 Leonardo Signorelli

In case you have identified an unusually high number of requests from a particular IP address with nefarious intentions, we…

Continue Reading →

Posted in: Apache, Drupal 8-9, Terminal, WordPress Filed under: .htaccess, Block IP address, Drupal, terminal, wordpress

Upgrade Drupal core from 9.4.8 to 9.5.0 (Acquia Cloud IDE + Acquia Cloud Platform)

December 30, 2022 Leonardo Signorelli

I’m using my Acquia Cloud IDE instance, but you should be able to follow these steps on your local Drupal…

Continue Reading →

Posted in: Acquia, Acquia Cloud IDE, Drupal 8-9, Drush Filed under: Acquia Cloud, Acquia Cloud IDE, Acquia Cloud Platform, Drupal 9, Drupal Core, Drupal Core 9.5.0

Drupal: Limit which text formats are available for each text field

December 23, 2022 Leonardo Signorelli

If you are looking for a way to limit which text formats are available for each WYSIWYG text input on…

Continue Reading →

Posted in: Drupal 8-9, Drupal Modules, Drush Filed under: Allowed Formats, Drupal 10, drupal 8, Drupal 9, Drupal Module, Drupal modules, Drupal8, Text formats

Install a new Drupal Application with Acquia Cloud IDE

November 23, 2022 Leonardo Signorelli

Open your Cloud IDEClick the “Reset Workspace” button or execute: /ide/reset-workspace.py Clone your Cloud Platform repo inside the project folder:To…

Continue Reading →

Posted in: Acquia, Acquia Cloud IDE, Drupal 8-9, Drush Filed under: Acquia, Acquia Cloud, Acquia Cloud IDE, Drupal, Drupal Installation, drush, Install Drupal

Acquia Cloud Platform: Upgrading a Drupal 9 site from PHP 7.4 to PHP 8.0 using Acquia Lando

September 19, 2022 Leonardo Signorelli

PHP 7.4 is coming to an end of life! So I need to upgrade to PHP 8.0 ASAP! From Acquia’s…

Continue Reading →

Posted in: Acquia, Drupal 8-9, Drush, Lando, MacOS Filed under: Acquia, Acquia Cloud, Acquia Lando, Drupal, drupal 8, Drupal 9, Drupal8, drush, lando, PHP 8.0, PHP 8.0 Upgrade, PHP Upgrade

Configure a Local Drupal Development Environment using the Acquia Plugin for Lando (MacOS)

September 6, 2022 Leonardo Signorelli

In collaboration with Acquia, the Lando team has built an open source Acquia plugin for Lando.  The plugin: Mimics Cloud…

Continue Reading →

Posted in: Acquia, Drupal 8-9, Drush, Lando, MacOS Filed under: Acquia, Acquia Cloud, Drupal 9, Drupal8, drush, lando, MacOS

Launch a Drupal site in Acquia Cloud Platform

August 31, 2022 Leonardo Signorelli

Acquia Cloud Platform offers the most scalable and secure digital experience platform for building, launching, and managing Drupal applications. Create…

Continue Reading →

Posted in: Acquia, Drupal 8-9 Filed under: Acquia, Acquia Cloud, Drupal, Drupal 9, Drupal8

Custom Drush Commands

October 11, 2019 Leonardo Signorelli

Goal: Increase the image storage size for the “Single Page – Page Header Row” from 256kb to 512kb. Admin URL:…

Continue Reading →

Posted in: Drupal 8-9, Drush Filed under: drupal 8, drush

Add the Edge-to-edge option to the Single Page – Custom Row

June 24, 2019 Leonardo Signorelli

After login as an administrator to the required site, go to the following URL address: cms.staging.uccs.edu/nameofthesite/admin/structure/paragraphs_type/single_page_custom/fields uccs.edu/nameofthesite/admin/structure/paragraphs_type/single_page_custom/fields Then make sure…

Continue Reading →

Posted in: Drupal 8-9 Filed under: Drupal8

Read values from an external XML using PHP json_encode and JavaScript

June 11, 2019 Leonardo Signorelli

Example of how to read values from an external XML using PHP json_encode and JavaScript. Read in the values from…

Continue Reading →

Posted in: Drupal 8-9, HTML, JavaScript, PHP Filed under: Drupal8, html, javascript, PHP

Post navigation

Page 1 of 3
1 2 3 Next →

If you find my articles useful and would like to show your appreciation, consider buying me a cup of coffee ☕️. Your support is greatly appreciated and helps me continue creating valuable content. Thank you!

Donate
  • ALL
  • Acquia
  • Acquia API
  • Acquia Cloud IDE
  • Acquia Cloud Site Factory
  • Bash
  • Bootstrap
  • C#
  • CSS
  • curl
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspberry Pi
  • Terminal
  • Unity
  • Website Templates
  • WordPress
Copyright © 2023 Code Snippets — Escapade WordPress theme by GoDaddy