Drupal Technical

Zyxware default image3
| 3 min read
One of our Drupal clients wanted to us to enable members of her site to bookmark their favorite nodes. We went to work immediately as we knew that this task could be accomplished by the Drupal Flag module. The flag module did enable us to implement that feature easily. Nevertheless we needed to add text near to the flag button/link on a specific node without affecting its display in a view. Read on to know how to dd text to a flag in a node when working with the Drupal Flag module.
Zyxware default image4
| 2 min read
We had recently worked with a client of ours to help port the Drupal 6 version of the Moneris Payment Gateway module for Drupal to Drupal 7. Moneris is a popular payment gateway in Canada. The upgraded module has been submitted in an issue under the Moneris issue queue - https://drupal.org/node/1276770. Once it is tested and verified by the community the maintainer will be pushing the code to the repository.
Zyxware default image1
| 2 min read
We have released a new Drupal module to fight spam - Spam Blackhole. This is a simple module to fight automated spam submissions on Drupal sites by bots that are not manually supervised. The module requires that Javascript is enabled on the site that is running the module. The module works by replacing the form action with a dummy URL while the form is generated from Drupal and then replacing the dummy URL with the actual URL when the user clicks the form submit button.
Zyxware default image3
| 3 min read
When we try to theme a drupal website certain case we need to create particular region in the drupal website. Adding region for a drupal website is not a hard task, even a developer first creating a drupal website can create a region. In order to add regions inside a drupal website we only need to add a few lines extra for that. Below there are three version of drupal for the drupal 6 and 7 version creating the region is same but for the drupal 5 version it is slightly different. Adding regions to drupal 7.x and drupal 6.x versions
Zyxware default image4
| 3 min read
This article will be explaining how to create custom block and how to add the custom block in to quick tabs, programmatically. If you want to display the block inside a node you can refer our artilce How to print a block inside a node on a Drupal 6 website. First lets create a custom block using hook_block. In this block what I want to display is when we provide a url, need to display corresponding alexa graph for the particular site.
Zyxware default image4
| 3 min read
One of our Drupal clients requested us for a feature in a mobile version of their Drupal website in which, a user accessing the mobile version of their website, should be able to automatically initiate a call on clicking the telephone number appearing in the website. If you want to know "How to start a call when a user clicks on a number in a mobile version of a Drupal website, then continue reading.
Zyxware default image3
| 2 min read
In Drupal, while viewing a content type it will display the content type view with a comment form. If we want to remove the comment form from the view node page we can disable/unset it using hook_node_view function. But what we have to do if we want the comment form in a separate tab. There is a module called Talk. This module removes the comment form from a node view page and display it on a separate tab.
Zyxware default image1
| 2 min read
In a recent project, one of the client requirements was to remove the link of the cart-image which appears in shopping cart page. In drupal, when a node is added to cart, it will be automatically linked to the corresponding node page. He wanted to hide it because, we were not using the default node page for the products. If you want to know, how we removed the link from the cart-image, you may follow the stepss below.
Zyxware default image1
| 2 min read
In a recent project, I had to make use of pagers in two views. As per the requirement, I had to display different numbers of contents per page for both views. For the first view, I had to display 2 items per page and for the second one(search-results view) 10 per page.The problem I faced was, Eventhough if I had less than 10 search results, the page displayed the pager-links as per the contents of the first view. ie, both the views showed same number of pagers, which was wrong. If you want to know, how I fixed this, please read on.
Zyxware default image3
| 3 min read
Views Bulk Operation module is helpful in the cases where we need to perform a particular operation for more than one row in a view. Some of the operations includes deleting multiple contents, publishing/un-publishing contents, change the author of the content, send email etc (Refer the image below). These are the default operations available with the module. Now, what if you need some of your operation to be performed other than this? That too is possible. You may read on if you want to know how it can be done.
Zyxware default image3
| 3 min read
You may be familiar with the theme information link in views. The theme information link in view tells us which files are to be modified, to theme the view. You could get more information regarding the view from, http://viewshelp.doc.logrus.com/help/views/analyze-theme. This is the case where we have a theme with us. But what if you don't have a theme and you still want to theme the view's result? Well, read on if you want to find out how to theme a view by adding a template file inside your custom module.