<?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 &#187; Prestashop</title>
	<atom:link href="http://www.julien-breux.com/categorie/prestashop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.julien-breux.com</link>
	<description>Consultant - Développeur - Formateur - PHP, Prestashop, Wordpress</description>
	<lastBuildDate>Mon, 15 Aug 2011 17:00:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>BarCamp 3 &#8211; Prestashop &#8211; 31 mars 2011</title>
		<link>http://www.julien-breux.com/2011/03/09/barcamp-3-prestashop-31-mars-2011/</link>
		<comments>http://www.julien-breux.com/2011/03/09/barcamp-3-prestashop-31-mars-2011/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 22:57:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Prestashop]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=663</guid>
		<description><![CDATA[Ne manquez pas le BarCamp Prestashop n°3 le 31 Mars 2011 Espace Tapis Rouge dans le 10ème arrondissement de Paris !]]></description>
			<content:encoded><![CDATA[<p>Ne manquez pas le BarCamp Prestashop n°3 le 31 Mars 2011 Espace Tapis Rouge dans le 10ème arrondissement de Paris !</p>
<p style="text-align: center;"><a href="http://barcamp3.prestashop.com/?utm_source=Julien%2BBreux&amp;utm_medium=link&amp;utm_campaign=Julien%2BBreux"><img class="aligncenter" src="http://barcamp3.prestashop.com/wp-content/gallery/slider/04.jpg" alt="" width="551" height="270" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2011/03/09/barcamp-3-prestashop-31-mars-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Menu Horizontal V2.7 Prestashop Gratuit</title>
		<link>http://www.julien-breux.com/2011/02/21/menu-horizontal-v2-7-prestashop-gratuit/</link>
		<comments>http://www.julien-breux.com/2011/02/21/menu-horizontal-v2-7-prestashop-gratuit/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 00:29:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Menu]]></category>
		<category><![CDATA[Menu Horizontal]]></category>
		<category><![CDATA[Modules Gratuits Prestashop]]></category>
		<category><![CDATA[Modules Payants Prestashop]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[Prestashop]]></category>
		<category><![CDATA[Prestashop 1.4]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=650</guid>
		<description><![CDATA[New version available on GitHub: https://github.com/jbreux/jbx_menu/ Bonjour à toutes, bonjour à tous. Je vous présente aujourd&#8217;hui la version 2.7 du module Menu de Prestashop sur la branche 2.y. Ceci afin... <a class="meta-more" href="http://www.julien-breux.com/2011/02/21/menu-horizontal-v2-7-prestashop-gratuit/">Lire la suite <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="background: #ff9999; color: #fff; font-weight: bold; padding: 10px; border-radius: 10px;">New version available on GitHub: <a href="https://github.com/jbreux/jbx_menu/">https://github.com/jbreux/jbx_menu/</a></p>
<p>Bonjour à toutes, bonjour à tous.</p>
<p>Je vous présente aujourd&#8217;hui la version 2.7 du module Menu de <a href="http://www.prestashop.com">Prestashop</a> sur la branche 2.y.</p>
<p>Ceci afin de vous faire patienter en attendant la version 3 du module Menu qui n&#8217;a absolument rien à voir [...]</p>
<p>Voici les changements de cette version moyenne :</p>
<ul>
<li>Ajout d&#8217;un fichier (NO_REMOVE) d&#8217;empêchement de suppression des données à la désinstallation.</li>
<li>Ajout du paramètre tant attendu de luminosité (afin que la couleur choisit soit plus proche)</li>
<li>Ajout du cache CSS (afin de gagner facilement une à deux seconde de chargement)</li>
<li>Ajout d&#8217;un cache fichier (multilingue) concernant l&#8217;affichage.</li>
<li>Ajout d&#8217;un lien de &laquo;&nbsp;Configurer&nbsp;&raquo; vers l&#8217;onglet.</li>
<li>Version compatible 1.4 !!</li>
</ul>
<p>Bien entendu, j&#8217;attends vos éventuels retours.</p>
<p style="background: #ff9999; color: #fff; font-weight: bold; padding: 10px; border-radius: 10px;">Attention ! La désinstallation de la précédente version engendre la perte de vos données.<br />
L&#8217;import / export ne sera disponible que dans la version 3.</p>
<p style="text-align: right;">Communautaire-ment vôtre ! Amicalement Julien</p>
<p style="text-align: center;"><a href="http://www.megaupload.com/?d=XVTIJ132"><img class="aligncenter" title="Télécharger" src="/wp-content/themes/jbxv1/images/btn_download.png" alt="Télécharger" /></a></p>
<p>Correction 2.7.1</p>
<ul>
<li>Corrige le soucis de recherche</li>
<li>Au vue de la sortie de la version 1.4, l&#8217;utilisation sur la version 1.3 devient dépréciée</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2011/02/21/menu-horizontal-v2-7-prestashop-gratuit/feed/</wfw:commentRss>
		<slash:comments>60</slash:comments>
		</item>
		<item>
		<title>Prestashop &#8211; Version 1.4</title>
		<link>http://www.julien-breux.com/2011/02/17/prestashop-version-1-4/</link>
		<comments>http://www.julien-breux.com/2011/02/17/prestashop-version-1-4/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 16:25:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Prestashop]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=628</guid>
		<description><![CDATA[Prestashop nouvelle version 1.4 &#160;&#160; Afin de correctement relayer l&#8217;information. Préparez-vous, la prochaine version de Prestashop estampillé 1.4 arrive d&#8217;ici une semaine ! Avec plein de nouveauté **clin d&#8217;œil explicite**]]></description>
			<content:encoded><![CDATA[<h1 style="color:#fff">Prestashop nouvelle version 1.4</h1>
<p>&nbsp;<br />&nbsp;</p>
<p><a rel="attachment wp-att-627" href="http://www.julien-breux.com/?attachment_id=627"><img class="aligncenter size-full wp-image-627" title="ps_14" src="http://www.julien-breux.com/wp-content/uploads/2011/02/ps_14.jpg" alt="" width="500" height="168" /></a></p>
<p style="text-align: center;">Afin de correctement relayer l&#8217;information.</p>
<p style="text-align: center;">Préparez-vous, la prochaine version de Prestashop estampillé 1.4 arrive d&#8217;ici une semaine !</p>
<p style="text-align: center;">Avec plein de nouveauté<em> </em><span style="text-decoration: line-through;"><em>**clin d&#8217;œil explicite**</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2011/02/17/prestashop-version-1-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>admin</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[New version available on GitHub: https://github.com/jbreux/jbx_menu/ 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... <a class="meta-more" href="http://www.julien-breux.com/2010/06/13/menu-horizontal-v2-6-prestashop-gratuit/">Lire la suite <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="background: #ff9999; color: #fff; font-weight: bold; padding: 10px; border-radius: 10px;">New version available on GitHub: <a href="https://github.com/jbreux/jbx_menu/">https://github.com/jbreux/jbx_menu/</a></p>
<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>98</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>admin</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>6</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>admin</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>6</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>admin</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... <a class="meta-more" href="http://www.julien-breux.com/2010/02/01/ftp-manager-v1-0/">Lire la suite <span class="meta-nav">&#187;</span></a>]]></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>6</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>admin</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... <a class="meta-more" href="http://www.julien-breux.com/2010/01/25/module-de-paiement-atos-prestashop/">Lire la suite <span class="meta-nav">&#187;</span></a>]]></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>12</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>admin</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... <a class="meta-more" href="http://www.julien-breux.com/2010/01/13/movie-v1-0/">Lire la suite <span class="meta-nav">&#187;</span></a>]]></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"><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"><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>52</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>admin</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... <a class="meta-more" href="http://www.julien-breux.com/2010/01/11/tutoriel-prestashop-utiliser-la-configuration/">Lire la suite <span class="meta-nav">&#187;</span></a>]]></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>12</slash:comments>
		</item>
	</channel>
</rss>

