In this article we will be explaining a small feature we implemented in our Drupal themes, its called Slideshow. Will be explaining how to create and implement Slideshow feature for your theme. Before we start, hope you all know about PHP templates and Java Script, because these two play a major role in implementing the slide show.
Technical Blog
In this article we will be explaining how to use hook_views_query_alter() for Drupal views. While working on Views, I came across a problem. In my search option there is a drop-down menu listing taxonomy terms, what I have to do is instead of taxonomy terms I need to give two options and taxonomy terms comes as a subset of these two terms.
In this article we will be explaining a small feature we implemented in our drupal themes, its called Style Switcher. Will be explaining how to create and implement Style Switcher feature for your theme. Before we start, in my previous article How to create default Slideshow for Drupal 7 themes? I have explained how we can use form alter for theme settings page, kindly refer this too.
In this article we will be explaining how an anonymous user can switch the theme of a Drupal site. This is the continuation of my previous article How to create Theme Switcher module for Drupal 7 Part 1? If you want to know how to create a theme switcher module for Drupal 7 then read on to know more.
In one of our Drupal projects, we implemented a feature where, users can login to the site through Facebook login(fconnect button). Facebook login(Fconnect) button was implemented using fbconnect module. Client requirement was to change the landing page for each user according to their role after login through facebook.
Drupal core itself has language support handling in at multiple levels. But If you need multilingual support on your site, locale module provides a user interface on top of basic language configuration.In this article I am going to explain how to add language support in a drupal 7 site.
The steps to be followed are:
'Feeds' helps us to keep track of contents in another websites. In Dupal, we have 'feeds' module for this purpose.Through this article, we will be helping you to find out how you could create a custom feed using views in a drupal 7 site.
Follow the below steps . Please note, you will have to enable the 'Views' module before padding up.
Step1: Create a New View
Goto Administer > Site building > Views > Add. Create a view name called "custom_feed" with description and the View type as "Node" and press Next button.
When we install a fresh copy of drupal, we can see that on the top bar icon, there is an image of drupal. This image is known as 'favorite icon' of a site. This is a default image which is provided by drupal. You may replace this with your custom image. If you want to know how you could change the favorite icon, please read on.
To upload our custom favicon, follow the below steps.
Step 1: Log into your Drupal 7 Admin panel. Using the top menu area, click on the Appearance option. This will show up the themes page where it lists all themes installed within Drupal 7.
Drupal 7's version of Organic group is totally rewritten by taking the advantage of many new Drupal 7 features, especially entity and field APIs. One of the major difference between drupal OG-6 and OG-7 is the expansion of the concept of what a 'group' is. In Drupal 7, any type of entity can be a group and any type of entity can belong to a group. The organic groups module allows us to create a working group where a number of people can create content which is non-public and it is visible to group members only.
Hierarchical select module helps us to display taxonomies, menu etc in a hierarchical form. It is easy to create a hierarchical form field as a content type's field. But have you tried implementing this in a custom drupal form?. Read on to know how to achieve the same.
It is very easy to create a content type through admin section of Drupal. But have you tried doing it programmatically? This article will explain to you how to do this in a very simple way. Even though fields can also be added to the content type programmatically, this section only covers the creation of content type.
Let us pretend we have the following lists with us:
How can we install multiple domains or multi-sites in a single Drupal installation? We can install multiple domains in two ways:
Single database with different prefix(not recommended)
For each domain, use different databases
We had recently faced an issue in one of our client's website running on Drupal 5. The site had crashed and we were unable to continue development. We began analyzing the problem by checking the free space on the site and came to the conclusion that the now deprecated PHP Ereg function was causing the site to crash. If you are facing the same issue in one of your Drupal sites, read on to know how we successfully fixed the bug.
When a user frequently visits a webpage, the browser automatically saves or in other words caches that particular page. This helps the user to access those pages in future which saves time. However due to caching, the changes made on a site do not reflect at once and its not useful during development or testing of a Drupal site. Therefore it is important that testers clear the cache before they start testing. Caching can be performed by both the site and the browser. Read on to know how to clear the Drupal cache.
Drupal modules can be defined as a collective set of functions that can be used to create certain features. There are two sets of Drupal modules - 'Contributed modules' and 'custom modules'. Contributed modules are modules that are contributed by Drupal users for general use whereas modules which we create to achieve certain functions are called 'custom' modules. If you want to know how to create a module on your own in Drupal 7, you may read on.
For getting started with accepting online payments through your Drupal website, you would require the Ubercart module installed and configured correctly with a desired Payment Gateway enabled. But before going to actual Payment Gateways, let us try out configuring Credit Card Payments with default Drupal Test Gateway.
Pre requirements: Ubercart module Installed and configured with store, products and cart checkout.
Here are the steps to configure Credit Card Payments,
Drupal offers flexible support for theming by allowing us to edit its template files. If we want to add a few custom variables other than the default variables then we need to do some coding within the template file. If you want to know how to add a custom variable in a Drupal's View template file then read on to find out more.
Backup! Backup! Backup! Always back up your Drupal site's code and database before you actually start making any changes to your site. Do you have access to the control panel? Cool! Go ahead and create a zip file of your entire site, export your db, download it to your local machine and you are done. Read on to know how to backup your Drupal site.
This article is about creating URL alias for a custom menu that we created in our custom module. This was a requirement in one of my projects, to change the node id to node title in one of the custom created url. I was able to do this by implementing hook_pathauto. This is done on Drupal 7.
Webform is a Drupal module that can help webmasters create submission forms like survey forms, contest forms, contact us form etc without any custom programming. Usually webform submissions will result in the data being inserted as a new row into table 'webform_submitted_data'. But our client requirement was to update an existing submitted data from the table 'webform_submitted_data'. If you want to know how to update an existing webform submission then continue reading