Drupal 7 Imagecache and CDN on lighty

The solution to fix your problems after installing the CDN module and having imagecaches not generated.

Our setup is the following:

1 Varnish (cache and loadbalancer)

2 webservers (loadbalanced) running Apache

2 static servers (loadbalanced) running Lightppd

We installed the CDN module to have all the static content rewritten to the static servers.

Read More

(Source: realize.be)

Status.php for Drupal 7 on varnish (steroids)

There was a status.php pahe for drupal 6 and varnish…

Well now there is one for drupal 7 too:

Use the following backend declaration for varnish:

backend web1 {
  .host = “MYWEBSERVER”;
  .port = “80”;
  # timeouts hide the 503 servers, so the grace objects take over
  .connect_timeout = 600s;
  .first_byte_timeout = 600s;
  .between_bytes_timeout = 600s;
  .probe = { .url = “/status.php”;
            .interval = 5s;
            .timeout = 1s;
            .window = 5;
            .threshold = 3; }
}

And use the following status.php page:

Read More

Colorpaper theme for drupal 7

Yup,  I converted it.

It’s not perfect, but it works.

Download it here

http://itsok.be/colorpaper-theme-drupal-7

soeasy.sodexo.be not so easy…


Ik wens graag het gebrek aan gebruiksvriendelijkheid op uw website aan te kaarten.
Ik geef zelden negatieve feedback over sites, het is namelijk mijn eerste keer dat de frustraties zo zijn opgelopen..

Ik zal het concept van de site  http://zokanhetbeter.com/  toepassen, en voor elk probleem eenmogelijke oplossing suggereren.
Hou er rekening mee dat ik zelf geen usability expert ben.

Probleemschets: Ik wil graag inloggen om prestaties te betalen.



Read More

Usability

Usability

Webform select with existing nodes

If you want a dynamical selectbox/checkbox/radioboxes with existing nodes from your system, you should be using the webform_nodes_selector module.

It can be downloaded from here: http://drupal.org/node/1247350

It allows the creator of a webform to (without programming) let the users choose fron a specific contenttype in a webforma as a field.

ALL DRUPAL PATHS are here

It does not always have to be difficult.

Doing this the drupal 7 way:

alctially it’s quite simple:

the one you want is here :

debug(variable_get(‘file_public_path’, conf_path() . ‘/files’));

All the others are below.

Read More