Drupal planet

Redirect taxonomy term links to a views page

On some Drupal sites having the taxonomy links point to the "taxonomy/term/tid" can really break the design of a site. Sometimes you want to redirect the user to a custom views page instead of the standard taxonomy page.

Using the Taxonomy Redirect module it's relatively easy to change the taxonomy URL.

Remove content types from search result

If you are looking for a way to hide specific content types from the core Drupal search result then checkout the Search config module. It's a good idea to use this module if you are using the Content profile module so you can hide the profile node from appearing in your search result.

It does offer other functionality, but I'll just show you how to hide a content type from the search result.

Using Views Slideshow module

Views slideshow module is a great module which allows you to create slideshows from a views results. It makes it very easy to create a block that rotates the latest blog posts for example.

Creating custom filters in views 2

A project that I’m currently working on requires a classifieds system which is fairly straight forward to setup. I’m using the location module for users to specify a location of the classified. To make the search easy I created a simple views page with exposed filters, but I wanted to have a select field with only Australian states.

Out of the box the location module only gives you an exposed autocomplete field for the state/province.

Add alternative search with the Lucene API module

The Search Lucene API module is an alternative search module which can be used on your Drupal site. It's powered by a stripped down version of the Zend Lucene Search which is a PHP port of Apache Lucene. Because it's all PHP do don't have to worry about running the search on a separate server or setup other applications to run the search.

Using diff module

The diff module let’s you view the difference between node revisions. It adds a tab on every node page where you can see a list of revisions which you can control via permissions.

Create database snapshots

The demonstration site module is a great tool if you want to create a public Drupal demo site. You can set it up to import a fresh database each hour. Let me explain how I use it.

Adding nice menus

Nice menus is a module which let's you have expandable drop-down menus. All you have to do is create your own menu structure. If you want to customise the look and feel you can override some CSS. Please note that in this tutorial I am using the 6.x-2.x-dev release because it's most up to date version.

Separate nodes into pages with paging module

The paging module gives you the ability to separate the text within the node body field into pages using the <!--pagebreak--> tag within the text.

Control site tabs with tab tamer

Tab tamer is a module that let's you control which tabs you want to display or hide. Often when you enable a module it adds an extra tab on the user profile or node page. With the tab tamer module you can control which tabs are displayed.