Consider the situation that you wanted to add a slide-show to your website using the nivo-slider module. In this article you can find out the easiest and simplest way to add a slideshow using the nivo-slider module.
Consider the situation that you are using the fancy box module in your drupal 7 site and you have to display the images when clicked on in a pop-up.You just need to follow the steps mentioned below which can guide you through the various procedures.
A bug was noticed in the Drupal site that permission for creating node not working on upgrading the module. We can create the node or view it if we are admin users but the node is not accessible to authenticated users or cant be viewed by anonymous users.
I tried the fixing by looking at the permissions of the nodes to the specific users.It all looked fine and created a custom permission for the same.The issue still stayed.
The CKeditor module has an issue which will add some extra html markup tags to the original content of a CKeditor enabled text area. This will be annoying since it will break the original content formatting.
In Drupal we can create a time based subscription for a user for a given role. The user will be assigned to that role for a certain limit of time, after that the role will expire. The subscription will be based on Ubercart product. When a user purchases the product, account of user is upgraded to a specified role for a given time limit. The user can also renew for the role by purchasing the product after end of subscription.
I came across with an issue in one of the Drupal site that if an anonymous users knows the path of the file(example.org/sites/default/files/file1), he can view as well as download the file without any access to site. This looked strange as the sites files are been traced out by anonymous users and can breakout site admin credentials which are private.
Syncing means importing all files, permissions and data's from master to the development site, so that we have a two copies of live sites to test our new developments. In Drupal, its very easy to create versions of websites using this syncing process. Once the site is live to Production, the above process helps to fetch the sites data in the current scenario and to update few more features in the live site.
I had a task to sync live database to development site's and came across some issues while syncing live database with the dev database.
We had an issue in views_slideshow_jacrousel module that prevents true circular effect in the carousel even when we configure the module to use the circular effect. Read on to know how to enable true circular effect in Carousel in Views Slideshow jCarousel module.
While working on a report generating system, I wanted to display footer value that should reflect based on the date filter, added in the report. I thought of creating a block in the content region and manage the contents in the block. But when I went to know about header and footer options in views module, I decided to go for it. This article is on how to use header or footer in views pages.
Navigation Menu bar are intended for helping users navigate through important pages of the website. The navigation menu bar can be customized in different ways. Mega menu is one such customized menu bar, which has got high usability factors compared to traditional navigation menu bars. The main advantage of mega menu is that user can view all options in one area, without scrolling down the content. The user can access the mega menu with just a click or mouse hover thereby saving his/her time.
Being an open source content management platform, Drupal powers millions of websites and applications, from whitehouse.gov to the economist.com. It is built, used, and supported by an active and diverse community of people around the world. Though there are hundreds of content management systems, Drupal scores high when compared to all the others.
Here are the three reasons why you should build your website using Drupal.
Suppose you website sells products. Both anonymous user and registered user will be able to purchase products. And the registration process takes place in two ways.
- Normal registration process.
- When an anonymous user first time purchase a product, registration process will take place automatically.
Drupal provides creating an image style in different ways through configuration. Adding a watermark to the image to provide its originality is a must thing needed by the clients. While running in to this we have found out a solution to add a watermark to the image styles.
Drupal 7 has a contributed module "Nodequeue" which allows users to collect nodes in an arbitrarily ordered list. It provides a simple drag-and-drop interface to manually order any queue. If you want to create a node to the nodequeue programmatically then you need to read this article. For creating you need to have two things: node id $nid and the queue name queue_name. Here how it can done, we firstly load the nodequeue by name and then add the node to the queue using function nodequeue_subqueue_add. Below code snippets adds a node to the queue.
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!
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
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.
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.