mardi 1 février 2011

About the API of Drupal 6

I started a project "GECET" with the aim to get it done by using the API of DRUPAL 6. The project is still going on because recently I have been asked to add some new features.

About the project :
-------------------
The NGO Chaine de l'Espoir TOGO wants to have a better local managing system for children they are in charge of. They want to keep biography details about the children. There is a need to know how much is spent on children for their health the whole year. They have to better master the different 'packs' (food, clothes, etc.) the children receive.

Briefly :
---------
- 95 tables
- Drupal 6.15
- Custom theme based on whitejazz


Main Contributed Modules used :
-------------------------------
- CCK
- Views
- Filefield
- Backup_Migrate
- Backup_files
- Local
- Path
- PhpFilter
- Taxonomy
- Date
- Administration Menu
- (Devel) not in production instance

New modules coded (17)
---------------------
- Search module
- Medical information management, School fees management, Statistiques 'Special features' not well done with drupal contributed modules
- Budget management
- Custom Javascript effects (dynamic fields adding)


What can I say about using the API of Drupal and contributed modules for building a web application ?

= Pros ...
- Drupal Form_API made things very easy for the developper
- You can through the administration UI add some cool fun feature (an edit or delete link on a view for example) the user by your side :-)
- The hook system is really awesome

= Cons ...
- It's not easy for a beginner to get his hands quickly dirty but with a good teacher it's possible
- Trying to use CCK to create some content types cost a lot because useless tables/data are kept

More details will published from time to time

Some screenshots...





samedi 8 janvier 2011

Bilan de projets

Je me suis dit qu'il serait bien de faire un bilan sommaire des principaux projets sur lesquels j'ai bossé entre la période Mars 2009 - Décembre 2010:

Bilan projets 2008-2010
1- [Drupal+PlusXML] Conception et maintenance du site de LMP LE LOGOS
2- [Drupal] Conception d'un site modèle pour des sociétés
3- [Drupal] Conception de la plateforme de publications des parutions de la revue des étudiants d'EAMAU
4- [Drupal] Conception du logiciel de gestion GECET des enfants pour Chaine de l'Espoir TOGO
5- [Drupal] Début de conception d'un portail de tourisme et annuaire professionnel avec ATAKSIA
6- [Drupal] Début de conception d'un portail de partage de souvenirs de mariage TOGOMARIAGE avec AGILUX
7- [Drupal] Début de conception d'une solution Hotspot avec AGILUX
8- [PHP] Assistance des utilisateurs de JASTUL
9- [Drupal] Coach 2 developpers for building a portal for 'jobs' and 'announcement' offer


Bilan projets 2011
1- [Drupal] Mis à jour du site de ACDT
2- [Drupal] Ajout de nouvelles fonctionnalités à GECET
3- [PlusXML] Maintenance du site de LMP


On verra d'ici la fin de l'année le nouveau bilan ...

mardi 7 septembre 2010

New Users Groups

Hi folks,
Latest news are about two user groups created : one for Java and the other for PHP.

JAVA : http://groups.google.com/group/togojug
PHP : http://groups.google.com/group/togo-pug/about

Join these two communities to be aware of new upcoming events ...
_______________________________________________________

Deux nouveaux groupes créés pour faire bouger les choses au TOGO.
Le premier est pour Java et l'autre pour PHP.

JAVA : http://groups.google.com/group/togojug
PHP : http://groups.google.com/group/togo-pug/about

Rejoignez ces deux groupes pour être au courant des nouveautés ....

A+

samedi 12 juin 2010

[Drupal] Présentatino aux RMLL 2010

Une présentation très prochaine pour les Rencontres Mondiales des Logiciels http://2010.rmll.info qui auront lieu en France sur DRUPAL dans la section 'Education'. http://bit.ly/agBUke.

samedi 22 mai 2010

[drupal][Views] Display a view Total Rows

Using the views module is always a cool and funny experience but when you have to display the number of rows/results and a counter for each row then you stop smiling :-/.

I finally found how to do it in a simple way :-) Here we go ...
(I assume you know how to ovewrite a theme file and to display a view using the Table styling)
1- Enable the pagination (without this you won't get the $view->total_rows value)
2- Copy and the file 'views-view-table.tpl.php' in your theme folder (themes/garland or sites/all/themes/my_theme for example)3- Rebuild the theme registry to enable your new table_theme file
4- Adding the total by displaying the $view->total_rows variable

TOTAL : total_rows ; ?>
and that's it !!

PS: As far as the line number counter all you need is to define a variable ($counter) that you increment in the foreach loop.

jeudi 20 mai 2010

[Drupal][Admin_menu] Missing argument system_clear_cache_submit

I was getting this warning message

warning: Missing argument 1 for system_clear_cache_submit(), called in My_website_path\sites\all\modules\admin_menu\admin_menu.inc on line 522 and defined in My_website_path\modules\system\system.admin.inc on line 1367.


since a while. I was feeling lazy to check the cause of it, all i have to do is to reload the home page of the drupal project.

Finally I fixed it by defining an empty array in the admin_menu.inc file:

$form_state = array();
$form_array = array();
system_clear_cache_submit($form_state, $form_array);

mercredi 21 avril 2010

Firefox - Une présentation

Une présentation sur Firefox en cours de préparation http://atull.tg/?q=node/61 ;-)