Profile picture for user admin
Daniel Sipos
20 Oct 2015

Drupal 7 post insert hooks as a shutdown function

Have you ever needed to perform an action after a node has been inserted or updated? In this article we are going to see how we can trigger functionality after nodes have been inserted or updated. And no, it's probably not what you think.

Profile picture for user admin
Daniel Sipos
30 Sep 2015

Webomelette.com gets a new face!

If you are a reader of Webomelette.com you probably know it's been a while since any love has been given to this website. I decided recently to right this wrong and release a refreshed version. Lo and behold, the new version of Web Omelette!

I think it looks a bit fresher, crisper and should be a bit more performant as well. Additionally, I fixed some of the problems we had with copying code fragments by using the SyntaxHighlighter plugin for displaying code fences. This should also make them a bit more readable.

Profile picture for user admin
Daniel Sipos
10 Aug 2015

New contrib module: Info Plugins

Today I would like to introduce a new module that I released for the Drupal (developer) community to use and share: Info Plugins. This is for developers who are tired of implementing a bunch of messy _info hooks (and their corresponding callbacks), lumping together functionality that frankly shouldn't even touch. I'm talking about those ugly switch statements in which we have cases for the various extensions we provide. Don't get me wrong Drupal, I love your hook system.

Profile picture for user admin
Daniel Sipos
03 Aug 2015

Write your own Views Bulk Operations actions in Drupal 7

Views Bulk Operations (VBO) is a powerful module that leverages Views to allow site administrators to perform bulk operations on multiple entities at once. It does so efficiently by processing the items in batches over multiple requests to avoid timeouts.

Profile picture for user admin
Daniel Sipos
15 Jun 2015

Drupal 8: custom data on configuration entities using the ThirdPartySettingsInterface

In this article we are going to look at how to use the ThirdPartySettingsInterface to add some extra data to existing configuration entities. For example, if you ever need to store some config together with a node type or a taxonomy vocabulary, there is a great way to do so using this interface. Today we are going to see an example of this and add an extra field to the menu definition and store the value in this way.

Profile picture for user admin
Daniel Sipos
18 May 2015

Adding new HTML tags in the <head> in Drupal 8

In a previous article I've shown you how you can add new html elements to the <head> of your Drupal 7 site. Recently, however, I was working on a Drupal 8 project and encountered the need to do this in D8. And it took me a while to figure it out so I thought I'd share the process with you.

Profile picture for user admin
Daniel Sipos
20 Apr 2015

Drupal 8: core javascript files for anonymous users

Drupal 8 comes with many performance improvements, one of which being that javascript is no longer indiscriminately loaded on every page. This means that for anonymous users, there are many pages where there is no jQuery or even javascript loaded.