Planet

I had recently found the need to manually reindex the Search API indexes programmatically after performing some other operation.

Super duper simple example on how to programmatically create your own custom Drupal blocks and display any content.

Code snippet below needs to be in a custom module.

The objective of this section is to make the primary menu a toggle menu for the mobile interface. i.e the menu renders on click in mobile devices and is horizontal on screens wider than 600px.

On a recent project I required a way to bind ctools handlers to their respective links dynamically.

The fear of writing your own code

I've begun adding this to each of my local D7 sites. I include this global settings file so I can edit just one $conf array. It works okay.

Submitted by

When people ask you about big projects done with Drupal, what's the second item on your list?

Pages