Drupal: Faceted Search and views no results FIX

Today we suddenly got stuck with a broken Faced Search module, the normal display options where working fine. But our views display options just kept saying the following.

Your search yielded no results
Check if your spelling is correct.

So after searching around the web and as always being helped with a anwser from the great community of Drupal, we found the solution to this problem.

Drupal tip: Disable your user registration on your website

Today i noticed that a lot of people forget to disable there user registration page (user/register) on there Drupal website. To do this you have to login and go to the following page: /admin/user/settings.

Offcourse only do this if you have a website where no new registrations by anonomous are permitted.

 

 

Drupal 7 is live! Go for it or wait a little longer what do you think!

Should we go for Drupal 7 right away with every project or wait a little, because not everone of you favorite modules is available for Drupal 7 yet?

How to translate in Drupal views filter

I just ran into this little problem with Drupal's views filter, that when you want to translate the label that shows everything it doesn't work through the translation interface. So i searched on Google and found a link to a post about it on the Drupal forums.

Go to Views -> Tools and set <Any> to - Any -, now you can go to the translation interface of Drupal and translate it to what ever you like.

Source: Translate <Any> trought the translation interface in Drupal.

Drupal bug fix: Taxonomy Fatal error: Call to undefined function _pathauto_include()

I just ran into a small problem with Drupal's pathauto module, drupal taxonomy and ubercart module. When i wanted to add a new term i get the following Fatal error. The fix for this module is made in the uc_catalog.module file where the call to the pathauto module, trough pathauto include() must be replaced by a new function. It still contains the old way to talk to Drupal's path auto module.

Drupal bug fix: HTTP-fout 0 error message with cck filefield

Last week a came across this error popup message when uploading a file throught the cck uploadfield. After searching on the web, i found out that a view people experience this problem in different situations with there Drupal website. Not every fix seems to work but this one did it for me, so i thought i'd share it with you. 

Fix for the HTTP-fout 0 error message with CCK FileField module

To fix this problem i first updated my cck filefield module to the latest version.

How to make text translatable in Drupal

As a drupal themer i came across multiple times that i wanted to make my hardcoded text translatable through drupals interface. So if didn't have to bother which language is on display! Which gets your ass coverd for any future language expension.

So lets share this little secret i came across last week, with you drupal themers out there.

To make a text translateble in your drupal theme just add the following code around your text.

 

Custom formatter filters for cck fiels - Drupal module

This module lets you filter on you cck fields by making your own custom cck formatters for views. A handy Drupal module to save your self some programming time or as for a webdesigner like me a whole lot of trail and error.

Download Custom formatters here: Drupal Custom formatters

 

 

 

How to install and enable clean urls for Drupal on Wamp server

Working with Drupal on a localhost on your computer can bring some problems with it, like clean urls won't work and/ or Drupal itself won't work at all on your version of Wamp. So today i post some solutions on the blog for you to get started.

I like to start a project on my localhost because it works faster the uploading all the files over and over again so how do we get Drupal working on Wamp.

 

 

Cool module: Customfield module adds a php viewfield to views module

Most times when you are working on a Drupal project you'll come across new Drupal modules.
If there usefull you collect them for futher projects. But what about the ones that where very useful and rare to find. Those ones you come across by luck?

Yesterday Views Customfield module did this for me.

I needed to get some data out of views that the default viewfield didn't have without writing a custom view, when i was searching on Google i came across Views Customfield that lets you add PHP code in a view and use this data in other viewfields or its own.

Reacties