Suppose your Drupal project has the option to upload Youtube videos which will be displayed in the site. Adminstrator has the option to upload videos in two ways
Admin can add Youtube through direct url uploading.
Admin can add Youtube through adding a video embed code of youtube.
Technical Blog
If Config server firewall(CSF) is installed on your server then, you can edit the firewall configurations from the command line using the following commands.
Here is a document which describes how the contents in a View can be displayed in a table format as well as it can be dragged and dropped from one row to an another row without using any additional jQuery functions. We have done this in Drupal 7 and this can be achieved using a module named 'DragabbleViews'. You can download it from this link: http://drupal.org/project/draggableviews. This module requires the 'Views' module to be installed already in your system.
By default in drupal if we click on any taxonomy term, it will execute the taxonomy/term/% menu. We can change this default taxonomy/term/% menu path to a custom menu path. In one of my project I had a requirement to execute a custom function for my vocabulary in stead of executing the taxonomy/term/% menu and I had found a solution for this. The following are the steps to be done.
Getting search fields inside a view is easy that is adding a field in 'Filter :Criteria' and exposing it, so we get the search field and now you can search based on that field.And when we require more than one field to be searched we need to include it by adding the fields in 'Filter Criteria' and exposing it , which looks weird when we have 3 fields in a single search form.So what if we have an option to make it a single field say we have to search the contents based on 3 fields with a single search field.Isn't that interesting?Here comes the use of 'Finder' module which is safe and sound.
In this article I will be explaining a task I did for one of our sites in Drupal6. In this site, for every content type say event the users manually entered year along with the title in title field. So my task was to remove the year from title and save it in a seperate cck field.
This article will be explaining a module we implemented in site Free Drupal Themes, its called Theme Switcher. This module helps in switching between any enabled themes without logging in. In previous article How to enable multiple themes using command promte? I had explained how to enable multiple themes using drush.
Twig is a modern template engine for PHP. It is fast, flexible, and more secure. Twig is a template framework and is a direct replacement for PHP Template. There are lots of differences between PHP template and Twig.
Drupal 8 is developed with help of Symfony2 framework, and the template files in Drupal 8 are in twig format.Read on to find out more about twig and debugging of twig.
Suppose you have a drupal website which uses drupal ubercart module for handling payments. Your drupal website has several online products which can be purchased using credit card. In Drupal projects, we have to enter credit card informations in the Checkout page.
The term 'RSS' refers to Really Simple Syndication(Rich Site Summary). RSS allows you to group the content in your website and provides an easy way to view and share the contents in the site. RSS files are automatically updated whenever new content is published in the site. A user can subscribe to the RSS feed of a website using feed readers, such as Google, My Yahoo, Bloglines, Live Bookmarks etc. This keeps the user updated when new content has been added to the site. RSS is written as an XML file.
Webform is a helpful module that enables you to submit information such as contact forms, surveys etc. It is easy to configure webform in a drupal site. Now, what about displaying a webform inside a colorbox? Although it is easy to install colorbox module and write custom code to display webform, we also have to effectively handle form submission and validation errors. However, there is an easy way in drupal7 to display a webform inside a colorbox.
CKEditor is a WYSIWYG editor plugin that can be integrated into any Drupal / Non-Drupal website. Integrated with complex and comprehensive features,this text editor simplifies website content creation and is very helpful for content editors. Following are a few of the key things that need to be considered, while testing CKEditor implementation on Drupal websites.
If you need to import users from the data given in a file in drupal 6, then user import module is helpful. Using this module, we can upload the file in csv format, which contains user details and select the details from the uploaded file using the user import module.
Drupal is a stable,reliable, and robust Content Management System. Views is a Drupal module, which provides a flexible method for site designers to control how lists and tables of content, or any other type of content has to be presented. The views module was a contributed one and was later adapted to the core from Drupal 8.
Drupal views are being used by almost 75% of the Drupal based sites to present the elements in a page. Most of the websites still use the Views module versions such as 6.x. Drupal Views versions, 6.x-2.9, 6.x-2.10 and 6.x-2.11, in Drupal 6 are vulnerable.
Universal Analytics is a set of technological innovations that is aimed at improving the way data is collected and processed in Google Analytics.The Universal Analytics Upgrade is a process which is used to upgrade all your classic Google Analytics properties into Universal Analytics properties without losing any data or changing your account settings.All Google Analytics properties will soon be required to use Universal Analytics. Any properties that don’t follow the upgrade process will be auto-transferred to Universal Analytics in the future.
Nodequeue module allows users to collect nodes in an arbitrarily ordered list. For example, if you want to display images of a slideshow in a particular order, then the images can be sorted based on the position of the images in nodequeue. Read on to know more.
A new requirement from one of our clients was to create a 'custom view' tab in Drupal my account page. The tab should lead to a page that lists the user’s content in descending order by date of placement. We were all set to create it through code, but interestingly we came up with a different solution. All that was required was just a few minor admin configurations, and the tab was ready in a few minutes. Here are the steps to create a custom view tab in Drupal 7 my account page.
As Drupal sites are becoming increasingly flexible, it is obvious to list the nodes related to logged in user. This can be done with the help of PHP and MYSQL codes. However, we need not waste time if have the views module - the perfect icing on the cake !!! So, let's narrow down here.
Iframe for youtube video ignores the z-index added to it. This happens because iframes are "heavyweight" objects as compared to div. So, the iframe overlays over other div and z-index gets ignored. Read on to know more about setting z-index for iframe .
My Live Chat plugin is fully customizable, easy to install, and requires just a free account at Mylivechat to complete the integration with Drupal websites. It allows you to live chat with website visitors, monitor site traffic, and analyze the web activities of visitors, including their search engine and keyword usage. First of all, what you need to do is to create an account in Live chat site and integrate My live chat in Drupal. Read on to know how to enable live chat in your site.