To add a video file inside the drupal site, there are different ways. If we are entering a video file inside the drupal site by entering the url inside a text field, and we need to find the url entered is of which type (ie the url is of youtube or vimeo type).
Many a times Drupal users face the problem of not being able to access the php variables in jquery function . One way of accessing this variables is using ajax but this causes time delay in sending requests.This time delay can be minimized using drupal.settings.If you are not sure how to tackle this problem then read on.
Sometimes we may want to find all unused contributed modules in our site to clean up and all. In that case instead of manually checking all the modules from the sites/all/modules folder we can take it from the database system table.
We may want to find these unused contributed modules list to physically remove them from the sites/all/modules folder. But before removing them we have to make sure that none of its sub modules are currently using. So in order to find out the unused modules list we can do the following three steps.
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.
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.