#drupaldevelopment — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #drupaldevelopment, aggregated by home.social.
-
New! Drupal 11: Cascading Select Forms With HTMX
This is part four of a series of articles looking at HTMX in Drupal.
In this article we will look at creating a form that contains multiple select elements and then use HTMX (and a little bit of the form states API) to tie them together so that selecting one element updates the others.
https://www.hashbangcode.com/article/drupal-11-cascading-select-forms-htmx
-
New! Drupal 11: Cascading Select Forms With HTMX
This is part four of a series of articles looking at HTMX in Drupal.
In this article we will look at creating a form that contains multiple select elements and then use HTMX (and a little bit of the form states API) to tie them together so that selecting one element updates the others.
https://www.hashbangcode.com/article/drupal-11-cascading-select-forms-htmx
-
New! Drupal 11: Cascading Select Forms With HTMX
This is part four of a series of articles looking at HTMX in Drupal.
In this article we will look at creating a form that contains multiple select elements and then use HTMX (and a little bit of the form states API) to tie them together so that selecting one element updates the others.
https://www.hashbangcode.com/article/drupal-11-cascading-select-forms-htmx
-
New! Drupal 11: Cascading Select Forms With HTMX
This is part four of a series of articles looking at HTMX in Drupal.
In this article we will look at creating a form that contains multiple select elements and then use HTMX (and a little bit of the form states API) to tie them together so that selecting one element updates the others.
https://www.hashbangcode.com/article/drupal-11-cascading-select-forms-htmx
-
New! Drupal 11: Cascading Select Forms With HTMX
This is part four of a series of articles looking at HTMX in Drupal.
In this article we will look at creating a form that contains multiple select elements and then use HTMX (and a little bit of the form states API) to tie them together so that selecting one element updates the others.
https://www.hashbangcode.com/article/drupal-11-cascading-select-forms-htmx
-
New! Drupal 11: Creating A Tabbed Interface With HTMX
This is part three of a series of articles looking at HTMX in Drupal.
In this article we will be creating a tabbed interface in Drupal, where HTMX is used to power loading the data in a tab like section without reloading the page.
https://www.hashbangcode.com/article/drupal-11-creating-tabbed-interface-htmx
#drupal #drupalDevelopment #drupal11 #htmx #hashbangcode -
New! Drupal 11: Creating A Tabbed Interface With HTMX
This is part three of a series of articles looking at HTMX in Drupal.
In this article we will be creating a tabbed interface in Drupal, where HTMX is used to power loading the data in a tab like section without reloading the page.
https://www.hashbangcode.com/article/drupal-11-creating-tabbed-interface-htmx
#drupal #drupalDevelopment #drupal11 #htmx #hashbangcode -
New! Drupal 11: Creating A Tabbed Interface With HTMX
This is part three of a series of articles looking at HTMX in Drupal.
In this article we will be creating a tabbed interface in Drupal, where HTMX is used to power loading the data in a tab like section without reloading the page.
https://www.hashbangcode.com/article/drupal-11-creating-tabbed-interface-htmx
#drupal #drupalDevelopment #drupal11 #htmx #hashbangcode -
New! Drupal 11: Creating A Tabbed Interface With HTMX
This is part three of a series of articles looking at HTMX in Drupal.
In this article we will be creating a tabbed interface in Drupal, where HTMX is used to power loading the data in a tab like section without reloading the page.
https://www.hashbangcode.com/article/drupal-11-creating-tabbed-interface-htmx
#drupal #drupalDevelopment #drupal11 #htmx #hashbangcode -
New! Drupal 11: Creating A Tabbed Interface With HTMX
This is part three of a series of articles looking at HTMX in Drupal.
In this article we will be creating a tabbed interface in Drupal, where HTMX is used to power loading the data in a tab like section without reloading the page.
https://www.hashbangcode.com/article/drupal-11-creating-tabbed-interface-htmx
#drupal #drupalDevelopment #drupal11 #htmx #hashbangcode -
New! Drupal 11: Building A "Load More" Feature For Paginating Nodes Using HTMX
In this article a controller action is created to load some pages of content to display them as a list.
New items can be appended to the existing list using a HTMX callback, creating a load more feature.
https://www.hashbangcode.com/article/drupal-11-building-load-more-feature-paginating-nodes-using-htmx
#drupal #drupal11 #drupalDevelopment #drupalHtmx #hashbangcode -
New! Drupal 11: Theming The Search API Search Input
In this article we will look at how we can use a combination of form alters and suggestion hooks to change the Search API form submit input to a button. This is so that an SVG magnifying glass icon can be embedded inside.
https://www.hashbangcode.com/article/drupal-11-theming-search-api-search-input
#drupal #drupal11 #drupalDevelopment #hashbangcode -
New! Drupal 11: How To Alter Entity View Builder Configuration Before Rendering
In this article we will look at using the view builder to generate a renderable view of an entity and then look at how to alter the attributes of the view mode without using a preprocess hook.
https://www.hashbangcode.com/article/drupal-11-how-alter-entity-view-builder-configuration-rendering
#drupal #drupal11 #drupalDevelopment #hashbangcode -
From the archive! Drupal 10: Creating A Notification System Using The Message And ECA Modules
In this article we will look at how to create a notifications system that will tell users about important events that they might be interested in.
This uses the Message, ECA, and Token modules (and some glue code) to create an event message system.
https://www.hashbangcode.com/article/drupal-10-creating-notification-system-using-message-and-eca-modules
#drupal #drupalDevelopment #eca #hashbangcode -
New! Drupal 11: Using SDC Component Library To Preview Single Directory Components
You can use the SDC Component Library module to preview them whilst you are building them, and then integrate them into your site once they are ready.
In this article we will look at setting up a theme with an SDC, and then using the SDC Component Library module preview that component.
#drupal #drupalDevelopment #singleDirectoryComponents #sdc #hashbangcode
-
Our code finally runs through Drupals code checkup pipelines, including:
- composer-lint (composer linter)
- cspell (correct spelling)
- eslint (js linter)
- phpcs (Drupal coding standards)
- phpstan (simple bug checker)
- stylelint (css linter)
- phpunit (php unit tests) -
From the archive! Drupal 9: Entity Bundle Classes
Drupal 9.3.0 came with a new feature called entity bundle classes. This allows more control of entity bundles within Drupal and provides a number of benefits.
In this article we look at creating entity bundle classes, why they are useful, if you should be using them in your Drupal projects.
https://www.hashbangcode.com/article/drupal-9-entity-bundle-classes
#drupal #drupal10 #drupal11 #drupalDevelopment #hashbangcode