Here’s what I’ve been working on for my LocalGov Drupal contributions this week. Thanks to Big Blue Door for sponsoring the time to work on these.
Similar Posts
CloudTweaks | Unlocking Advanced Uses of Generative AI
It has been about two years since generative AI technology exploded onto the radars of most businesses following the release of ChatGPT in late 2022. In that time, the vast majority of organizations…
Zoom video module to integrate Zoom meetings with Drupal websites
The integration provided by the Zoom video module is a great example of how your Drupal website can become a centralized hub of all functionalities your team might need, with no need to…
Entity theming with Pinto | PreviousNext
namespace Drupalmy_project_profileEntityBlockContent; use DrupalbcaAttributeBundle; use Drupalmy_project_profileTraitsDescriptionTrait; use Drupalmy_project_profileTraitsImageTrait; use Drupalmy_project_profileTraitsTitleTrait; #[Bundle(entityType: self::ENTITY_TYPE_ID, bundle: self::BUNDLE)] final class Card extends MyProjectBlockContentBase { use TitleTrait; use DescriptionTrait; use ImageTrait; public const string BUNDLE = ‘card’; } Let’s set up our Card bundle class:EntityViewBuilders are PHP classes that contain logic on how to build (or…
Creating a cards section with Layout Builder
cards: label: Card grid category: Layouts template: layouts/cards icon_map: – [intro, intro, intro] – [c1, c2, c3] – [c4, c5, c6] – [c7, c8, c9] – [c10, c11, c12] regions: content: label: Cards intro: label: Introduction library: ‘your_theme/card’ The component will look something like the ‘Services’ section on our homepage*. If you’ve built websites over…
How to Force Return a 404 Error Page in WordPress
In my last tutorial I showed you how to remove paginated page URLs in WordPress. In that guide I shared code to 301 redirect paginated URLs that aren’t needed. However, in some cases…
How to Create a Virtual Environment in Python
Jun 04, 2024 Valentinas C. Python is known for its easy learning curve, natural syntax, and great versatility. This makes it a popular choice for large-scale automation projects that evolve over time. A…