Drupal

Add a simple Google search field to your site

How to add a simple and reliable search field for Drupal?

Some content management systems (CMS) do not provide good searching facilities. However, a good search is very helpful. There is a simple and free solution: Using the Google site: search parameter. Thus, the high quality Google search engine can be used.

The results are shown on Google. The Google results contain only pages form this domain.

Alternatively, there is the Google Custom Search Engine (CSE). This technique allows to show the results on the same homepage without changing to the Google site. However, CSE is more complicated and restricted.

Generate automatic meta description for taxonomy term listings for Drupal 7

Search engines often print the meta description in the search result list. A good meta description might increase the click rate and is a good SEO measure.

An automatic meta description for taxonomy term listings is fairly easy in Drupal 7.

This article is related to the article Output meta description and keywords for selected paths with Drupal 7.

Count access statistics for anonymous users only (Drupal 7)

Do you want to count access statistics for anonymous visitors only? Do you want to reset access statistics for unpublished articles?

I'm assuming you're using the Drupal 7 statistics module.

Instead of copying the whole statistics module and changing it, there's a simple trick: Undo the +1 of registered users by an -1. Thus, the increase of the statistics module is compensated.

Seiten

Subscribe to Drupal