Drupal

Zyxware default image4
| 3 min read
A lot of clients come to us asking for running Drupal updates on their sites. However almost everybody asks for a fixed price estimate for the process. There is however a challenge in this because updates would mostly run without problems but you might run into a problem or two once in a while. We have a standard and safe process of running Drupal updates but the safe practices followed in the process would take considerably longer time than blindly running updates on the live site.
Zyxware default image3
| 3 min read
My requirement was to detect the mobile devices from the drupal backend and redirect the user to the assigned URL. For this we needed to identify whether the user was accessing the site from a mobile device. For this we had to check the user agent string and compare that with the most common mobile devices. Then depending upon the condition we redirect the user to the corresponding URL.
Zyxware default image4
Drupal is a powerful portal framework and a content management system. However the power of the system can really be tapped into if the site is built right. Whether a Drupal site is built right or not is not something that may not be very obvious in all scenarios or for an untrained eye. There are definitely implications for not building Drupal right but the implications may not be very evident always. So how do you know if a Drupal site is built right?
Zyxware default image1
Quite often we get support requests from clients who believe that 95% of their site is working fine but for a few lingering issues which their previous developers could not fix / complete. In most cases the lingering issues are more symptoms of bad builds than pending issues. In such cases we usually insist on a full Drupal review and audit of the site before we work on the issues. The client would normally be shocked to know that there were a lot of things on the site that were not done right but it would be too late for any corrections by the original developers. So how do you know if your Drupal site is built right?
Zyxware default image4
| 2 min read
When you want to dynamically create content from some raw data in Drupal, you might have to create a node programmatically. This comes in handy when you want to use custom forms to collect user input and then create nodes using the the input collected. If you want to know how to programmatically create a node continue reading.
Zyxware default image2
| 2 min read
As the World wide web is starting to resemble the wild wild west, you have to ensure that your Drupal site is always up to date. If you are ignoring the security updates of Drupal, then you are simply making your Drupal site vulnerable to the worst enemy of all - Negligence. Updating a Drupal site requires time and effort which is why most people ignore it. Here is a quick way to update your Drupal site using Drush and Hacked module.
Zyxware default image1
| 3 min read
We were faced with a Sensitive Cookie Missing 'HTTPONLY' Attribute error in one of the more sophisticated Drupal applications we were developing. This error occurred when we were trying to get the Drupal application scrutinized for PCI Compliance. If you are faced with the same scenario in your Drupal then read on to find out the solution PCI is an industry standard designed to review organizations who handle sensitive credit card information to prevent Credit Card fraud and it is important to get your Drupal application scrutinized if it is to handle such information
Zyxware default image1
| 2 min read
Some times we need to protect our site from public users and make it available only to selected number of users. For examply you might want to protect your alpha site from the public and from search engine bots. In such situations we protect our site with HTTP password. Follow the below steps for protecting your Drupal site with HTTP password. This was written for an Amazon AWS server but should work on most GNU/Linux servers.
Zyxware default image4
| 2 min read
Nowadays most of the websites that are being built will have a mobile version also. One of the specific aspects we have to take care of with mobile sites is writing proper code to switch a drupal site to mobile website when the site is accessed from a mobile device. If you are trying to do the same thing then please follow below steps to solve your issue. Although this is written in the context of Drupal websites this should apply for other websites as well.
Zyxware default image4
| 3 min read
When developing a website we might often come across situations where we have to limit the entry into each text fields to a certain type. One of the common scenarios we run into when developing Drupal websites is to limit text fields to accept only numbers as its input. If you want to know how to limit a text field to accept only numbers as input then read on to find out more.
Zyxware default image3
| 2 min read
An XML sitemap or simply sitemap is an XML file containing the URL's of a website. Sitemaps are important tools in letting search engines know of all content present on a site. This is more so in cases where search engines are not crawling the site well because of improper linkage or low significance. There is a module called XMLSitemap in Drupal that allows a site owner to easily set up a sitemap on a Drupal website.
Zyxware default image3
| 2 min read
If you are a Drupal Developer you will often encounter situations where you have to use the node_save() function to add a new node to your Drupal site. Drupal does not need you to specify the nid in the standard node object. However there will be situations where you need the nid of the saved node for performing additional operations. If you are looking to know how to get the nid from a newly added node using node_save() then read on.