Articles
Technical articles about PHP, Drupal, system architecture, and web development.
Adding a Custom Python Service to DDEV
When your Honeypot protection blocks real users using Autofill
Adding DynamoDB Local to DDEV
Software Engineers build software to replace themselves
TimescaleDB with DDEV PostgreSQL
Start using these modern Git commands instead "git checkout"
Oportunitati de Investitii pentru cetatenii Republicii Moldova
Ghid complet de investitii pentru cetatenii din Moldova. Afla cum sa investesti in P2P, actiuni, ETF-uri si VMS. Oportunitati de investitii accesibile si sfaturi pentru incepatori.
Focus an input with Alpine.js
Record a New Relic deployment using Guzzle 7
A PHP script snippet to record a New Relic One deployment using Guzzle 7
A complete Drag and Drop file uploader with progressbar using Wire Drupal, Alpine.js and Tailwindcss
Drag and Drop file uploader with progressbar using Wire Drupal
Override default tailwindcss inline <code> tag styling
How to override style and remove the backticks around inline code added by the Tailwind CSS typography plugin
Live toggle switch component in Drupal with Wire
Create a Live toggle switch component in Drupal with Wire to change the Node status
Use database replica target in entity query
Database replica usage example in Drupal
Get the Content Entity of current route
Retrieve the Content Entity objects from Drupal's current route
How the Wire demo works
Hotwire with Drupal
Extend drupalMedia CKEditor5 plugin with additional attributes
A guide to adding additional toolbar items to drupalMedia object in CKEditor 5
Delete Git branch locally and remotely
Load Disqus Comments on demand/click
Improve page performance by loading Disqus on click
Get a list of fields by type
Get a list of fields by type weather it's entity reference, boolean, date and others in Drupal
Drupal error caused by CTools and Pathauto incopatibility: The context is not a valid context
Programmatically add attributes to Menu Link Content
How to add Menu Link Content attributes programmatically
Restrict Drupal route to be accessible only to authenticated user
Restrict non-authorized users access to route or how to allow only authenticated users to access a page
Check user for given roles
Check a user for a specific role in Drupal
Configure Git completion on Ubuntu
Configure git completion on Ubuntu
Add an entity property for the Node which can be used as Search API index field
Convert a Plain Text field to a Formatted (Rich) one
Add JavaScript file/library and JavaScript setting in a renderable array by using #attached property
Drupal attach Js to form or renderable array
Create a string from a list of array values merged with comma and "and" as the last
Create an admin user with Drush
Create a webform submit Handler
Custom 500-level error page using Apache2
Lock/unlock a field
Delete a content type programmatically
Disable automatic translations import
Add theming suggestions to Custom Entities
Entity reference computed field example
A custom Entity reference computed field example
Force Search API To Re-index affected Commerce Entities/Nodes after "Discount" manipulations
Forced image style generation
Generic way to get a Entity's bundle label
Get current's theme logo
Get all the fields of a certain field type
Helpful Mercurial examples
How to create a new Selection Rule(Condition) for Panels
How to make unpublished nodes "404 Not Found" instead of "Access Denied" for those without access
How to rename a Git branch
How to change MySQL default port
How to remove your Last name from Facebook
Privacy: a workaround guide to remove your Last name from Facebook
.htaccess rewrite rule to keep subdomains when redirecting to the same domain with a subpath
Implementation example of text_format form element on a custom admin page
Limit the views results to current site language when using entity translation
Migrate entity's "changed" time
Override Clientside Validation email implementation to support the old format
Page Cache by cookies(or anything available in the HTTP Request)
Page Cache by cookies(or anything available in the HTTP Request) - D9
Programatically create a profile2 record on user insert example
Programmatically change the user's password
Programmatically delete a field
Programmatically create a text format
Programmatically enabled a payment method in commerce
Push existing repository to a different remote repository server saving the commits history with git
Reload a Drupal page after an Ajax form submit
Remove a Webform Submit Handler
Recursively search the haystack for a specific key and return it's path
Render Plain text field type as HTML
Retrieve Drupal menu items
Solve missmatched Site UUID in Drupal
Sort on different date fields if one of it is empty(Views)
Stop spammers flooding your Google Calendar or how to get rid of the the events you didn't create
Stop browser asking for your location
How to deny by default and stop browser asking for your location
Use an EntityQueue order in a custom query
Verify, Define and Get Drupal admin paths
Add homepage link to language switcher, when a Node doesn't have a translation
Allow media (module) tags in wysiwyg with ckeditor 3
Count the number of occurrences of a string in a VARCHAR field
Create taxonomy tree programmatically including vocabulary creation
Custom Search API index condition in Drupal 7
Delete all the terms of specific taxonomy vocabulary
Create a diff URL between two commits on github
Delete GIT commits
Delete a local commits in Mercurial
Programmatically delete a field collection items
Display hidden directories and files in NetBeans
Disable, uninstall and re-install a module / schema with Drush and programmatically
Generate a random alphanumeric strings
Error Code: 1728 Cannot load from mysql.proc. The table is probably corrupted
Fade views content on views ajax pager action
Enforce file download link in Drupal 7
Generate a git patch for a commit
Get all user's groups Drupal 7
Generating Passwords Using crypt(3)
Get Node's full path
Get maximum and minimum value from an array values in JS
How to add a tag to the HTML HEAD in Drupal 7
How to create a pseudo-field(field extras) in Drupal
How to delete Drupal Views programmatically
How to Install nano on CentOS
How to export MySQL data directly into CSV
Increase the phpMyAdmin Session Timeout
Example of how to increase phpMyAdmin Session Timeout
Import / Export a database with mysql from terminal
Get the list of admin pages system path
Migrate from different databases with Drupal module "Migrate"
Move the module hook execution weight to be the last in Drupal
Normalize spaces between words in PHP
Programmatically assign permissions to roles
Programmatic example how assign permissions to roles
Programmatically clear/reset cache for a specified Node
Programmatically create a nodequeue with subqueue in Drupal
Programmatically delete a menu and all contained links
Programmatically Create and Enable a view mode for a entity
Programmatically flush certain imagecache preset
Properly get entity field values
Recursive array reverse in php
Remove non-utf8 characters from string
Reverse table head using views 3.x
Views