In this tutorial, we will see how we can create our custom widget using drupal's hook_theme and then add in to Drupal's $content available in the node tpl. The main aim is to get the widget across all the content type without adding any code to the tpl.
Having a dynamic table of content for long articles is a really nice feature. And field collection module is just the module you need to get this feature implemented. To know how, check this tutorial.
Drupal cache is very important when you are working on a site which will have a lot of visitors daily and performance becomes a crucial part. In this tutorial I will demonstrate how you can use the cache_set() drupal function to save something in cache and retrieve that on user request instead of unnecessary processing if the content has not changed.
Using ajax can really improve the user experience of your site. In this tutorial we will see how using the powerful voting api we can create a simple like dislike module and use ajax for that.
I have this block on my site where I display a featured article. Nothing fancy, it s just an article which I would like people to have a look and more importantly the article should have a link on the home page so that google can crawl it quickly.
Recently I had a requirement of having social networking icons like Facebook share, Retweet, Google plus on all node pages of a site. So, I decided to have my own SNS module and use hook_theme() function to theme my variables.