In one of our recent projects we had to show a slider for a price range. The slider was to be used to show all products with prices between a minimum and a maximum. If we set filters in they will be shown as text boxes. For our project the client requirement was to show a slider above these text-boxes. See the screenshot. The JQuery UI has a good slider widget which will gives the graphical version of these range. We can use this widget with our views 'in between' clause.
Drupal 7
On a recent Drupal project we had developed, we had to use the Drupal date module to display the date in a popup in a custom form. However we noticed that a date description was appearing on the form. If you are facing the same situation in your Drupal site then read on to know how to remove the default date format option added by the date module.
Boost is a Drupal module which provides static page caching for anonymous users. Boost caches a page when a user first visits a page and the the succeeding users are given the cached version of the page. The biggest advantage of Boost is that it works well in shared hosting environments and it provides fresh content for logged in users. Read on to know how to configure Boost in a Drupal 7 website.
If you are a Drupal developer you must have noticed that there is very little information on the web regarding how to create a custom token in a Drupal site. We needed to create a custom token for one of our Drupal clients. If you are facing a similar situation in your Drupal site and would like to know how to create a custom token in your Drupal 7 site and set a custom value for it then read on to know the complete solution
Most Drupal developers know about writing theme functions in Drupal 7. Likewise we can create theme templates too. However Drupal developers rarely create their own templates. Read on to know how to create a custom template in Drupal 7.
In Drupal 7 Image module offers an image field which makes available an image widget for file fields that can be added to content types. This will allow for upload of images to the image field which can then later be processed by the image module and be presented using the different image styles as configured. This means that image module should have the ability to process files uploaded using this field.
A number of Drupal users wanted to know how to hide the URL path settings fieldset in a Drupal 7 website. If you are a Drupal user facing the same question in your Drupal site with your Drupal Pathauto module even after using hook_form_alter then read on to find out the solution.
Many Drupal users wanted to know how to get the list of allowed values in a field in Drupal 7. If you have faced with the same question just like me while using Drupal field module in Drupal 7 core then read on to find out the solution.
Drupal 7 supplies developers with a platform neutral format for generating database queries. If you are a Drupal developer, you might need to see the actual SQL query that is generated by Drupal for debugging and testing purposes. If you would like to know how to print an SQL query with arguments while using db_select in Drupal 7 then read on to find out the solution.
A few Drupal users were encountering a situation in which the Drupal 7 admin menu was not working correctly in Chrome as the leftmost item in the admin menu was being selected when they tried to click on a select element on all forms in their Drupal site. If you are facing the same scenario in your Drupal site with the Admin Menu and Chrome then read on to find out the fix.
A number of Drupal users wanted to know how to use entity_label instead of term name to display term labels in Views exposed filters. If you are facing the same question in your Drupal site and want to know how to use entity_label instead of term name for Views term reference exposed filters then continue reading.
A large number of Drupal 7 users were looking for a way to create a View of related terms in a block in a Drupal 7 website. If you are facing the same situation in your Drupal site and want to know how to create a View of related terms in a block in a Drupal 7 website then continue reading to find out the steps.
A Drupal user was wanted to know How to add a dropdown list in Views in a Drupal 7 site. If you are facing a similar question in your Drupal site then continue reading to find out the answer to the question.
If you are a beginner in Drupal your might be wondering what a node is. The concept of a node is very simple. All you have to understand is that each and every content in Drupal is treated as a node. A page is a node, an article is also a node. If you want to add custom styles and formatting to the nodes of a specific content type then you have to theme a node. Read on to know how to theme a node in a Drupal 7 website.
This is a description of how you can display table listings with checkboxes on each row on a Drupal site. The requirement in one of my projects was that "Admin can select multiple checkboxes against the details of a user, and can run an update query when update button is clicked."
To implement this, I made use of Drupal 7's table_select() function which saved my time and made my code less complicated. Now, if you want to know how you can make use of this functionality in one of your projects, you may read on.
A few Drupal users having a multilingual Drupal website had noticed that the Price field disappears when adding a product in another language in a Drupal site running Drupal Commerce. If you are facing the same issue with Drupal Commerce in your Drupal site then read on to know the solution.
You might face situations where all of a sudden the download links have stopped working in your Drupal 7 website. The path to download file appears legitimate, but when we click on the down load link it will take you to the 404 page. This mostly happens with download links having white spaces.
Drupal theme regions are specific areas defined in a theme into which we place blocks. We can create several regions based on our layout requirements. We define the regions in the theme's info file.
We had come across many situations while developing Drupal based websites where we had to create Javascript popups without using third party Javascript libraries. Third party libraries often lead to dependency issues or conflicts with existing Javascript functionalities. If you want to know how to create a simple Javscript popup in your Drupal website without using third party Javascript libraries then continue reading.
It is easy to show an image pop-up in Colorbox using Views in a Drupal website. You just have to change the image formatter in Views. However if you don't have a View and you still want to load the image in Colorbox, you can do it using jQuery. Read on to know how to load an image in Colorbox using jQuery in a Drupal 7 website.