Commerce Giftwrap module provides a very quick and easy way to offer a gift wrapping option to your Drupal Commerce checkout. This module adds a new checkout pane with configuration settings to allow users to select a gift wrapping option to add to their order along with a message to the recipient. People often buy products hoping they can gift it to a certain address. If they can get it gift wrapped, it would be an added advantage as they could deliver it directly to the person instead of buying it and then gift wrapping it and then delivering it!
Articles
Consider that you are working on a Drupal website. It is not possible to work on the live website because it will result in crashing of the site if we make some mistake. So the best way to avoid this problem is by setting up the same site in the local machine and after that working on it. The following steps have to be performed if you want to setup a Drupal site in your local machine.
It is important to keep our drupal site up-to-date. New releases of contributed modules and Drupal core come out periodically to address critical security fixes, and it's important to stay on top of updates as they are released. It is difficult to download the latest version of each module separately and then remove the old one from the sites/all/modules folder and put the the new one in that place and all. Drush comes to help us in updating the modules in an easy way. The following are the steps to update the non hacked modules using drush
Getting a block in front page or in all other pages is easy ie, we only need to print that variable in our template files namely page-front.tpl.php or in page.tpl.php.In certain cases we may need to print a block in certain nodes. This can be done by the following code :
Every one will be familiar with the template files.Now lets see the case to theme a block. Here we can use block.tpl.php for theming the block but what if we want to theme the block specifically by a region?In one of my recent projects I need to theme the block in a specific region, I cannot use block.tpl.php as this may cause all other blocks to change.While digging a bit deeper I found out that this can be done easily by using a template for that particular region.Let's see how it can be done so.
Ignoring files:From time to time there are files you don't want git to track. There are a few methods of telling git what files to ignore. In which .gitignore file method is one of the popular method
To connect into MySQL database with the help of PHP based web applications we are in need of mysql_connect or by PDO method. Here i have added a common function which will be useful for the php based websites to connect into the database.
Recently I ran into the problem of mouseovers on touch devices. In short, they doesn't exist. I had just created a layout of four images which listed at the centre of the home page as like our zyxware website. And if you check the site on mouseover the image it will expand and while clicking the image it will go to the link added. But the problem is the mouse over wont work on the touch mobile devices.
While accesing site from mobile it needs to be changed as per the mobile reqirement. So we need to check whether the site is accessing from mobile devices or from the desktop or laptop. There is an easy way to detect it witht help of Javascript.
In this article I will be explaining What is Affiliate Links and what all configurations should be done to generate affiliate links on page load. Also will explain how to generate titles of required patterns using preg_match(). In a related article we have explained how to use hook_form_alter() to make the Multiple select field a single select.
In a drupal site if you want to display the location of a particular place then there are many modules to help you out. In this article I am writing about such a module. The name of the module is 'Location Map module'. In this article you can read about the configuration that has to be done while using the module. The module uses google maps to locate the particular locations.
Recently, I got stuck with a strange issue while using CKEditor. The problem was, When code such as v-aligns for tables or inline styles are added in ckeditor and saved then everthing things works fine, but as soon as the page is edited inline css and classes gets stripped off the content.If you are also facing the same problem then read on to know how to solve this.
cPanel offers a very simple point and click way to create subdomains in your hosting account. Read-on to know how to create subdomain for a site using cpanel.
This is a documentation on how the items displayed in a View can be grouped by using fields in the view. This can be performed using the 'Grouping field' option inside the Format settings of Views. Our client had a requirement where the view items displayed in the page needs to be grouped according to the filtered taxonomy term field.
I had an issue with a Drupal site that files not getting loaded due which issue on website alignments. This files not getting loaded issues was noticed on reviewing the console log errors in browsers.
Webform has inbuilt functionality to provide reports for the data submitted. The datas submitted to the webform can be setted to a limit or can be unlimited with respect to the feedbacks needed to be collected.To implement custom reports page using webform views, we need to get the web-form submissions data value by installing the following modules
Every website has POST and GET feature involved for continuous client and server communication. We would have got many unauthorized requests from the site to and fro which are categorized as spams. Spambots usually create fake accounts and send spam using them, although in many cases it would be obvious that a spambot is sending it.
Drupal has a lot of contributed modules. Today, Facebook is one of the most popular social networking sites and almost all the websites are connected with it. So, how can you connect your Drupal site with Facebook?
In Drupal 7 there is a contributed module called Facebook Events. This Facebook_Events module allows to show RSVP of Facebook event in Drupal node. This is very useful module for Drupal sites Facebook connection and also FBConnect module which can also be preffered as a linkage to Facebook events.
Zyxware is conducting a 3 day workshop on Drupal at IIT Madras as part of the technical festival, Shaastra 2015. The workshop will be held from Jan 3 - 6 by Mr. Anoop John, CTO of Zyxware Technologies and Mr. Vimal Joseph, Technical Architect.
Check out the steps to create a custom token in Drupal for setting the URL alias pattern.