Tags: Drupal
Ajaxify Your Drupal Site
Drupal sites are great looking and perform well due to smart caching. But out of the box they still rely on reloading whole pages for site navigation. There are a few modules for applying AJAX to different elements, but none of them fully serve the needs of thinkyhead.com so I rolled my own solution. Here's the code we use to make our Drupal-style menus load their content into the content region, which should be adaptable to any site. In the future we'll look at building a module out of this code.
- Read the rest
- More by Thinkyhead
- Login to post comments
One Javascript, Many Drupals…
Making one Javascript to support many versions of Drupal can be a real chore. Each release of Drupal uses different versions of jQuery, for one thing. Drupal behaviors haven't changed much between D7 and D8, but D6 is different, and D5 doesn't even have them. How can writers of Javascript libraries deal with all this diversity? Here are some snippets to help build scripts that can support D5 through D8. Why Drupal 5? Why not?!
- Read the rest
- More by Thinkyhead
- Login to post comments
Testing the world of code!
Now that I'm thinking more like a geek I might as well blog like one. So this is my test of "code" blocks. But not just any code block. An essential piece of Drupal that every Javascript library glue writer should adopt.
- Read the rest
- More by Thinkyhead
- Login to post comments
21st Century Thinkyhead
Welcome to the new Thinkyhead site, completely rebuilt using the Drupal website framework! Thanks to the new setup I'll be able to add content more frequently, including more audio, video, and images. And there are many other features just waiting to bust out! Check out the I Love Drupal! page to find out more about my love for Drupal and its growing user community.
- Read the rest
- More by Thinkyhead
- Login to post comments