mardi 22 décembre 2009

[Drupal] Views Error occured !!!!!

Un constat bizarre : En voulant personnaliser une vue je n'ai cessé d'obtenir le message
"An error occurred at /drupal/admin/build/views/ajax/preview/".

J'ai au premier abord installer/désinstaller les modules "devel", "Admin menu", "Menu".
Puis après j'ai activé le 'clean url' la réécriture des liens.
Mais peine perdue.

Un tour sur le net m'a dabord rassuré que je n'étais pas le seul à avoir ce problème.

J'ai finalement résolu le problème en installant PHP 5.2.9 comme l'a suggéré quelqu'un http://drupal.org/node/295246#comment-2312134 (Xammp1.7 au lieu de Wamp 2).

Mai je me demande toujours pourquoi cette solution pour ce problème ??????

[LINUX-WINDOWS] Augmenter le temps de boot d el'OS

J'ai fait du dual boot WinXP et Mandriva Spring 2008; et je devais augmenter le temps de choix du système d'exploitation à démarrer.
Pour ce faire, aller dans :

Menu > Configurer son Ordinateur > Démarrage > et augmenter le temps (en seconde).

NB: Il faut être root avant de pouvoir accéder au panel de configuration.

NB: Pour mon cas j'avais oublié le mot du passe du 'root' j'ai donc modifier le mot de passe du root en premier lieu (http://golchitech.blogspot.com/2009/12/linux-mot-de-passe-root-perdu.html)

Thanks à la communauté de linuxtg

[LINUX] mot de passe root perdu ?

Mes dernières larmes ont été versées tout dernièrement parce que j'ai oublié le mot de passe du root de mon linux (Mandriva Spring 2008).

1- Démarrer en "single user"
- en passant "1" comme paramètre à la commande d'amorçage ou
- en choisissant ce mode si déjà disponible

2- Au prompt taper la commande "passwd root" pour modifier le mot de passe du root (vous devez confirmer le mot de passe). Redémarrer le système en tapant "reboot".

Thanks to Danny ;-)

samedi 5 décembre 2009

Linux Shell Renommer en minuscules des fichiers

Je cherchais un code pour renommer une liste de fichier en minuscule
(j'ai installé de nouvelles polices sous linux et leurs noms sont en majuscule);

rename 'y/A-Z/a-z/' * ; find ./ -type f -exec rename 'y/A-Z/a-z/' {} \;

Le code originale en 2 lignes que j'ai remis en 1 est ici : http://snipplr.com/view/9028/rename-files-to-lower-case/

Have fun !!!

samedi 14 novembre 2009

A new drupal website !

I will be busy "twisting" this new website www.atull.tg so watch outtttt !!!
http://golchi.blogspot.com/2009/11/we-did-it-site-datull.html

A static (maybe html) website based on Drupal ?

I am experimenting a trcick. Why shall I use drupal for a website of 5 static pages ?
Why shall write all the necessary code (old time's way of creating a website ?) ?
Why not to combine both technics ?

What I tried is
1- to create the web site using drupal will all modules needed.
2- then I save all the pages from the browser (File > Save As).
3- change links to pages in all files (use of php in other to "include" pages)

The main advantage is a very light website.
But will that be fine enough ? (because I need now to find a "cool" way for the updated versions of the pages)

To be continued ...

mardi 1 septembre 2009

A new patch for Jammer

Hi,
I was for many drupal projects, looking for a way to hide "optionnally" some blocks on the node add/edit form. And last week just before starting to code (because I can not go around the need anymore :-)) I found a cool module: Jammer http://drupal.org/project/jammer.

It is doing what I exactely wanted except giving me the list of blocks I want. But because the code was cool I easily added the missing feature. Find the patch here http://drupal.org/node/565224

The next step I am thinking of is to allow the user/admin to give directly the form element_id instead of giving a fixed list of elements that can be removed...