Articles

Image
composer

Since starting from Drupal v8.8.0 has removed the Wikimedia merge plugin and replaced it with a Composer 'path' repository, a native Composer feature which serves the same needs as the merge plugin with fewer disadvantages, in this short article, I want to show how to manage dependencies for a custom project.

Image
drupal entities

During a migration of the content and testing the functionality, we are playing a lot with adding/removing menu items for nodes. Here's a snippet on how to delete all links in a menu.

Image
drupal entities

Sometimes we need to completely remove all nodes, for example, when you copy a site for another project. Here the examples.

Image
Scroll To Top / Back To Top

Very often when developing or maintaining a site, clients ask me to create functionality in the footer that will scroll the page to the top. I know this can be done with the helpful and wonderful Back To Top module, but I am the person who tries to have as few enabled contrib modules as possible on the site and save time on support in case a new version of the module appears. In my short article, I will show how to make similar functionality in 5 minutes.

Image
Social Icons

Social media is an extremely valuable tool for promoting your marketing content. However, with so many social networks providing their own individual content sharing and follow buttons, it's often difficult to know which social media button to use for what purpose.