January 2013

Finding an existing Page's Callback Function in Drupal

So have you ever been stuck debugging where the heck that stupid page comes from that some random module seems to have placed in a configuration section that seems to be nothing related to the module itself? Well there are other use cases for what I'm about to show you as well but this is a cool little pro tip to get you on your feet and get you some place to start debugging.

Anchored Headings (Jump Links) with jQuery and CSS

I found this to be a problem recently when I built the documentation for the Views Natural Sort module. I always kinda envied the WordPress sites because they had this as an option to click on, but I had to code this for me. To give credit where it's due, this script was inspired over at Stack Overflow.