One of our Drupal clients wanted to make the current image of the slideshow in a page as the background of other pages. It is possible to achieve this effect using a combination of jQuery and Ajax. Read on to know how to make the current image of slideshow in a page as the background of related pages in a Drupal site.
Articles
Suppose you have to display the thumbnail image of each video uploaded in a content and while clicking on the thumbnail the corresponding video should be loaded in the page. This can be done by embedding the video in page and implementing jquery function to load video.If you are not sure how to display the thumbnail images of the videos uploaded from vimeo/youtube in Drupal then read on.
Suppose you have details in LibreOffice calculator and you want to convert this in LibreOffice writer table format. Moving data from Calculator to Writer will come often when you prepare reports. It can be done in different ways. Read on to know how to transfer data in LibreOffice Calc to Libre Office Writer in table format.
In Drupal, Heirarchical select list simply means the select list has child and parent terms in Select lists. Getting a search field inside a Drupal view is quite easy but how can we get a hierarchical select list inside the 'Filter criteria'? Read on to know how to get hierarchical select list inside a View in Drupal 7
We need to develop websites which are capable of handling YouTube video.This feature can be implemented using media YouTube module. Read on to know to add YouTube capability to a content type in a Drupal website.
Drupal drush will work with php version 5.3 or greater. Is some situation default installed version may be less than 5.3. Read on to know how make drush work on PHP CLI versions less than 5.3
Comma separated values, commonly referred to as CSV is one of the most popular methods for transferring data between systems. Creating code to export data to CSV is extremely useful in many applications. If you want to know how to create CSV files using PHP then read on.
Suppose you are testing a drupal website which sells random products. One of the cases you will have to consider is the e-mail invoice which the purchaser recieves after the purchase. In this article, I am going to share the test cases that you have to consider while testing the order verification mail.
The cases are:
Forms can be considered as an integral part of websites. Forms can be included to a Drupal website using Form API. Form API is so extendable that we can customize almost all of the form API elements. In this article I will be explaining 'how to increase the "coolness" of your form elements by adding "spinner" style.
The Node Gallery module is one of the best options available to create multimedia galleries where both the galleries and the gallery items are nodes. The latest module version for drupal 6.x is 3.2. If you are trying to update the module from 2.0 to 3.2 you will find some issue with the cover photo of galleries. The cover photos won't come up after the update. Read on to know how solve the issue after the Node Gallery update
OpenX is a free and open source ad server. It is a professional ad server which can be used for managing ads like Google DFP,
and has many features like geographical ad delivery limitation, features to limit ad based on the user agent, client IP address, client domain,
site variables, just to name a few. OpenX also provides a robust reporting interface. Read on to know how to install Openx in a GNU/Linux based server.
In one of my project I had a requirement to create an image in a particular image style in a specific folder, when uploading the image itself. In this article I will be explaining how to achieve this using the function image_style_create_derivative in drupal 7 to create an image in a particular image style. One another advantage of this function is that this will create the destination folder if it does not already exist.
In Drupal we use the global path variables for specific reasons.
If in any case there is a change in your site url you just have to update the general configuration page and by doing so every link in your site would be automatically updated. Using the path variable is also less prone to errors.Read on to know how to use the global path variable in Drupal
If you are a PHP programmer or a Web programmer you would eventually encounter a situation where you need to process XML. Since XML (Xtensible Markup Language) is a widely using format for exchange of information there are libraries to parse an XML file in PHP. Read on to know how to read an XML using DOM.
The easiest way to read a well-formed XML file is to use the Document Object Model (DOM) library. In this section we are going to create an object and then load the well-formed XML file. Below is an example of well-formed XML (sports.xml).
@font-your-face module helps us to manage web fonts in all popular browsers and it provides the user interface for applying web fonts. If you want to know "How to configure a @font-your-face module in drupal 7" then continue reading
Sometimes after ubuntu installation we may find certain notification box saying "System program problem detected". This is because the notification is enabled in the apport file in the system. You can enable/disable this notification. All you have to do is to edit the /etc/default/apport file and change the enable value to 0 to disable the notification and if you want enable this change this back.
You can follow the below steps to disable this notification.
Service links in commerce kickstart refers to facebook/gplus/twitter icons in the node page. These links help us to like/recommend/tweet specific page of our site respectively.In a recent project, I got a chance to work with Dupal commerce kickstart. One of the requirements I had to fullfil was to remove the twitter icon form the product's node page. Eventhough I searched everywhere in the net, I was unable to find a solution. If you wanna know how I nailed it, you may read on.
I assume most of us are familiar with creating tar, tar.gz and tar.bz2 files. But do you know how to learn what is inside that tar file without extracting it? If your answer is "No" then you have come to the right place.
The following commands can be used to list the contents of a tar, tar.gz, tar.bz2 files. These commands becomes handy when you have multiple tar files and if you are searching for a particular file or folder.
To list the contents of a tar file :
tar -tvf filename.tar To list the contents of a tar.gz file :
Drupal provides a Shipping module that comes into use when you have a store and you want to ship your products to another location.
Ubercart has a flexible module that provides custom shipping quotes based on configurable weight ranges and custom shipping zones.
For this all you have to do is to download and install the uc_global_quote module.
Steps:
Step 1: Download the uc_global_quote module from drupal.org on to the sites/modules folder.
Step 2: For configuring the module go to /admin/modules and enable shipping, shipping qoutes and flat rate modules.
Version control system is used to track the history of the files. Also we can revert the files to another version. Version control system will increase the potential of parallel and distributed work , ie it will track time , merge changes and manage the history of changes in the file.If you are a Drupal developer you might find Git a useful tool. Here a few commands that are to be familiar by a Drupal developer