January 2009

Clean URLs for nodes paginated using Paging module

A limitation of Drupal's pager system, that comes as a disappointment to some SEO "freaks" Tongue is the separate "page" query in the URLs to browse multiple pages. Say, a third page on a paginated node would have node/1?page=0,2 in the URL. Instead here's a method to accomplish a better looking version (like node/1/page/3). "Paging Sweet Urls" is a module that converts the "page/X" part in the URL into the actual "page" query that the pager system understands. We also need to override theme_pager_links() to set proper hyperlinks in pager navigation. Still this implementation has a limitation that it cannot handle the functionality with aliased URLs (see below). I believe, it'll need a mod_rewrite apache directive to be able to handle URL aliases. But I'll take up with it some other time.

Also, there's Clean Pagination module providing similar functionality, but not for node pages. It can, however, handle views, etc. URLs. Find the code and instructions ahead.


Download "Paging Sweet Urls" module

( continue reading... )

Drupal Association Badges for Members

If you are a member of the Drupal Association, you are eligible to display a cool badge on your website. Choose one according to your membership status, from either here or here or here:


These tiny (88x31) banners resemble the "Powered By Drupal" banner shipped with Drupal.


Medium size (180x50) copies.


The largest (325x90) of the set. Quite simple and straight forward design with a little shine.

The tiny ones are the real gem, I believe. If you are reading this and use Drupal directly or indirectly, help the Drupal Association and in turn help yourself. Become a Drupal Association Member! Thumb Up

Did I also mention it's Drupal's Birthday today - 15th January!! Happy 8th B'Day Drupal! Party


Download these banners/badges

Back on track...

Source

...after:

  • A dozen of exams.
  • One month of exams. We spend 2 months in a year giving finals. Pathetic PTU Nerd
  • Several hardships getting my attendance "rectified"... somehow... phew!!!!!!!!
  • Exam on the 1st day of 2009. Scared Looks like they didn't want us to miss wishing any of our colleagues.
  • Driving in maximum possible fog to reach safely & on time. Thanks to Aman, we had 4 eyes in total. Thumb Up
  • Updating the blog theme. This, along with smileys development, didn't miss any love this time.
  • Finally, thanking to my university for, at least, letting me enjoy Lohri.

Happy Lohri!!!!!!!!