Warning message

  • The subscription service is currently unavailable. Please try again later.
  • The subscription service is currently unavailable. Please try again later.

Blog

Posted by: 
Dominique De Cooman

This article explains how to switch your theme. In our example we will switch the theme if one of the fields of our node has a certain value.

Posted by: 
Dominique De Cooman

When you enable the i18n module you'll probably want a different homepage for each language.

Posted by: 
Dominique De Cooman

This means php ran out of memory.
You can put

ini_set('memory_limit','128M');

into your index.php in drupal. This assures that the memory limit is extended everywhere.

Posted by: 
Dominique De Cooman

You have a node type containing an image field. You want to construct a feed containing the image (and node title) but the image needs to be resized to a format you don't use on the site.
I'll explain how to do it.

Posted by: 
Dominique De Cooman

Use this function if you want to pass extra variables to a tpl.php file.

Posted by: 
Dominique De Cooman

Given a page with multiple instances of the same form (which use the same form id), your form submit() function may not receive the anticipated set of form values for the form the user has submitted. The values you get may not be from the form attached to the submit button the user clicked, but values from a different form with different values which is using the same form id.

Posted by: 
Dominique De Cooman

This module turns dominique@dominiquedecooman.com into

<a href="mailto:&#100&#111&#109&#105&#110&#105&#113&#117&#101&#64&#100&#111&#109&#105&#110&#105&#113&#117&#101&#100&#101&#99&#111&#111&#109&#97&#110&#46&#99&#111&#109">

in the html code. Preventing your email being harvested by spammers.

The code in the module can be found on http://drupal.org/node/151638
I just put it in a little module ready to be downloaded and installed.

Posted by: 
Dominique De Cooman

Create a file containing the piece of javascript detailed in this post.

Posted by: 
Dominique De Cooman
Posted by: 
Dominique De Cooman

his happens when you add a lot of cck fields to a content type

Put 'max_allowed_packet =64M' (or more) in your my.ini file

Restart your server and the problem should be fixed.

Pages

Subscribe to Blog