Drupal StackExchange

Change the width of the off-canvas dialog

1 month 3 weeks ago

Layout Builder uses the off-canvas dialog. It comes out from the right side of the screen at a max width of 300px. We'd like to make it wider. I can do this with a powerful CSS rule, but is there a better Drupal way? Is there a setting I can't find?

Sarah C

Drupal Planet

Acquia Developer Portal Blog: DrupalCon Survival Guide: Making the Most of Your Conference Experience

1 month 3 weeks ago
Why DrupalCon?

DrupalCon is the premier 3-4 day conference for the Drupal community. It brings together developers, content creators, site builders, and business leaders from around the world to learn and share their Drupal knowledge. You will have the chance to attend sessions, workshops, and keynotes led by some of the most innovative and successful Drupal leaders. The best part of DrupalCon (in my opinion) is participating in community events, networking opportunities, and social events with the vibrant community of Drupal enthusiasts. Check out this video below from the Drupal Association to learn more.

Acquia Developer Portal Blog: How to Enable Project Browser on Your Drupal Site

1 month 3 weeks ago

Project Browser makes it easy for site builders to find modules. Once selected, instructions are provided on how to install the modules on your site. This browser lives inside the Drupal site itself, which means you don't need to leave your site in order to look for modules. Plus, it's a much improved experience than trying to page through modules by popularity on Drupal.org.

To get started, we must first composer require the module:

Acquia Developer Portal Blog: Drupal: cache tags for all, regardless your backend

1 month 3 weeks ago

This blog has been re-posted and edited with permission from Matt Glaman's blog.

Phil Karlton is quoted as having said, "There are only two hard things in Computer Science: cache invalidation and naming things." As someone who suffers horribly from the latter, I'm glad Drupal's caching APIs make the former a breeze. The long short of it is that caching of data improves performance by not having to perform the same operations multiple times after it has been done the first time until you need to re-run that operation again. It involves some storage (static variable in memory, memory backend storage, or the database.) Generally, you store the data with a given identifier for later retrieval, the actual data to be cached for later reuse, and possibly an expiration time for automatic invalidation.

Acquia Developer Portal Blog: Evaluating Drupal Community Modules

1 month 3 weeks ago

When looking to use a module from the Drupal community there are a number of factors to consider, beyond its functional use, that determine suitable quality and support for your organisation to use.

When you deploy a Drupal site into production, who is responsible for maintaining it? How long will that site live for? These types of questions shape the risk tolerances of the project. E.g. Lower Drupal competencies means you need greater community support and more stable modules.

All modules on Drupal.org are open source and fall under the GPLv2 open source license. They are free to download and use at your own risk. Each project has its own set of maintainers and a sub-community that uses the module, interacts through issues and contributes bug fixes and feature enhancements.

Acquia Developer Portal Blog: 10 Drush Commands for Acquia CMS

1 month 3 weeks ago

Drush - The "drush" command is very useful for accessing and manipulating your website's settings and data from the command line.

If you are new to Drush, you might find the large number of commands available overwhelming and not know which ones to start with.

1. watchdog-show (ws)- Show a listing of most recent 10 log messages.

drush watchdog-show

2. pm-list (pml)- Show a list of available extensions (modules and themes )

Acquia Developer Portal Blog: Try Drupal Automatic Updates today on your site!

1 month 3 weeks ago

Did you know that Automatic Updates are in the works for Drupal 9/10 as a contributed module?

The module applies patch-level updates to Drupal core in a separate, sandboxed copy of your site, to keep you up and running until the update is completely ready to be deployed. It can detect and report problems at every stage of the update process, so you don't have to find out about them after an update is live. It automatically detects database updates in an incoming update, and helps you run them during the process.

Acquia Developer Portal Blog: Image Optimization: The Oft-Forgotten (But Crucial) Performance Step

1 month 3 weeks ago

When we think about how to make a Drupal website load faster, we often focus on how to make Drupal render the pages faster: optimizing queries, caching entities, and so on. But out of the box Drupal has several layers of caching enabled by default, and many popular Drupal hosts have additional systems in place like memcached and Varnish to further enhance the overall page load. In practice, the load of the page itself is often a small fraction of the overall time and data needed for a visitor to view a page.