<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Julien Breux</title>
	<atom:link href="http://www.julien-breux.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.julien-breux.com</link>
	<description>Consultant - Développeur PHP, Prestashop, Wordpress</description>
	<lastBuildDate>Sun, 13 Jun 2010 18:37:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Menu Horizontal V2.6 Prestashop Gratuit</title>
		<link>http://www.julien-breux.com/2010/06/13/menu-horizontal-v2-6-prestashop-gratuit/</link>
		<comments>http://www.julien-breux.com/2010/06/13/menu-horizontal-v2-6-prestashop-gratuit/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 18:37:23 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[Menu]]></category>
		<category><![CDATA[Menu Horizontal]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[menu horizontal]]></category>
		<category><![CDATA[Prestashop]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=608</guid>
		<description><![CDATA[Bonjour à toutes et à tous !
Aujourd&#8217;hui, je vous offre mon Menu Horizontal V2.6 pour Prestashop.
Merci de concerver le lien d&#8217;origine du téléchargement et si vous le souhaitez, même pour 1€ de passer par la case &#171;&#160;Donation&#160;&#187; !
Matt de Wordpress m&#8217;a fait comprendre une chose, une communauté, c&#8217;est peut-être de l&#8217;argent, mais c&#8217;est avant tout [...]]]></description>
			<content:encoded><![CDATA[<p>Bonjour à toutes et à tous !</p>
<p>Aujourd&#8217;hui, je vous offre mon Menu Horizontal V2.6 pour Prestashop.</p>
<p>Merci de concerver le lien d&#8217;origine du téléchargement et si vous le souhaitez, même pour 1€ de passer par la case &laquo;&nbsp;Donation&nbsp;&raquo; !</p>
<p>Matt de Wordpress m&#8217;a fait comprendre une chose, une communauté, c&#8217;est peut-être de l&#8217;argent, mais c&#8217;est avant tout un partage.</p>
<p>N&#8217;hésitez pas à suivre l&#8217;avancement de <a href="http://www.wasium.fr">Wasium</a>.</p>
<p>Note, étant en développement professionnel, le support risque de ne pas être performant.</p>
<p style="text-align: right;">Amicalement Julien Breux</p>
<p style="text-align: center;"><a href="http://www.megaupload.com/?d=0T5MWIEQ"><img class="aligncenter" title="Télécharger" src="/wp-content/themes/jbxv1/images/btn_download.png" alt="Télécharger" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2010/06/13/menu-horizontal-v2-6-prestashop-gratuit/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Site en ré-organisation</title>
		<link>http://www.julien-breux.com/2010/05/13/site-en-re-organisation/</link>
		<comments>http://www.julien-breux.com/2010/05/13/site-en-re-organisation/#comments</comments>
		<pubDate>Thu, 13 May 2010 17:46:04 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[Vie du blog]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=605</guid>
		<description><![CDATA[Bonjour,
Ce site est en réorganisation, mais vous pouvez retrouver les modules suivants en vente :

Cart Overlay &#8211; 5€
Menu Horizontal &#8211; 30€
Vidéos fiche produit &#8211; 20€
Système de devis (revu et corrigé / bientôt une vidéo) &#8211; 99€

Merci de votre patience !
Note: Les factures sont éditées toutes les semaines
]]></description>
			<content:encoded><![CDATA[<p>Bonjour,</p>
<p>Ce site est en réorganisation, mais vous pouvez retrouver les modules suivants en vente :</p>
<ul>
<li><a href="http://customers.julien-breux.com/product.php?id_product=27">Cart Overlay</a> &#8211; 5€</li>
<li><a href="http://customers.julien-breux.com/product.php?id_product=3">Menu Horizontal</a> &#8211; 30€</li>
<li><a href="http://customers.julien-breux.com/product.php?id_product=4">Vidéos fiche produit</a> &#8211; 20€</li>
<li><a href="http://customers.julien-breux.com/product.php?id_product=1">Système de devis</a> (revu et corrigé / bientôt une vidéo) &#8211; 99€</li>
</ul>
<p>Merci de votre patience !</p>
<p><span style="text-decoration: underline;"><strong>Note:</strong></span> Les factures sont éditées toutes les semaines</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2010/05/13/site-en-re-organisation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easter Egg &#8211; phpinfo();</title>
		<link>http://www.julien-breux.com/2010/04/01/easter-egg-phpinfo/</link>
		<comments>http://www.julien-breux.com/2010/04/01/easter-egg-phpinfo/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 12:44:25 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[Non classé]]></category>
		<category><![CDATA[Vie du blog]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=592</guid>
		<description><![CDATA[Si comme moi vous aimez le PHP alors vous saurez qu&#8217;un Easter Egg ce cache dans votre phpinfo();
Même si cette news a toujours existée, je l&#8217;aime beaucoup ! (C&#8217;est mon petit A-Fish à moi)
Amusez-vous bien !
]]></description>
			<content:encoded><![CDATA[<p>Si comme moi vous aimez le PHP alors vous saurez qu&#8217;un Easter Egg ce cache dans votre phpinfo();</p>
<p>Même si cette news a toujours existée, je l&#8217;aime beaucoup ! (C&#8217;est mon petit A-Fish à moi)</p>
<div id="attachment_593" class="wp-caption aligncenter" style="width: 570px"><a rel="attachment wp-att-593" href="http://www.julien-breux.com/2010/04/01/easter-egg-phpinfo/c190eb5c69b512cd4677554abcb1f56e57/"><img class="size-medium wp-image-593" title="Easter Egg phpinfo();" src="http://www.julien-breux.com/wp-content/uploads/2010/04/c190eb5c69b512cd4677554abcb1f56e57-560x155.jpg" alt="" width="560" height="155" /></a><p class="wp-caption-text">Easter Egg phpinfo();</p></div>
<p>Amusez-vous bien !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2010/04/01/easter-egg-phpinfo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SuperUser V1.6</title>
		<link>http://www.julien-breux.com/2010/02/03/superuser-v1-6/</link>
		<comments>http://www.julien-breux.com/2010/02/03/superuser-v1-6/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 15:53:07 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[SuperUser]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=579</guid>
		<description><![CDATA[Description
Cette mise à jour vous permet maintenant de charger le panier de votre client  
Pour le télécharger, c&#8217;est toujours par ici :
SuperUser V1.6
]]></description>
			<content:encoded><![CDATA[<h1>Description</h1>
<p>Cette mise à jour vous permet maintenant de charger le panier de votre client <img src='http://www.julien-breux.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Pour le télécharger, c&#8217;est toujours par ici :<br />
<a href="http://www.julien-breux.com/2009/05/14/module-prestashop-superuser/">SuperUser V1.6</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2010/02/03/superuser-v1-6/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Custom Invoice V1.1</title>
		<link>http://www.julien-breux.com/2010/02/03/custom-invoice-v1-1/</link>
		<comments>http://www.julien-breux.com/2010/02/03/custom-invoice-v1-1/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 23:44:20 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[Custom Invoice]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=574</guid>
		<description><![CDATA[Nouvelle version, correction tant attendue des accents  
C&#8217;est ici : Custom Invoice v1.1 &#8211; Personnalisez votre facture
]]></description>
			<content:encoded><![CDATA[<p>Nouvelle version, correction tant attendue des accents <img src='http://www.julien-breux.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>C&#8217;est ici : <a href="http://www.julien-breux.com/2009/11/30/custom-invoice-v1-0/">Custom Invoice v1.1 &#8211; Personnalisez votre facture</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2010/02/03/custom-invoice-v1-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FTP Manager v1.0</title>
		<link>http://www.julien-breux.com/2010/02/01/ftp-manager-v1-0/</link>
		<comments>http://www.julien-breux.com/2010/02/01/ftp-manager-v1-0/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:12:03 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[Gestionnaire de fichiers FTP]]></category>
		<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=566</guid>
		<description><![CDATA[Description
Ce module permet de gérer les fichiers de votre site très simplement et sans aucune prise de tête.
Vous installez le module et vous découvrez dans l&#8217;onglet &#171;&#160;Outils&#160;&#187; un sous-onglet intitulé &#171;&#160;Gestionnaire FTP&#160;&#187;.
Aperçu
Pour des raisons de sécurité, aucune démonstration n&#8217;est possible.
Voici un screencast du module et de son fonctionnement.

Compatibilité
Compatible 1.2.x, 1.3.x non testé avec les versions [...]]]></description>
			<content:encoded><![CDATA[<h1>Description</h1>
<p>Ce module permet de gérer les fichiers de votre site très simplement et sans aucune prise de tête.</p>
<p>Vous installez le module et vous découvrez dans l&#8217;onglet &laquo;&nbsp;Outils&nbsp;&raquo; un sous-onglet intitulé &laquo;&nbsp;Gestionnaire FTP&nbsp;&raquo;.</p>
<h1>Aperçu</h1>
<p>Pour des raisons de sécurité, aucune démonstration n&#8217;est possible.<br />
Voici un screencast du module et de son fonctionnement.</p>
<p style="margin: 0pt auto; width: 425px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/w9tn_HGVQYc" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/w9tn_HGVQYc"></embed></object></p>
<h1>Compatibilité</h1>
<p>Compatible 1.2.x, 1.3.x non testé avec les versions précédentes.</p>
<h1>Prix</h1>
<p><strong>Seulement 15€</strong></p>
<h1>Télécharger</h1>
<p><a href="http://customers.julien-breux.com/product.php?id_product=14">Version 1.0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2010/02/01/ftp-manager-v1-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Informations Janvier 2010</title>
		<link>http://www.julien-breux.com/2010/01/26/informations-janvier-2010/</link>
		<comments>http://www.julien-breux.com/2010/01/26/informations-janvier-2010/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 17:13:08 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[Vie du blog]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=537</guid>
		<description><![CDATA[Chapitre I &#8211; Remerciements
Tout d&#8217;abord, je souhaitais remercier l&#8217;ensemble des personnes qui ont acquis mes modules. C&#8217;est grâce à vous que j&#8217;avance et je vous en remercie.
Chapitre II &#8211; Organisation
Comme vous le savez si vous avez travaillé avec moi, qualité et rapidité sont les maîtres mots de mon travail.
Pour la qualité, rien est acquis mais [...]]]></description>
			<content:encoded><![CDATA[<h1>Chapitre I &#8211; Remerciements</h1>
<p>Tout d&#8217;abord, je souhaitais remercier l&#8217;ensemble des personnes qui ont acquis mes modules. C&#8217;est grâce à vous que j&#8217;avance et je vous en remercie.</p>
<h1>Chapitre II &#8211; Organisation</h1>
<p>Comme vous le savez si vous avez travaillé avec moi, qualité et rapidité sont les maîtres mots de mon travail.</p>
<p>Pour la qualité, rien est acquis mais c&#8217;est un travail de longue haleine, donc disons que ça ne peu que s&#8217;améliorer et c&#8217;est sur la bonne voie.</p>
<p>Pour la rapidité, force est de constater que vous êtes de plus en plus nombreuses et nombreux à me sollicité par mail. (Mon téléphone n&#8217;étant pas encore divulgué pour ces mêmes raisons).</p>
<p>C&#8217;est pour cette raison que j&#8217;ai pris du retard et qu&#8217;il était grand temps de mettre en place une solution.</p>
<p>Voici donc le plan d&#8217;organisation général :</p>
<ol>
<li><del datetime="2010-02-01T09:25:24+00:00">Transfert de mes derniers noms de domaines chez Gandi.</del></li>
<li><del datetime="2010-01-31T21:56:23+00:00">Mise en place d&#8217;un hébergement évolutif et flexible avec plus de disponibilité. (Sites lents)</del></li>
<li><del datetime="2010-02-01T09:25:24+00:00">Migration vers le nouvel hébergement.</del></li>
<li>Mise en place d&#8217;un système de gestion de projet client. (Moins de support fouillis, facile pour 10 clients, pas pour 100&#8230;)</li>
<li>Uniformisation des sites. (Ventes, Blog, Projets et Vitrine)</li>
<li>Refonte de la page d&#8217;accueil, pour plus de clarté.</li>
<li><del datetime="2010-02-01T15:34:18+00:00">Nouveaux boutons &laquo;&nbsp;Télécharger&nbsp;&raquo; / &laquo;&nbsp;Acheter&nbsp;&raquo; / &laquo;&nbsp;Démonstration&nbsp;&raquo;&#8230;</del></li>
<li>Création d&#8217;une grille des modules.</li>
</ol>
<h1>Chapitre III &#8211; Support &amp; Documentation</h1>
<p>De plus, la mise en place d&#8217;un support bien cadré permettra une gestion plus aisée des délais.</p>
<p>En effet, vous avez tous des projets pressants à mettre en place, et ce support sera le moyen d&#8217;organiser au mieux ceux-ci autant dans le temps que dans la forme.</p>
<p>Et le point le plus important, la documentation. Screencast, etc.</p>
<h1>Chapitre IV &#8211; Pleins de modules</h1>
<p>Enfin et c&#8217;est ce pourquoi je suis là, la création de nouveaux modules Prestashop, Magento, Drupal, Joomla, Wordpress&#8230;</p>
<p>D&#8217;ailleurs, ça me fait pensé&#8230; teasing&#8230;</p>
<p style="margin: 0pt auto; width: 425px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/w9tn_HGVQYc" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/w9tn_HGVQYc"></embed></object></p>
<h1>Mot de la fin</h1>
<p>A très bientôt <img src='http://www.julien-breux.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h1>01/02/2010</h1>
<ul>
<li>NDD principal transféré chez Gandi.net</li>
<li>Hébergement basculé sur OVH</li>
</ul>
<p>Les DNS n&#8217;ont toujours pas étaient changés&#8230; Le nom de domaine à un dysfonctionnement (première fois que j&#8217;entends cela&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2010/01/26/informations-janvier-2010/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Module de paiement ATOS Prestashop</title>
		<link>http://www.julien-breux.com/2010/01/25/module-de-paiement-atos-prestashop/</link>
		<comments>http://www.julien-breux.com/2010/01/25/module-de-paiement-atos-prestashop/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 11:18:41 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[Prestashop]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=530</guid>
		<description><![CDATA[Description
Comme vous le savez surement, la solution Prestashop est livrée avec une courte liste de modules de paiement n&#8217;incluant pas le paiement ATOS.
C&#8217;est pour cela que Pierre-Yves, pionnier du paiement sur la plateforme Prestashop (et auteur de la communauté francophone PSFrance.org) a développé un module complet pour ATOS.
Pas moins d&#8217;une dizaine d&#8217;enseignes comme la banque [...]]]></description>
			<content:encoded><![CDATA[<h1>Description</h1>
<p>Comme vous le savez surement, la solution Prestashop est livrée avec une courte liste de modules de paiement n&#8217;incluant pas le paiement ATOS.</p>
<p>C&#8217;est pour cela que Pierre-Yves, pionnier du paiement sur la plateforme Prestashop (et auteur de la communauté francophone <a href="http://www.psfrance.org/forums/">PSFrance.org</a>) a développé un module complet pour ATOS.</p>
<p>Pas moins d&#8217;une dizaine d&#8217;enseignes comme la banque populaire, la société générale, le crédit lyonnais, le crédit du nord, la HSBC, le CCF, le crédit agricole, le LCL, la Poste ou encore BNP Paribas sont prises en compte par ce module.</p>
<p>Le module prend en compte le paiement en 3 fois, l&#8217;installation et la mise en place sont comprises dans le prix.</p>
<p>Je vous laisse découvrir l&#8217;offre sur le site dédié : <a href="http://atos.pierreyves.be/">http://atos.pierreyves.be/</a></p>
<p>Enfin sachez pour information que mes clients disposent de ce module <img src='http://www.julien-breux.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2010/01/25/module-de-paiement-atos-prestashop/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Movie v1.0</title>
		<link>http://www.julien-breux.com/2010/01/13/movie-v1-0/</link>
		<comments>http://www.julien-breux.com/2010/01/13/movie-v1-0/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 10:01:42 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[Movie]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=519</guid>
		<description><![CDATA[Description
Ce module permet d&#8217;ajouter des vidéos en provenance de Youtube ou Dailymotion sur vos fiches produits.






Compatibilité
Compatible 1.2.x, non testé avec les versions précédentes.
Prix
Seulement 20€
Télécharger
Version 1.1
]]></description>
			<content:encoded><![CDATA[<h1>Description</h1>
<p>Ce module permet d&#8217;ajouter des vidéos en provenance de Youtube ou Dailymotion sur vos fiches produits.</p>
<p style="text-align:center;">
<p><img src="http://www.julien-breux.com/wp-content/uploads/2010/01/movie_1_1_tab.jpg" alt="Onglet" title="Onglet" /></p>
<p><a href="http://www.julien-breux.com/wp-content/uploads/2010/01/movie_1_1_admintab.jpg" class="thickbox" rel="gallery-519" title="Liste"><img src="http://www.julien-breux.com/wp-content/uploads/2010/01/movie_1_1_admintab-560x332.jpg" alt="Liste" title="Liste" /></a></p>
<p><a href="http://www.julien-breux.com/wp-content/uploads/2010/01/movie_1_1_new.jpg" class="thickbox" rel="gallery-519" title="Nouveau"><img src="http://www.julien-breux.com/wp-content/uploads/2010/01/movie_1_1_new-560x277.jpg" alt="Nouveau" title="Nouveau" /></a></p>
<p><img src="http://www.julien-breux.com/wp-content/uploads/2010/01/movie_1_1_button.jpg" alt="Bouton" title="Bouton" /><br />
<img src="http://www.julien-breux.com/wp-content/uploads/2010/01/movie_1_1_movie-420x420.jpg" alt="Vidéo" title="Vidéo" /></p>
<h1>Compatibilité</h1>
<p>Compatible 1.2.x, non testé avec les versions précédentes.</p>
<h1>Prix</h1>
<p><strong>Seulement 20€</strong></p>
<h1>Télécharger</h1>
<p><a href="http://customers.julien-breux.com/product.php?id_product=4">Version 1.1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2010/01/13/movie-v1-0/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Tutoriel Prestashop &#8211; Utiliser la configuration</title>
		<link>http://www.julien-breux.com/2010/01/11/tutoriel-prestashop-utiliser-la-configuration/</link>
		<comments>http://www.julien-breux.com/2010/01/11/tutoriel-prestashop-utiliser-la-configuration/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 12:25:33 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[Tutoriels Prestashop]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=499</guid>
		<description><![CDATA[Introduction
La configuration est un élément clé de toutes solutions web.
C&#8217;est pour cette raison que je vais tenter de vous présenter ici le système de configuration de Prestashop.
Architecture
L&#8217;architecture pour la configuration dans Prestashop est très simple !
Celle-ci repose sur deux tables MySQL (configuration et configuration_lang) dans la base de données et d&#8217;un fichier situé dans classes/Configuration.php.
Ce [...]]]></description>
			<content:encoded><![CDATA[<h2>Introduction</h2>
<p>La configuration est un élément clé de toutes solutions web.<br />
C&#8217;est pour cette raison que je vais tenter de vous présenter ici le système de configuration de Prestashop.</p>
<h2>Architecture</h2>
<p>L&#8217;architecture pour la configuration dans Prestashop est très simple !<br />
Celle-ci repose sur <strong>deux tables MySQL (configuration et configuration_lang)</strong> dans la base de données et d&#8217;un fichier situé dans classes/Configuration.php.<br />
Ce fichier contient une <strong>classe Configuration</strong> héritant du modèle objet (prochain tutoriel) de Prestashop.</p>
<p style="text-align:center;"><img src="http://www.julien-breux.com/wp-content/uploads/2010/01/mpd-configuration.gif" alt="Configuration" title="Configuration" /></p>
<h2>Utilisation Simple</h2>
<p>Nous allons voir maintenant comment utiliser la configuration.</p>
<h3>Écriture d&#8217;une clé</h3>
<p>Pour ceci, c&#8217;est très simple, nous utilisons la méthode statique <strong>updateValue</strong> qui prend <strong>deux paramètre</strong> (nom de la clé et valeur).</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/init.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enregistrement d'une clé</span>
Configuration<span style="color: #339933;">::</span><span style="color: #004000;">updateValue</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'JBX_MY_FRIST_KEY'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Hello Word !'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>Lecture d&#8217;une clé</h3>
<p>Pour lire cette clé, nous utilison la méthode statique <strong>get</strong> acceptant <strong>un seul paramètre</strong> (nom de la clé).</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/init.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Lecture d'un clé</span>
<span style="color: #000088;">$valeur</span> <span style="color: #339933;">=</span> Configuration<span style="color: #339933;">::</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'JBX_MY_FRIST_KEY'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$valeur</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Hello Word !</span></pre></div></div>

<h3>Lecture de plusieurs clés</h3>
<p>Pour lire plusieurs clés, vous devez utiliser la méthode statique <strong>getMultiple</strong> qui accepte <strong>un paramètre</strong> (tableau de clés).</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/init.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Lecture de plusieurs clés</span>
<span style="color: #000088;">$cles</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'JBX_MY_FRIST_KEY'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'JBX_MY_SECOND_KEY'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$valeurs</span> <span style="color: #339933;">=</span> Configuration<span style="color: #339933;">::</span><span style="color: #004000;">getMultiple</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cles</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">','</span><span style="color: #339933;">,</span> <span style="color: #000088;">$valeurs</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Hello Word !, Hello Word 2 !</span></pre></div></div>

<h3>Suppression d&#8217;une clé</h3>
<p>Pour supprimer une clé, encore une fois, c&#8217;est très simple</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/init.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Suppression d'une clé</span>
Configuration<span style="color: #339933;">::</span><span style="color: #004000;">deleteByName</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'JBX_MY_FRIST_KEY'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>Utilisation avec traduction</h2>
<p>L&#8217;utilisation avec la traduction est sensiblement la même que précédemment hormis un détail&#8230;</p>
<h2>Écriture d&#8217;une clé avec traduction</h2>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/init.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enregistrement d'une clé en Anglais (1) et en Français (2)</span>
<span style="color: #000088;">$valeurs</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
  <span style="color: #cc66cc;">1</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Hello word !'</span><span style="color: #339933;">,</span>
  <span style="color: #cc66cc;">2</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Bonjour le monde !'</span><span style="color: #339933;">,</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
Configuration<span style="color: #339933;">::</span><span style="color: #004000;">updateValue</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'JBX_MY_FRIST_KEY'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$valeurs</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>Lecture d&#8217;une clé avec traduction</h3>
<p>Pour lire une clé dans une langue, utilisez le <strong>troisième paramètre</strong> (identifiant de la langue).</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/init.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Lecture d'une clé en Anglais (1) et en Français (2)</span>
<span style="color: #000088;">$valeur_en</span> <span style="color: #339933;">=</span> Configuration<span style="color: #339933;">::</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'JBX_MY_FRIST_KEY'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$valeur_en</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Hello word !</span>
<span style="color: #000088;">$valeur_fr</span> <span style="color: #339933;">=</span> Configuration<span style="color: #339933;">::</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'JBX_MY_FRIST_KEY'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$valeur_fr</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Bonjour le monde !</span></pre></div></div>

<h3>Lecture de plusieurs clés avec traduction dans un seule langue</h3>
<p>Pour lire plusieurs clés, vous devez utiliser la méthode statique <strong>getMultiple</strong> qui accepte <strong>deux paramètres</strong> (tableau de clés, identifiant de la langue).</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/init.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Lecture de plusieurs clés</span>
<span style="color: #000088;">$id_lang</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">2</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Français (2)</span>
<span style="color: #000088;">$cles</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'JBX_MY_FRIST_KEY'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'JBX_MY_SECOND_KEY'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$valeurs</span> <span style="color: #339933;">=</span> Configuration<span style="color: #339933;">::</span><span style="color: #004000;">getMultiple</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cles</span><span style="color: #339933;">,</span> <span style="color: #000088;">$id_lang</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">','</span><span style="color: #339933;">,</span> <span style="color: #000088;">$valeurs</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Bonjour le monde !, Bonjour le monde 2 !</span></pre></div></div>

<h3>Lecture de plusieurs clés avec traduction dans toutes les langues</h3>
<p>Pour lire plusieurs clés, vous devez utiliser la méthode statique <strong>getMultipleInt</strong> qui accepte <strong>un paramètre</strong> (tableau de clés).</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/init.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Lecture de plusieurs clés</span>
<span style="color: #000088;">$cles</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'JBX_MY_FRIST_KEY'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'JBX_MY_SECOND_KEY'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$valeurs</span> <span style="color: #339933;">=</span> Configuration<span style="color: #339933;">::</span><span style="color: #004000;">getMultipleInt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cles</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$valeurs</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'JBX_MY_FRIST_KEY'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Hello World !</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$valeurs</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'JBX_MY_SECOND_KEY'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Bonjour le monde 2 !</span></pre></div></div>

<h2>Astuces</h2>
<p>La méthode statique <strong>updateValue</strong> acceptent un <strong>troisième paramètre</strong> (enregistrer du html ?)</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/init.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$valeur</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&lt;b&gt;Je suis en gras !&lt;/b&gt;'</span><span style="color: #339933;">;</span>
Configuration<span style="color: #339933;">::</span><span style="color: #004000;">updateValue</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'JBX_MY_HTML_KEY'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$valeur</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>La solution utilise une méthode statique nommée <strong>loadConfiguration()</strong> qui charge l&#8217;ensemble de la configuration en cache.</p>
<h2>Conclusion</h2>
<p>C&#8217;est à peu prêt tout ce qu&#8217;il faut savoir sur la configuration, normalement, on a fait le tour.<br />
Amusez-vous bien&#8230;.</p>
<p>Ha&#8230; si, juste un truc ! L&#8217;abus de configuration n&#8217;est pas dangereuse pour la santé&#8230; pour votre santé, mangez, bougez, configurez !!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2010/01/11/tutoriel-prestashop-utiliser-la-configuration/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
