Drupal Developers

Zyxware default image4
| 1 min read
The Freedom Toaster from Zyxware Technologies is back. This time at the Santhigiri Fest, 2012. Santhigiri Ashram took the initiative to provide us with a space for Freedom Toaster at the venue of the Santhigiri Fest, 2012. For those of you who may not know, the Freedom Toaster is a kiosk from where you can burn Free Software Distributions and Softwares freely. This time, we have added the latest version of Ubuntu, (Precise Pangolin, Ubuntu 12.04), IT@School and Malayalam Offline Wiki. There are many more Distributions including Fedora, Mint, CentOS.
Zyxware default image4
| 3 min read
On a Drupal site that came up for some minor alterations recently we came across an issue where some menu links disappeared for anonymous users while they appeared normally for the administrative users. On digging further we came across an issue with an implementation of hook_db_rewrite_sql in a contributed module. But along the way we had to debug the full process of generation of primary links and how node level access permissions are checked during this process.
Zyxware default image1
| 3 min read
As a Drupal developer, when we get an error, we may want to know the functions that are called before the system called the function where we get the error. In this case, views_trace() function comes to your help. This function is available if Drupal’s Views module is installed and enabled.
Zyxware default image2
| 2 min read
While developing Drupal sites, sometimes we may wish to see whether our function is getting called or whether we reach a point or not in the execution path. Usually the dpm() or print_r() functions comes handy in the case, but sometimes, we may not be able to see the debug messages printed due to page redirection just after our print.
Zyxware default image2
| 2 min read
In Drupal 6, when you are working on a new project and when you change menu items from MENU_NORMAL_ITEMS to MENU_LOCAL_TASK or vice versa you will run into a scenario where the menu_links table entries won't get changed. This can get reflected in menu_links not appearing in your system_admin_menu_block_page listing if you are using it for listing your menu items in a page. The solution is to rebuild the menu_links table for the menu items corresponding to your menu_router items. The solution is simple.
Zyxware default image4
| 2 min read
For any site - be it Drupal or non-Drupal, this is most probably due to simple mistakes made while entering attributes. Let us see one very common case where a simple mistake can cause glaring issues: We usually see the css given something like this. We do not see any glaring issue in the class defined below. #header { background:url("images/headback.png")repeat-x; width:1020px; height:120px; font-family:arial; position:relative; }
Zyxware default image4
| 2 min read
A white screen shows up while submitting a form in your Drupal Site? There could be many possible causes for WSODs (White Screen of Death) in Drupal, such as PHP error reporting settings, memory exhaustion, etc. If the exact reason could be figured out, fixing becomes much easier. For treating this specific WSOD issue on form submit, check for the following symptoms:
Zyxware default image4
| 2 min read
Drupal’s Devel module provides a wide range of functionalities that make a Drupal developer’s life much saner. Of these, the most useful one is the function dpm() which seems to have a twin clone - dsm(). For those who are unaware, dpm() is a highly useful function for neatly printing (pretty printing) arrays/objects etc in drupal. There is also a function dsm() in the devel module, which seems to do the same thing. Then which is the correct one?
Zyxware default image4
| 2 min read
The UC eCheck.Net module is a Drupal module that implements eCheck payments using Authorize.Net's eCheck.Net service and is a popular module for online shopping websites using Drupal for making payments along with Ubercart. The module was officially released for Drupal 6. We have managed to release the updated version of UC eCheck.Net to work with Drupal 7 and is available for download.
Zyxware default image2
| 3 min read
In a common secnario if a user types the url of a Drupal based website without the 'www'.prefix they will be automatically redirected to the  required site with the complete url. This is very convenient for most web users who do not want to type in the obvious 'www' prefix. Webmasters can configure this by changing the settings of the Drupal .htaccess file. However this will  be a problem if the Drupal site has a mobile version with an 'm.' prefix. Users wishing to access the mobile version of that Drupal site will inevitably be redirected to the main website.
Zyxware default image3
| 2 min read
By default Drupal 7 has two types of views - The Full node view and the Teaser view. This has been the case for all previous versions of Drupal. However if your requirements are different, then you might have to create a custom view that is tailored to meet your specific needs. Check out how to create a simple custom “View mode” for nodes in Drupal 7.
Zyxware default image3
| 3 min read
The Drupal Menu System handles both the navigational system (visible menus and links) as well as the Drupal callbacks in the back end. The menu links listed on the header of a Drupal site is normally the primary menu or the secondary menu. These menus are sets of static links that you create via the Drupal admin interface. However sometimes it is useful to have a login / logout link in the primary or the secondary menu depending on whether the user is logged out or logged in. Here is how you add this.
Zyxware default image1
| 3 min read
On a Drupal site, when setting up pathauto for nodes, sometimes it is useful to have the full nested path of parent terms of the channel (or primary vocabulary) for the article in the url alias to give the impression of a directory structure to the taxonomy vocabulary. This will allow users to see urls to nodes like domain/term1/term2/term3/node-title-or-whatever where term3 is the channel under which the article is published.
Zyxware default image1
| 3 min read
Drupal is supposed to be a very secure CMS and the Drupal security team is a highly efficient team of people scouting the Drupal camp to find and sort out security issues as soon as they crop up. But no amount of programming will fix security issues caused by incorrect configuration of a Drupal site. Here is a checklist of items that you have to confirm after you deploy a new Drupal installation.
Zyxware default image4
| 4 min read
This is a basic installation instruction for installing Drupal in your shared cpanel hosting account. Although the instructions are for installing Drupal 7 and for installing it specifically on your cpanel hosting account, the steps outlined (or something similar) should work for installing other versions of Drupal or installing it in other hosting accounts. Read the complete instructions before trying this out.
Zyxware default image3
| 4 min read
We have recently been toying with the Drupal API module in an attempt to set up our own Drupal API documentation site just like Lullabot did. As of today we have managed to set up something that is fairly functional and somewhat similar to the Drupal.org documentation site. Check out our own Drupal API reference site. The site currently contains documentation about the top 500 Drupal modules and their D5, D6, D7 and D8 versions in addition to the documentation for Drupal 5, Drupal 6, Drupal 7 and Drupal 8.
Zyxware default image1
| 3 min read
When you work on forms in Drupal where you want to have the same form array elements used multiple times in a form you can use the concept of for form tree. For example if you are working on a purchase order form where you want to have multiple rows of product information like say product name, product code, quantity, price etc, for each product added to the form. This can easily be done using the form tree as follows.