Technical Blog

Zyxware default image4
| 2 min read
Many Drupal users received a "user warning: Got error 28 from storage engine query: SELECT DISTINCT b.* FROM blocks b LEFT JOIN blocks_roles r ON b.module = r.module AND b.delta = r.delta WHERE b.theme = 'garland' AND b.status = 1 AND (r.rid IN (2,3) OR r.rid IS NULL) ORDER BY b.region, b.weight, b.module in /home/your-username-here/public_html/modules/block/block.module on line 433." If you are facing the same situation in your Drupal site then read on to find out the solution.
Zyxware default image1
| 3 min read
Colorbox is a pretty nice JQuery plugin having a lot of cool features. Recently we had worked on a Drupal project in which we had to load some content programmatically via Colorbox. To be more specific we had to load the Drupal node/add form within Colorbox before presenting it to the user. If you are facing the same scenario in your Drupal site and want to know how to load a node/add form inside a Colorbox popup then follow the steps mentioned here.
Zyxware default image2
| 2 min read
In one of my Drupal based shopping cart site powered by Ubercart, the products were customizable(ie, end users had the permission to edit the product). So in order not to overwrite the existing product and to save the changes made by the end user, I had to create a new node with all the values of the product. So I created a new content type and related this to the product content type and saved the node as a new one. If you want to know how to convert a custom content type in a Drupal site into an Ubercart product, read on.
Zyxware default image3
| 2 min read
Tags are very helpful when it comes to searching. You may get accurate search results, if you have given correct tags for your content. In Drupal 7, there is a default 'tag' field for 'article' and 'page' content type. The million dollar question is 'What if these are not the content types that you have used to create your content'?. Don't worry , continue reading to find how to add tags for your custom content type.
Zyxware default image4
| 3 min read
We were requested to create an online envelope editor using Drupal by one of our clients. We knew that we needed to create an HTML template as the base for the online editor. So we proceeded to develop a Drupal application which would create an HTML template using the input provided by the user which would be used to create the envelope. If you are looking to know how to create an HTML template in a Drupal website using user input read on to find out how we went about doing that.
Zyxware default image2
| 2 min read
We were faced with a situation in one of our clients Drupal sites where we had to add View relationships programmatically with custom database tables. The site was running on Drupal 7. If you are faced with the same situation in your Drupal website and want to know how to add View relationships programmatically with custom database tables in Drupal 7 then read on to know the solution.
Zyxware default image3
| 2 min read
One of our Drupal clients requested us to create an online envelope editor in their Drupal site. The envelope was a product in Ubercart as the site was a Drupal e-commerce site. The envelope was to be edited by the user of the site using a form interface. We needed to add custom fields to the product content type in Ubercart to get the feature up and running. If you want to know how to add custom fields to a product content type in Ubercart, read on to find out how we did it.