In this article I am going to show you how to embed a View in a template file (.tpl). Using a cool Views API function, you can render the display of any View and even pass it arguments.
Insert View is a cool module that lets content creators insert an existing View right into their content. Using a simple syntax, users can specify which View should be rendered, with which Display and what arguments should be passed as contextual filters.
In this tutorial I am going to show you a way you can leverage the power of the Drupal Form API to display form fields in the layout you want. To illustrate this, I will alter a form (the comment form) and arrange the Name and Subject fields in two columns.
Maxlength is a cool module that allows you to set maximum character limits for your Drupal form text fields. Not only that users who fill in these forms can see the maximum number of characters they can write but they will also be prevented from writing more than they should.
Lately I’ve been quite busy working on my first Drupal 7 theme that is getting ready to launch. The idea stemmed from my perception that there are not enough responsive themes out there for Drupal.
In this article, I want to show you 7 modules that can play a role in making your Drupal 7 website responsive, or at least more mobile friendly. With more and more people using handheld devices that vary considerably in size, it is important to pay attention to their needs.
Smart Trim is a cool module that adds a new formatting option for a Drupal 7 text field. This option provides a more configurable trim setting for teasers and other view modes where you’d like a text field to be automatically shortened.
Radioactivity is a rockstar Drupal module that gives you a "hotness" metric for content, basically popularity or trend by the number of views the content receives. Based on how a lot of the other popularity-based modules work, such as FiveStar and Rate that requires user interaction, Radioactivity will give you the most organic results.
In this short tutorial I am going to show you how to access the node object from any template file. Say you need to work with some node information in a theme .tpl.php file and you don’t have access to the node content. What do you do? You get it from the URL. Come, I’ll show you.
The Drupal community members are a numerous and varied breed of creatures, each with their own personality and quirks that make Drupal the awesome eco-system that it is. I’ve said this before: I love the community and the atmosphere it has. Below are some of the ways one can experience being part of this community.
In this tutorial I will show you how your module can define its own permission and the proper API way of checking whether a user has a certain permission or not.
In this screencast I will show you how easy it is to get the jQuery UI accordion and tabs functionality on your own Drupal 7 site. All you need to do is install a couple of modules and you are good to go. No need for adding any custom jQuery into your theme or module, it is as simple as installing 2 modules.