Technical Blog

Zyxware default image3
| 1 min read
One of our clients was trying to upload a pdf file on a node page in their Drupal website. The file was more than 25 MB in size and Drupal was not allowing them to upload the file as it had crossed the max file upload limit and they needed this to be done very quickly. As we were in charge they requested to come up with an easy way to do that. If you want to now the easiest way to set the max file upload size in a Drupal site read on to know more.
Zyxware default image4
| 3 min read
You have heard the word proportion in Architecture. If you want to call a Architecture classical, the key concept should be proportion, i.e, correlation of one element to another. Same in the case of UI. User Interface(UI) acts as a medium of interaction between the User and the Web. In a web application the most important aspect is the user interface, because this is the only part end users are going to view. Before we start, I want to you to know how we reached to this article"Why is proportion important in UI".
Zyxware default image3
| 3 min read
In Drupal, while adding a menu item, we can give it a title, description, path and such details. It is not possible to give images for these menu items at the time of creation, by default. If you are looking for a solution, then read on. This particular task can be achieved by overriding the theme function theme_menu_item_link() in our theme's template.php Use the below function in your template.php :
Zyxware default image1
| 2 min read
There may arise situations when you would want to display the contents of a block inside a template file or along with any other output variables. module_invoke() function can be used for this purpose. The module_invoke() is a function to invoke a hook in Drupal. The syntax for module_invoke is different for Drupal 6 and Drupal 7.
Zyxware default image4
| 2 min read
Forgetting a password is a usual scenario. The first thing that may come to your mind when you forget the password of your site is resetting it. If it is a live site, then we can ask to send a new password by mail. But what is if it is your local site where no mails are configured? well, I know a trick or two to solve this programatically. If you too want to know, then read on. Step 1 : Create a new file and copy the below script in that.
Zyxware default image4
| 3 min read
Tagging a content properly will definitely cause your website's contents to come up properly in search results. Tagging can be done manually and automatically. If you are using a Drupal6 site and you want to tag your contents automatically, I know exactly what you need. For that I would prefer you read on. Our goal is to tag the contents automatically for which we require the following modules :
Zyxware default image1
| 2 min read
Multiple database access in a site can create overheads. There is a chance of this being adversely affecting the site performance if the size of the website is considerably large. Consider a function that returns the details of a new product. And if we call this function in different regions of a page, the query will be executed for each function call. ie, multiple database requests are made for the same result.
Zyxware default image2
| 2 min read
I was working on a project where the requirement was to display slideshow in a page.Slideshow was created using views_slideshow module with fields as content type field holding image. After all the images were rendered using slideshow a blank image was being displayed before the next transition of slideshow.Here we encountered a problem of unwanted blank image being displayed if you are also facing the same issue then read on to know how to solve this.
Zyxware default image2
| 2 min read
HTML5 video is a new standard that allows you to add videos to your site without the need for plugins. Any additional software is not required in the user's browser for playing HTML5 standard video play. Drupal comes up with a contributed module that is video.js module. Video.js is a HTML5-based video player with a built-in Flash fallback for older browsers.Read on to know how to install and configure a HTML5 video player for your Drupal site using Video.js
Zyxware default image2
| 2 min read
We as a PHP Drupal web platform developer most often has to face the situation to export data from one table to another table of same database or to table of another database (if site uses multiple databases) during the process of any change in normal work flow. Most of us normally think to export the data from one table to another by firstly querying the required data from source table and then looping through the query result and inserting them to destination table. This can be simply achieved with a single query.
Zyxware default image3
| 4 min read
Panels in drupal is a very usefull feature for displaying the contents in a well organized manner. The site administrator will have full control over the panels.Creating panels via User interface is not a complex task. But there may arise situation when you need to create this via code. This article explains how to achieve this via code. Creating a custom content pane using the ctools content type. Step 1) In the custom module implement the hook_ctools_plugin_directory , to know where the ctools plugin is actually stored
Zyxware default image2
| 3 min read
Drupal module uses a lot of functionality. Once we enable a module we add many functionalities to Drupal. Sometimes we do not want to display the functionality provided by module but we do want the functionality to work in the background. For example creating a new account is functionality that can be hidden from users. This can be done by hiding some tabs or links in Drupal. Read on to know how to hide existing menu tabs in Drupal.
Zyxware default image3
| 5 min read
While working on a Drupal project my task was to enable the Drupal feedback module and when a feedback is added by a user, send a mail to corresponding email id. However in the feedback module there in no option to send mail by default. In this article I will be explaining how to send a notification mail to the corresponding email id when a user adds a feedback.