Views

Filtering Popular Posts on Drupal: How to Filter by Time Frame with Views

| 6 views

In a previous tutorial, I showed how to use Views to filter popular posts on a Drupal site. Today, I will demonstrate how to filter popular posts within a specific time frame, such as a week or a month. Note that this tutorial will only apply filters to the most viewed nodes based on their publishing date, not to all nodes within a certain time frame. If you haven't already set up a popular blog post View, please refer to the link above and follow the steps to create your View. To begin,…


Drupal 7: How to Show a Custom Image When No Image is Provided

| 3 views

In Drupal 7, managing images can be quite challenging, especially when the default image is not provided. The platform provides an option to display a default image under "manage fields," but this approach can be limiting as the same default image will be displayed wherever the image field is used. To overcome this limitation, you can follow these steps: Disable the default image option under the image field settings. Create a view that contains the image and filter the results you want to…


How to Automatically Publish Future Posts in Drupal with Views Module

| 3 views

Drupal is a popular content management system that allows users to easily create and manage their websites. One of the features that Drupal offers is the ability to schedule posts for future publication. This can be especially useful for bloggers and content creators who want to plan and publish their content in a systematic way. However, if you are using Drupal, you may find that scheduling posts can be a time-consuming process. In this article, we will explain how you can use the Views…


How to Display Drupal Taxonomy Terms on a Map

| 4 views

The ability to display taxonomy terms on a map is a useful feature for many Drupal-powered sites. With the right combination of modules and tools, it's easy to achieve this goal. To display taxonomy terms on a map, you will need to have the following modules enabled: Taxonomy, Location, Gmap, Views, Location for Taxonomies, Location CCK Field, and Field UI. Once you've enabled all of the necessary modules, head to "Structure" > "Taxonomy" > "Your Taxonomy" > "Manage Fields". From…