Blog

Posted by: 
Dominique De Cooman

Are you using a content type with revisions enabled?
This is incompatible with faceted search which builds it's query on the nid and not on the vid. For example if you edit a node with nid 10 and vid 20 and a term tid 1. A new entry in the term_node table is inserted: nid 10 vid 21 tid 2. The faceted search module will build a query using the nid and tid only. When you filter in your search for the term with tid 1 the module will query on tid 1 and will still find the node with nid 10 but it's the wrong revision of that node.

Posted by: 
Dominique De Cooman

Apparently when your line length exceeds 998 characters an exclamtion mark is placed in your mail. This is exactly what happend to us when we tried sending a hmtl newsletter using simple news and mime mail module.
When using thunderbird you can see the source of your email. (with other clients probably too) You ll see the html part of the multipart mail is one line. Which offcourse exceeds the line length. Resulting in many Exclamation marks in your mail.
The Solution:
You ll have to chunk up your email before it reaches the mail() function.

Posted by: 
Dominique De Cooman

Put a file in the root of your website folder.
Put this in the file if you dont want your site indexed.

User-agent: *
Disallow: /

Posted by: 
Dominique De Cooman

You ll use the drupal theming system because you want to seperate presentation from logic.
The possibilities
A simple theme function like in drupal 5

Posted by: 
Dominique De Cooman

Css trick make style rule only apply in ie6 - solve padding issue in ie6

Posted by: 
Dominique De Cooman

Should be used on every site containing the webform module.

Posted by: 
Dominique De Cooman

A solution is suggested on http://drupal.org/node/61728
In case it doesn't work, I explain a different method in this post that worked for me.

Posted by: 
Dominique De Cooman

If you've enabled voting for anonymous users. You should disable the page cache for pages containing a poll node.

Posted by: 
Dominique De Cooman

If you have php5 you should use simplexml: http://be.php.net/manual/en/book.simplexml.php
If you're on php4 you can use the class simplexml44 which is a backport of the php5 simple xml class http://prdownloads.sourceforge.net/ister4framework/simplexml44-0_4_4.tar...

Why use this?
It has all the functionality you ll need build in. So no need to try create your own parser.

Posted by: 
Dominique De Cooman

This post provides the code to import a basic node into drupal and the method for using cck fields.

Pages

Subscribe to Blog