Web

Un nouveau theme \o/

Et voilà, depuis le temps que je trainais l'infameux thème Bluemarine comme base de travail pour celui de mon site! J'ai franchis le pas, pour de multiples raisons1, et que diable, au bout de deux bonnes heures de travail je suis enfin arrivé à un résultat.

Au programme, tout un tas de nouveautés, même si la différence n'est pas flagrante à première vue.

Dans le gros du travail, un thème mélangeant positions absolues et conteneurs floatants, table-less et fluide. Un header quelque peu particulier, puisqu'il est en réalité rendu non loin du footer, suffisament bas dans la page pour ne pas polluer le html brut.

Pour finir, quelques heures de travail, des découvertes en CSS, un peu de Gimp pour faire le fond zébré (et oui, moi je réinvente la roue, je me fais mal, et j'aime ça), et la place pour de nouveaux modules, à venir, plus tard quand ils seront releasés officiellement.

Votre notation : Aucun Moyenne : 1 (1 vote)

Grok 1.0 released !

[Ce post est une traduction partielle et adaptée de l'annonce officielle de la publication de Grok 1.0]

Aucun vote pour l'instant.

System Theme 6.x-1.0 module released

Daily WTF

What The Fuck Cat

Today, I found the strangiest bug of the month; I was parsing some date parts with JavaScript to properly set default month of a YUI Calendar instance.

var month = parseInt(Drupal.settings.mymodule.date.month) - 1;
myCalendar.setMonth(month);

Why -1? Because month count starts with 0 in YUI Calendar, January is 0, december is 11; everything is fine until here.

Why the FUCK does my calendar always get to december?

Aucun vote pour l'instant.

Yamm 6.x-1.0-BETA1 has been released

The first official supported version of Yamm has been released1.

This version is identical to the one we use in pre-production environment for some projects. You will have no surprises using it.

Aucun vote pour l'instant.
Étiquettes:

Yamm development

I am currently writing a mass synchronization module for Drupal, based on eavy objects abstraction.
I will not describe it here, you can read the project page which describe pretty well how it works.

I wanted to do some notes about development context, and some other stuff.

Aucun vote pour l'instant.

Howto fix Drupal's update.php when $_REQUEST is denied by a paranoid sysadmin

I dont know how much people get to this problem, but one thing is sure: when you have a paranoid sysadmin, you might encounter some surprises with PHP and globals.

The annoying case is here when you restrict PHP to the maximum you can, you can't access to the $_REQUEST superglobal.

Aucun vote pour l'instant.

Do not use <Bad PHP applications> !

<?php
   
foreach ($_POST as $key => $value) $$key = $value;
    foreach (
$_GET as $key => $value) $$key = $value;
?>

No comment..

Votre notation : Aucun Moyenne : 3.5 (2 votes)
Étiquettes:

Some basic things about Apache VirtualHosts

Apache

For people who thinks that setup an Apache is easy (and of course, with some experience behind me, I agree), I say, beware of some details.

Aucun vote pour l'instant.

Méfiez vous surtout des URL absolues ! :) (bis, ter, et fini après)

Après avoir fait un patch très moche, m'être fait incendier par le mainteneur du module, j'ai décidé de réfléchir plus et d'introspecter plus loin pour voir d'où venait mes problèmes. Et j'ai trouvé, voici l'explication en couleurs !:

file_create_url() à tout cassé, parce que:

Aucun vote pour l'instant.