<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Commentaires sur : Plugin de moteur de recherche multi-modèles</title>
	<atom:link href="http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/feed" rel="self" type="application/rss+xml" />
	<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles</link>
	<description>Le cadre de développement PHP et son utilisation au jour le jour.</description>
	<lastBuildDate>Sun, 05 Feb 2012 10:59:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Par : sigMate</title>
		<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/comment-page-1#comment-9623</link>
		<dc:creator>sigMate</dc:creator>
		<pubDate>Wed, 27 Jul 2011 21:53:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=269#comment-9623</guid>
		<description>&lt;p&gt;Bonjour,&lt;/p&gt;

&lt;p&gt;C&#039;est mon premier commentaire sur ce site que je consulte très souvent, j&#039;en profite donc pour féliciter et remercier son brillant auteur !!!&lt;/p&gt;

&lt;p&gt;Je vais probablement mettre place le plugin de recherche multi-modèle décrit ici mais j&#039;ai une simple question : mon projet actuel propose un champ de recherche dynamique en AJAX (un auto-complete) mais qui bien entendu ne propose les résultats au fur et à mesure de la saisie que sur un seul modèle. Pensez-vous qu&#039;en combinant les deux il soit possible de renvoyer les résultats du plugin multi-modèle dans les suggestions de l&#039;auto-complete ? D&#039;instinct je dirais oui, mais au cas où ?&lt;/p&gt;

&lt;p&gt;D&#039;avance, merci !&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Bonjour,</p>

<p>C&#8217;est mon premier commentaire sur ce site que je consulte très souvent, j&#8217;en profite donc pour féliciter et remercier son brillant auteur !!!</p>

<p>Je vais probablement mettre place le plugin de recherche multi-modèle décrit ici mais j&#8217;ai une simple question : mon projet actuel propose un champ de recherche dynamique en AJAX (un auto-complete) mais qui bien entendu ne propose les résultats au fur et à mesure de la saisie que sur un seul modèle. Pensez-vous qu&#8217;en combinant les deux il soit possible de renvoyer les résultats du plugin multi-modèle dans les suggestions de l&#8217;auto-complete ? D&#8217;instinct je dirais oui, mais au cas où ?</p>

<p>D&#8217;avance, merci !</p>]]></content:encoded>
	</item>
	<item>
		<title>Par : lala</title>
		<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/comment-page-1#comment-9389</link>
		<dc:creator>lala</dc:creator>
		<pubDate>Wed, 13 Jul 2011 08:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=269#comment-9389</guid>
		<description>&lt;p&gt;pareil que pour antoine et je n&#039;arrve pas a faire des recherches approximatives&lt;/p&gt;

&lt;p&gt;si je tape camion il me retourne bien mais si je tape camions rien...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>pareil que pour antoine et je n&#8217;arrve pas a faire des recherches approximatives</p>

<p>si je tape camion il me retourne bien mais si je tape camions rien&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>Par : Antoine</title>
		<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/comment-page-1#comment-7662</link>
		<dc:creator>Antoine</dc:creator>
		<pubDate>Wed, 09 Mar 2011 15:48:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=269#comment-7662</guid>
		<description>&lt;p&gt;Bonjour je viens d&#039;installer ce plugin, il n&#039;indexe les insertions et mises à jour que pour un seul modèle alors que je l&#039;ai placé sur plusieurs, quelqu&#039;un a t-il eu ce petit problème? merci&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Bonjour je viens d&#8217;installer ce plugin, il n&#8217;indexe les insertions et mises à jour que pour un seul modèle alors que je l&#8217;ai placé sur plusieurs, quelqu&#8217;un a t-il eu ce petit problème? merci</p>]]></content:encoded>
	</item>
	<item>
		<title>Par : François</title>
		<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/comment-page-1#comment-7454</link>
		<dc:creator>François</dc:creator>
		<pubDate>Fri, 18 Feb 2011 09:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=269#comment-7454</guid>
		<description>&lt;p&gt;Slt,
Nice plugin il m&#039;a fait gagner un temps fou, mais j&#039;ai quand même un petit problème sur le mode boolean
Si dans le moteur de recherche je tape télé tout fonctionne bien par contre si je tape des mots de 3 lettres (genre LCD) il ne me retourne rien...
Quelqu&#039;un à t il déjà eu le pb?&lt;/p&gt;

&lt;p&gt;Thks&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Slt,
Nice plugin il m&#8217;a fait gagner un temps fou, mais j&#8217;ai quand même un petit problème sur le mode boolean
Si dans le moteur de recherche je tape télé tout fonctionne bien par contre si je tape des mots de 3 lettres (genre LCD) il ne me retourne rien&#8230;
Quelqu&#8217;un à t il déjà eu le pb?</p>

<p>Thks</p>]]></content:encoded>
	</item>
	<item>
		<title>Par : Jonathan</title>
		<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/comment-page-1#comment-6887</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sat, 15 Jan 2011 17:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=269#comment-6887</guid>
		<description>&lt;p&gt;Bonjour,&lt;/p&gt;

&lt;p&gt;Le plugin fonctionne très bien à l’exception d&#039;un détail :&lt;/p&gt;

&lt;p&gt;Si je me rend à l&#039;adresse monsite.com/fr/recherche/acdc ou monsite.com/en/search/acdc cela fonctionne, en revanche quand on passe par le formulaire de recherche il affiche monsite.com/search/searches/index/acdc.&lt;/p&gt;

&lt;p&gt;Voici le code de mon formulaire :&lt;/p&gt;

&lt;pre lang=&quot;php&quot;&gt;
create(&#039;Search&#039;, array(&#039;url&#039; =&gt; &quot;/&quot;.Configure::read(&#039;Config.language&#039;).&quot;/&quot;.__t(&#039;recherche&#039;))); ?&gt;
    
        
            input(&#039;q&#039;, array(&#039;label&#039; =&gt; &#039;&#039;, &#039;value&#039; =&gt; __t(&#039;Taper votre recherche&#039;).&quot;...&quot;)); ?&gt;
            end(&quot;GO!&quot;) ?&gt;
        
    
&lt;/pre&gt;

&lt;p&gt;et la partie concernée dans mon routes.php :&lt;/p&gt;

&lt;pre lang=&quot;php&quot;&gt;
    Router::connect(&#039;/:language/recherche/*&#039;, array(&#039;plugin&#039; =&gt; &#039;search&#039;, &#039;controller&#039; =&gt; &#039;searches&#039;, &#039;action&#039; =&gt; &#039;index&#039;), array(&#039;language&#039;=&gt;Configure::read(&#039;Config.codelanguages&#039;)));
    Router::connect(&#039;/:language/search/*&#039;,    array(&#039;plugin&#039; =&gt; &#039;search&#039;, &#039;controller&#039; =&gt; &#039;searches&#039;, &#039;action&#039; =&gt; &#039;index&#039;), array(&#039;language&#039;=&gt;Configure::read(&#039;Config.codelanguages&#039;)));
&lt;/pre&gt;

&lt;p&gt;J&#039;ai cherché a faire passer la variable dans le formulaire histoire de voir si cake pouvait utiliser le reverse routing mais sans succès. Je m&#039;en remets donc à vous =)&lt;/p&gt;

&lt;p&gt;Cordialement&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Bonjour,</p>

<p>Le plugin fonctionne très bien à l’exception d&#8217;un détail :</p>

<p>Si je me rend à l&#8217;adresse monsite.com/fr/recherche/acdc ou monsite.com/en/search/acdc cela fonctionne, en revanche quand on passe par le formulaire de recherche il affiche monsite.com/search/searches/index/acdc.</p>

<p>Voici le code de mon formulaire :</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">create<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Search'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'url'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span>Configure<span style="color: #339933;">::</span><span style="color: #004000;">read</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Config.language'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span>__t<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'recherche'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> ?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
&nbsp;
&nbsp;
            input<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'q'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'label'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'value'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> __t<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Taper votre recherche'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;...&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> ?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
            <span style="color: #990000;">end</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;GO!&quot;</span><span style="color: #009900;">&#41;</span> ?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span></pre></div></div>




<p>et la partie concernée dans mon routes.php :</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">    Router<span style="color: #339933;">::</span><span style="color: #004000;">connect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/:language/recherche/*'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'plugin'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">'search'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'controller'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">'searches'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'action'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">'index'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'language'</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span>Configure<span style="color: #339933;">::</span><span style="color: #004000;">read</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Config.codelanguages'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    Router<span style="color: #339933;">::</span><span style="color: #004000;">connect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/:language/search/*'</span><span style="color: #339933;">,</span>    <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'plugin'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">'search'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'controller'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">'searches'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'action'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">'index'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'language'</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span>Configure<span style="color: #339933;">::</span><span style="color: #004000;">read</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Config.codelanguages'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>




<p>J&#8217;ai cherché a faire passer la variable dans le formulaire histoire de voir si cake pouvait utiliser le reverse routing mais sans succès. Je m&#8217;en remets donc à vous =)</p>

<p>Cordialement</p>]]></content:encoded>
	</item>
	<item>
		<title>Par : Collot</title>
		<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/comment-page-1#comment-6772</link>
		<dc:creator>Collot</dc:creator>
		<pubDate>Sat, 08 Jan 2011 14:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=269#comment-6772</guid>
		<description>&lt;p&gt;Bonjour, super tuto ;) je tourne sur cake 1.3 en ce moment et je n&#039;arrive pas a faire fonctionner la &quot;queryextension&quot;. J&#039;ai un mot qui est heures ... et lorsque je tape heure dans la recherche il ne trouve rien :(&lt;/p&gt;

&lt;p&gt;Un peu d&#039;aide ? ;)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Bonjour, super tuto <img src='http://www.formation-cakephp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  je tourne sur cake 1.3 en ce moment et je n&#8217;arrive pas a faire fonctionner la &laquo;&nbsp;queryextension&nbsp;&raquo;. J&#8217;ai un mot qui est heures &#8230; et lorsque je tape heure dans la recherche il ne trouve rien <img src='http://www.formation-cakephp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>

<p>Un peu d&#8217;aide ? <img src='http://www.formation-cakephp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>Par : Alan Crevon</title>
		<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/comment-page-1#comment-6409</link>
		<dc:creator>Alan Crevon</dc:creator>
		<pubDate>Mon, 06 Dec 2010 10:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=269#comment-6409</guid>
		<description>&lt;p&gt;Ai trouvé comment résoudre le problème soulevé par Cakephp Ethno Urban Webdesign.&lt;/p&gt;

&lt;p&gt;1) Supprimer la fonction afterSave() et la fonction beforeDelete() de /app/plugins/searche/models/behavios/searchable.php.&lt;/p&gt;

&lt;p&gt;2) Dans l&#039;action modifiant le statut de l&#039;article en &quot;publié&quot;, ajouter :&lt;/p&gt;

&lt;pre lang=&quot;php&quot;&gt;
// Ajout de l&#039;entrée dans l&#039;index du moteur de recherche
$model =&amp; $this-&gt;{$this-&gt;modelClass};
$data = $model-&gt;read(); // Si ce n&#039;est pas déjà fait
$model-&gt;Behaviors-&gt;Searchable-&gt;Search-&gt;saveIndex(
    $model-&gt;alias, 
    $model-&gt;id, 
    $model-&gt;buildIndex()
);
&lt;/pre&gt;

&lt;p&gt;3) Dans l&#039;action modifiant le statut de l&#039;article en autre chose que &quot;publié&quot;, ainsi que dans l&#039;action d&#039;effacement de l&#039;article, ajouter :&lt;/p&gt;

&lt;pre lang=&quot;php&quot;&gt;
// Supprime l&#039;entrée de l&#039;index du moteur de recherche
$model =&amp; $this-&gt;{$this-&gt;modelClass};
$conditions = array(
    &#039;model&#039;    =&gt; $model-&gt;alias,
    &#039;model_id&#039; =&gt; $model-&gt;id,
);
$model-&gt;Behaviors-&gt;Searchable-&gt;Search-&gt;deleteAll($conditions, false, true);
&lt;/pre&gt;

&lt;p&gt;Enjoy.&lt;/p&gt;

&lt;p&gt;alan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ai trouvé comment résoudre le problème soulevé par Cakephp Ethno Urban Webdesign.</p>

<p>1) Supprimer la fonction afterSave() et la fonction beforeDelete() de /app/plugins/searche/models/behavios/searchable.php.</p>

<p>2) Dans l&#8217;action modifiant le statut de l&#8217;article en &laquo;&nbsp;publié&nbsp;&raquo;, ajouter :</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Ajout de l'entrée dans l'index du moteur de recherche</span>
<span style="color: #000088;">$model</span> <span style="color: #339933;">=&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #009900;">&#123;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>modelClass<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$model</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>read<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Si ce n'est pas déjà fait</span>
<span style="color: #000088;">$model</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>Behaviors<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>Searchable<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>Search<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>saveIndex<span style="color: #009900;">&#40;</span>
    <span style="color: #000088;">$model</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>alias<span style="color: #339933;">,</span> 
    <span style="color: #000088;">$model</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>id<span style="color: #339933;">,</span> 
    <span style="color: #000088;">$model</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>buildIndex<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>




<p>3) Dans l&#8217;action modifiant le statut de l&#8217;article en autre chose que &laquo;&nbsp;publié&nbsp;&raquo;, ainsi que dans l&#8217;action d&#8217;effacement de l&#8217;article, ajouter :</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Supprime l'entrée de l'index du moteur de recherche</span>
<span style="color: #000088;">$model</span> <span style="color: #339933;">=&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #009900;">&#123;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>modelClass<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$conditions</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
    <span style="color: #0000ff;">'model'</span>    <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #000088;">$model</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>alias<span style="color: #339933;">,</span>
    <span style="color: #0000ff;">'model_id'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #000088;">$model</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>id<span style="color: #339933;">,</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$model</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>Behaviors<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>Searchable<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>Search<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>deleteAll<span style="color: #009900;">&#40;</span><span style="color: #000088;">$conditions</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</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>Enjoy.</p>

<p>alan</p>]]></content:encoded>
	</item>
	<item>
		<title>Par : Alan Crevon</title>
		<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/comment-page-1#comment-6407</link>
		<dc:creator>Alan Crevon</dc:creator>
		<pubDate>Mon, 06 Dec 2010 07:02:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=269#comment-6407</guid>
		<description>&lt;p&gt;Je plussoie le commentaire précédent !&lt;/p&gt;

&lt;p&gt;Et même si quelqu&#039;un pouvait m&#039;expliquer comment ajouter une telle condition en hard code, je suis preneur.&lt;/p&gt;

&lt;p&gt;Amicalement,
Alan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Je plussoie le commentaire précédent !</p>

<p>Et même si quelqu&#8217;un pouvait m&#8217;expliquer comment ajouter une telle condition en hard code, je suis preneur.</p>

<p>Amicalement,
Alan</p>]]></content:encoded>
	</item>
	<item>
		<title>Par : Harsha M V</title>
		<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/comment-page-1#comment-6128</link>
		<dc:creator>Harsha M V</dc:creator>
		<pubDate>Sun, 07 Nov 2010 07:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=269#comment-6128</guid>
		<description>&lt;p&gt;nice plugin. just wanted to know can this be done with related models like tags ? not sure how to integrat it into the same model&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>nice plugin. just wanted to know can this be done with related models like tags ? not sure how to integrat it into the same model</p>]]></content:encoded>
	</item>
	<item>
		<title>Par : Cakephp Ethno Urban Webdesign</title>
		<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/comment-page-1#comment-5820</link>
		<dc:creator>Cakephp Ethno Urban Webdesign</dc:creator>
		<pubDate>Wed, 06 Oct 2010 09:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=269#comment-5820</guid>
		<description>&lt;p&gt;Bonjour,&lt;/p&gt;

&lt;p&gt;Ce tutoriel est très bien fait! Une amélioration certaine serait d&#039;ajouter dans la  function buildIndex(&amp;$model) du behaviors searchable des conditions d&#039;indexations.&lt;/p&gt;

&lt;p&gt;Une appli qui a une partie admin peut avoir par exemple des articles en cours de rédaction, proposés à la publication, ou publiés. &lt;/p&gt;

&lt;p&gt;Donc indexer si &#039;conditions&#039;=&gt;array(&#039;Article.status&#039;=&gt;&#039;publié&#039;)&lt;/p&gt;

&lt;p&gt;En effet, dans la config actuelle le behavior index tout...&lt;/p&gt;

&lt;p&gt;Qu&#039;en pensez-vous?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Bonjour,</p>

<p>Ce tutoriel est très bien fait! Une amélioration certaine serait d&#8217;ajouter dans la  function buildIndex(&amp;$model) du behaviors searchable des conditions d&#8217;indexations.</p>

<p>Une appli qui a une partie admin peut avoir par exemple des articles en cours de rédaction, proposés à la publication, ou publiés. </p>

<p>Donc indexer si &#8216;conditions&#8217;=&gt;array(&#8216;Article.status&#8217;=&gt;&#8217;publié&#8217;)</p>

<p>En effet, dans la config actuelle le behavior index tout&#8230;</p>

<p>Qu&#8217;en pensez-vous?</p>]]></content:encoded>
	</item>
</channel>
</rss>

