Pages http://easy-design.net http://easy-design.net Pages http://easy-design.net (C) 2005-2009 PHPBoost Pages PHPBoost [PBTV3] Comment placer une vidéo sur votre site/forum http://easy-design.net/pages/pbtv3-comment-placer-une-video-sur-votre-site-forum http://easy-design.net/pages/pbtv3-comment-placer-une-video-sur-votre-site-forum Bonjour,<br /> <br /> Voici la manipulation à suivre pour intégrer une vidéo sur le forum.<br /> <br /> <div class="bb_block"><br /> <ul class="bb_ul"> <li class="bb_li"><a href="http://easy-design.net/pages/pbtv3-comment-placer-une-video-sur-votre-site-forum#youtube">Intégrer une vidéo Youtube</a> </li><li class="bb_li"><a href="http://easy-design.net/pages/pbtv3-comment-placer-une-video-sur-votre-site-forum#dailymotion">Intégrer une vidéo Dailymotion</a> </li><li class="bb_li"><a href="http://easy-design.net/pages/pbtv3-comment-placer-une-video-sur-votre-site-forum#wat">Intégrer une vidéo Wat.Tv</a> </li><li class="bb_li"><a href="http://easy-design.net/pages/pbtv3-comment-placer-une-video-sur-votre-site-forum#vimeo">Intégrer une vidéo Viméo</a><br /> </li></ul></div><br /> <h3 class="title1"><span id="youtube">YOUTUBE</span></h3><br /> <br /> <h3 class="title2">Pour mettre une vidéo Youtube :</h3><br /> <br /> Prenons comme exemple la vidéo de la bande annonce d'EDN, L'URL (<em>adresse</em>) de cette vidéo est la suivante :<br /> <br /> <p style="text-align:center"><object type="application/x-shockwave-flash" data="https://www.youtube.com/v/ObRw1BYqgbM" width="620" height="388"><param name="allowScriptAccess" value="never" /><param name="play" value="true" /><param name="movie" value="https://www.youtube.com/v/ObRw1BYqgbM" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="scalemode" value="noborder" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#000000" /></object></p><br /> <br /> <br /> - Dans cette URL <strong>remplacez</strong> "<strong><span style="color:red;">watch?v=</span></strong>" par "<strong><span style="color:red;">v/</span></strong>" et <strong>supprimez</strong> la partie en bleu dans le lien comme ci dessous :<br /> <div class="bb_block">http://www.youtube.com/<span style="color:red;">watch?v=</span>ObRw1BYqgbM<span style="color:blue;">&amp;feature=related</span></div><br /> <br /> - Il vous avez donc:<br /> <div class="bb_block">http://www.youtube.com/<span style="color:red;">v/</span>ObRw1BYqgbM</div><br /> <br /> Il ne vous reste qu'à ajouter la balise SWF soit en cliquant sur : <img src="http://easy-design.net/templates/SaCraft/images/form/flash.png" alt="" class="valign_" /> et d'y insérer le lien final que vous avez dans cette balise :<br /> <div class="bb_block"> [swf="640","400"]mon lien ici [/swf]</div><br /> <br /> - Le code d&#8217;intégration final pour cette vidéo sera donc ça.<br /> <span class="text_code">Code BBCODE :</span><div class="code"><pre><span style="color:#0000FF;">[swf</span>=<span style="color:#7B00FF;">620,388</span><span style="color:#0000FF;">]</span>http://www.youtube.com/v/ObRw1BYqgbM<span style="color:#0000FF;">[/swf]</span></pre></div><br /> <br /> <span class="warning">/!\ Il ne doit y avoir aucun espace dans le code ou votre intégration ne fonctionnera pas.</span><br /> <h3 class="title1"><span id="dailymotion">DAILYMOTION</span></h3><br /> <h3 class="title2">Pour mettre une vidéo DAILYMOTION:</h3><br /> <br /> - Prenons comme exemple cette petite parodie Mincraftienne (Et oui j'aime bien Minecraft aussi ^^) :<br /> <br /> <p style="text-align:center"><object type="application/x-shockwave-flash" data="http://www.dailymotion.com/swf/video/x15ivif" width="620" height="388"><param name="allowScriptAccess" value="never" /><param name="play" value="true" /><param name="movie" value="http://www.dailymotion.com/swf/video/x15ivif" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="scalemode" value="noborder" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#000000" /></object></p><br /> <br /> - L'URL de cette vidéo est la suivante :<br /> <p style="text-align:center"> <img src="http://easy-design.net/upload/daylimotion_url1.jpg" alt="" class="valign_" /> </p><br /> <br /> Dans cette URL supprimez tout ce qui vient après le code de la vidéo "<span style="color:red;">/x15ivif</span>", soit :<br /> <div class="bb_block">http://www.dailymotion.com/video/x15ivif<span style="color:blue;">_gotta-catch-em-all-a-minecraft-pikachu-animation_videogames</span><br /> </div><br /> <br /> - Ajoutez "<span style="color:red;"><strong>swf/</strong></span>" avant "vidéo" ce qui vous donne ceci :<br /> <div class="bb_block">http://www.dailymotion.com/<span style="color:red;">swf/</span>video/x15ivif</div><br /> <br /> Ensuite, comme pour une vidéo Youtube, il suffit d'ajouter la balise, donc pour une video en 620x388, vous aurez ceci :<br /> <span class="text_code">Code BBCODE :</span><div class="code"><pre><span style="color:#0000FF;">[swf</span>=<span style="color:#7B00FF;">620,388</span><span style="color:#0000FF;">]</span>http://www.dailymotion.com/swf/video/x15ivif<span style="color:#0000FF;">[/swf]</span> </pre></div><br /> <br /> <span class="warning">/! Il ne doit y avoir aucun espace dans le code ou votre intégration ne fonctionnera pas.</span><br /> <br /> <h3 class="title1"><span id="wat">WAT.TV</span></h3><br /> <h3 class="title2">Pour mettre une vidéo Wat.Tv :</h3><br /> <br /> - Prenons comme exemple cette petite parodie :<br /> <br /> <h3 class="title2">Avec l'ancien code :</h3><br /> <br /> <p style="text-align:center"><object type="application/x-shockwave-flash" data="http://www.wat.tv/swf2/141321nIc0K117078035" width="620" height="388"><param name="allowScriptAccess" value="never" /><param name="play" value="true" /><param name="movie" value="http://www.wat.tv/swf2/141321nIc0K117078035" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="scalemode" value="noborder" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#000000" /></object></p><br /> <br /> Pour obtenir L'URL (<em>adresse</em>) de cette vidéo est la suivante :<br /> <br /> <p style="text-align:center"> <img src="http://easy-design.net/upload/wat_url1.jpg" alt="" class="valign_" /> </p><br /> <br /> Récupérez la partie ici surlignée en bleu dans le <strong>&lt;embed src="</strong> :<br /> <br /> <div class="bb_block"> &lt;div&gt;<br /> &lt;object width="640" height="360" id="wat_7078035"&gt;<br /> &lt;param name="movie" value="<span style="color:red;">http://www.wat.tv/swf2/141321nIc0K117078035</span>" /&gt;<br /> &lt;param name="allowFullScreen" value="true" /&gt;<br /> &lt;param name="allowScriptAccess" value="always" /&gt;<br /> &lt;embed src="<span style="color:red;">http://www.wat.tv/swf2/141321nIc0K117078035</span>" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="360"&gt;&lt;/embed&gt;<br /> &lt;/object&gt;<br /> &lt;/div&gt;<br /> &lt;div class="watlinks" style="width:640px;font-size:11px; background:#CCCCCC; padding:2px 0 4px 0; text-align: center;"&gt;<br /> &lt;a target="_blank" class="waturl" href="http://www.wat.tv#" title="Simpson minecraft generique"&gt;<br /> &lt;strong&gt;Simpson minecraft generique&lt;/strong&gt; sur Wat<br /> &lt;/a&gt;<br /> &lt;/div&gt;</div><br /> <br /> - Vous aurez donc:<br /> <div class="bb_block">http://www.wat.tv/swf2/141321nIc0K117078035</div><br /> <br /> Il ne vous reste qu'à ajouter la balise SWF soit en cliquant sur : <img src="http://easy-design.net/templates/SaCraft/images/form/flash.png" alt="" class="valign_" /> et d'y insérer le code d&#8217;intégration final que vous avez avec cette balise :<br /> <br /> <span class="text_code">Code BBCODE :</span><div class="code"><pre><span style="color:#0000FF;">[swf</span>=<span style="color:#7B00FF;">620,388</span><span style="color:#0000FF;">]</span>http://www.wat.tv/swf2/141321nIc0K117078035<span style="color:#0000FF;">[/swf]</span></pre></div><br /> <br /> <h3 class="title2">Avec le code actuelle sans l'ancien code :</h3><br /> <br /> <object type="application/x-shockwave-flash" data="http://www.wat.tv/swf/307749chuPP3r7078035" width="620" height="388"><param name="allowScriptAccess" value="never" /><param name="play" value="true" /><param name="movie" value="http://www.wat.tv/swf/307749chuPP3r7078035" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="scalemode" value="noborder" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#000000" /></object><br /> <br /> Récupérez la partie ici surlignée en bleu dans le <strong>&lt;iframe src="</strong> :<br /> <br /> <div class="bb_block"> &lt;iframe src="<span style="color:blue;">http://www.wat.tv/embedframe/307749chuPP3r7078035</span>" frameborder="0" style="width:640px; height:360px;"&gt;&lt;/iframe&gt;<br /> &lt;div class="watlinks" style="width:640px;font-size:11px; background:#CCCCCC; padding:2px 0 4px 0; text-align: center;"&gt;<br /> &lt;a rel="nofollow" target="_blank" class="waturl" href="http://www.wat.tv#" title="Simpson minecraft generique"&gt;<br /> &lt;strong&gt;Simpson minecraft generique&lt;/strong&gt; sur wat.tv<br /> &lt;/a&gt;<br /> &lt;/div&gt;</div><br /> <br /> - Dans cette URL <strong>remplacez</strong> "<strong><span style="color:red;">embedframe/</span></strong>" par "<strong><span style="color:red;">swf/</span></strong>" dans le lien comme ci dessous :<br /> <div class="bb_block">http://www.wat.tv/<span style="color:red;">embedframe/</span>307749chuPP3r7078035</div><br /> <br /> - Vous aurez donc:<br /> <div class="bb_block">http://www.wat.tv/<span style="color:red;">swf/</span>307749chuPP3r7078035</div><br /> <br /> Il ne vous reste qu'à ajouter la balise SWF soit en cliquant sur : <img src="http://easy-design.net/templates/SaCraft/images/form/flash.png" alt="" class="valign_" /> et d'y insérer le code d&#8217;intégration final que vous avez avec cette balise :<br /> <br /> <span class="text_code">Code BBCODE :</span><div class="code"><pre><span style="color:#0000FF;">[swf</span>=<span style="color:#7B00FF;">620,388</span><span style="color:#0000FF;">]</span>http://www.wat.tv/swf/307749chuPP3r70780355<span style="color:#0000FF;">[/swf]</span></pre></div><br /> <br /> <span class="warning">/! Il ne doit y avoir aucun espace dans le code ou votre intégration ne fonctionnera pas.</span><br /> <br /> <h3 class="title1"><span id="vimeo">VIMEO</span></h3><br /> <br /> <h3 class="title2">Pour mettre une vidéo Viméo :</h3><br /> <br /> Ici encore une petite parodie bien sympathique :<br /> <br /> <p style="text-align:center"><object type="application/x-shockwave-flash" data="http://vimeo.com/moogaloop.swf?clip_id=50383337&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" width="620" height="388"><param name="allowScriptAccess" value="never" /><param name="play" value="true" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=50383337&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="scalemode" value="noborder" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#000000" /></object><br /> </p><br /> Sur la page de votre vidéo deux possibilité de voir l'<strong>ID</strong> de la vidéo :<br /> <div class="indent"><strong>1/ </strong>dans la barre de navigation : <a href="http://vimeo.com/">http://vimeo.com/</a><span style="color:red;">50383337</span><br /> <strong>2/</strong> en cliquant sur le bonton "<strong>Share</strong>"</div><br /> <br /> <p style="text-align:center"> <img src="http://easy-design.net/upload/vimeo_share.jpg" alt="" class="valign_" /> </p><br /> <br /> - Dans le lien ci dessous, <strong>remplacez</strong> "<strong><span style="color:red;">[ID_VIMEO]</span></strong>" par l'<strong>ID </strong>que vous avez récupéré de la vidéo :<br /> <br /> <div class="bb_block">http://vimeo.com/moogaloop.swf?clip_id=<span style="color:red;">[ID_VIMEO]</span>&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1</div><br /> <br /> Il ne vous reste qu'à ajouter la balise SWF autour, soit en cliquant sur : <img src="http://easy-design.net/templates/SaCraft/images/form/flash.png" alt="" class="valign_" /> et d'y insérer le code d&#8217;intégration final que vous avez avec cette balise :<br /> <br /> <span class="text_code">Code BBCODE :</span><div class="code"><pre><span style="color:#0000FF;">[swf</span>=<span style="color:#7B00FF;">620,388</span><span style="color:#0000FF;">]</span>http://vimeo.com/moogaloop.swf?clip_id=50383337&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1<span style="color:#0000FF;">[/swf]</span></pre></div><br /> <br /> <span class="warning">/! Il ne doit y avoir aucun espace dans le code ou votre intégration ne fonctionnera pas.</span><br /> -----------------<br /> Swan <img src="http://easy-design.net/images/smileys/study.gif" alt=":study" class="smiley" /> Sat, 28 Feb 2015 16:02:01 +0100 [PBTV4.1] [Facebook] Partager un sujet du forum sur votre page http://easy-design.net/pages/pbtv4-1-facebook-partager-un-sujet-du-forum-sur-votre-page http://easy-design.net/pages/pbtv4-1-facebook-partager-un-sujet-du-forum-sur-votre-page <br /><h4 class="stitle1">Introduction :</h4><br /><br /> <br /> Ce tutoriel est basé sur la <strong>V3</strong> mais pour la <strong><span style="color:red;">V4.1</span></strong>.<br /> <br /> Cette petite manipulation vous permettra de partager le sujet avec ID du topic du forum qui vous intéresse sans passer par l'App ID de Facebook !<br /> <br /> <h3 class="title1">La mise en place:</h3><br /> <br /> Commencez par vérifier que dans votre dossier "<strong>templates/VOTRE_THEME/modules/</strong>", vous avez bien ce dossier "<strong>forum</strong>" !<br /> <br /> <span class="astuce">Si vous ne l'avez pas, créez le ! Ensuite à la racine de votre site, allez dans le dossier "<strong>forum/templates</strong>" et <strong><span style="color:red;">copiez</span></strong> le fichier : "<strong>forum_top.tpl</strong>" et "<strong>forum_topic.tpl</strong>" dans le dossier que vous avez précédemment créé !</span><br /> <br /> - Commencez par ouvrir le "<strong>forum_top.tpl</strong>" et en dessous de la ligne 81 placez ceci:<br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!--</span> <span style="color: #808080; font-style: italic;"> function openExamplePopup(file,width,height,scrollbars){</span> <span style="color: #808080; font-style: italic;"> if (scrollbars == '') {</span> <span style="color: #808080; font-style: italic;"> scrollbars = 'no';</span> <span style="color: #808080; font-style: italic;"> }</span> <span style="color: #808080; font-style: italic;"> window.open('http://www.facebook.com/share.php?u=http://'+window.location.host+file,'_blank','top=50,left=50,width='+width+',height='+height+',scrollbars='+scrollbars);</span> <span style="color: #808080; font-style: italic;"> }</span> <span style="color: #808080; font-style: italic;"> // --&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span> &nbsp;</pre></div><br /> <br /> - Enregistrez et fermez.<br /> <br /> <br /> - Maintenant éditez le fichier "<strong>forum_topic.tpl</strong>", rendez vous à la ligne 240, vous avez ceci :<br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">U_TITLE_T</span><span style="color:#7F3300;">}</span>#go_top&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;new Effect.ScrollTo('go_top',{duration:1.2}); return false;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fa fa-arrow-up&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">U_TITLE_T</span><span style="color:#7F3300;">}</span>#go_bottom&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;new Effect.ScrollTo('go_bottom',{duration:1.2}); return false;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fa fa-arrow-down&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></pre></div><br /> <br /> <strong><span style="text-decoration: underline;">- Vous allez le remplacer par :</span></strong><br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">U_TITLE_T</span><span style="color:#7F3300;">}</span>#go_top&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;new Effect.ScrollTo('go_top',{duration:1.2}); return false;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fa fa-arrow-up&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">U_TITLE_T</span><span style="color:#7F3300;">}</span>#go_bottom&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;new Effect.ScrollTo('go_bottom',{duration:1.2}); return false;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fa fa-arrow-down&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Javascript:openExamplePopup('<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">PATH_TO_ROOT</span><span style="color:#7F3300;">}</span>/forum/topic<span style="color:#7F3300;">{</span><span style="color:#8F5211;">msg.</span><span style="color:#FF6600; font-weight: bold;">U_VARS_ANCRE</span><span style="color:#7F3300;">}</span>#m<span style="color:#7F3300;">{</span><span style="color:#8F5211;">msg.</span><span style="color:#FF6600; font-weight: bold;">ID</span><span style="color:#7F3300;">}</span>','626','436','no');&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fa fa-facebook&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color: #ddbb00;">&amp;nbsp;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></pre></div><br /> <br /> <em>* Là vous disposez directement de la font par le kernel, mais vous pouvez toujours en changer par l&#8217;icône facebook.</em><br /> <br /> Enregistrez le fichier, ensuite régénérez les caches PBt (<em>Administration/Outils</em>).<br /> <br /> <span class="success"> Si vous avez des questions, n'hésitez pas à les poser sur<a href="http://easy-design.net/forum/forum-32+documentations-et-dossiers.php"> le forum</a> <img src="http://easy-design.net/images/smileys/smiley_2.gif" alt=":)" class="smiley" /></span><br /> <br /> <br /> <div class="bb_block"><strong>Voir les autres tutoriels connexe à celui-ci :</strong><br /> <br /> - <a href="http://easy-design.net/pages/pbtv4-1-facebook-partager-une-news-sur-votre-page">[PBTV4.1] [Facebook] Partager une news sur votre page</a><br /> - <a href="http://easy-design.net/pages/pbtv4-0-facebook-partager-une-news-sur-votre-page">[PBTV4.0] [Facebook] Partager une news sur votre page</a><br /> - <a href="http://easy-design.net/pages/pbtv4-0-facebook-partager-un-sujet-du-forum-sur-votre-page">[PBTV4.0] [Facebook] Partager un sujet du forum sur votre page</a><br /> </div><br /> <br /> <div class="bb_block"><p style="text-align:center">Créé le 16/02/2015 par Swan.</p></div> Mon, 16 Feb 2015 13:46:41 +0100 [PBTV4.0] [Facebook] Partager un sujet du forum sur votre page http://easy-design.net/pages/pbtv4-0-facebook-partager-un-sujet-du-forum-sur-votre-page http://easy-design.net/pages/pbtv4-0-facebook-partager-un-sujet-du-forum-sur-votre-page <br /><h4 class="stitle1">Introduction :</h4><br /><br /> <br /> Ce tutoriel est basé sur la <strong>V3</strong> mais pour la <strong><span style="color:red;">V4.0</span></strong>.<br /> <br /> Cette petite manipulation vous permettra de partager le sujet avec ID du topic du forum qui vous intéresse sans passer par l'App ID de Facebook !<br /> <br /> <h3 class="title1">La mise en place:</h3><br /> <br /> Commencez par vérifier que dans votre dossier "<strong>templates/VOTRE_THEME/modules/</strong>", vous avez bien ce dossier "<strong>forum</strong>" !<br /> <br /> <span class="astuce">Si vous ne l'avez pas, créez le ! Ensuite à la racine de votre site, allez dans le dossier "<strong>forum/templates</strong>" et <strong><span style="color:red;">copiez</span></strong> le fichier : "<strong>forum_top.tpl</strong>" et "<strong>forum_topic.tpl</strong>" dans le dossier que vous avez précédemment créé !</span><br /> <br /> Commencez par ouvrir le "<strong>forum_top.tpl</strong>" et en dessous de la ligne 81 placez ceci:<br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!--</span> <span style="color: #808080; font-style: italic;"> function openExamplePopup(file,width,height,scrollbars){</span> <span style="color: #808080; font-style: italic;"> if (scrollbars == '') {</span> <span style="color: #808080; font-style: italic;"> scrollbars = 'no';</span> <span style="color: #808080; font-style: italic;"> }</span> <span style="color: #808080; font-style: italic;"> window.open('http://www.facebook.com/share.php?u=http://'+window.location.host+file,'_blank','top=50,left=50,width='+width+',height='+height+',scrollbars='+scrollbars);</span> <span style="color: #808080; font-style: italic;"> }</span> <span style="color: #808080; font-style: italic;"> // --&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span> &nbsp;</pre></div><br /> <br /> - Enregistrez et fermez.<br /> <br /> - Maintenant éditez ensuite le fichier "<strong>forum_topic.tpl</strong>", rendez-vous à la ligne 257, vous avez ceci :<br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"> <span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">U_TITLE_T</span><span style="color:#7F3300;">}</span>#go_top&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;new Effect.ScrollTo('go_top',{duration:1.2}); return false;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">PATH_TO_ROOT</span><span style="color:#7F3300;">}</span>/templates/<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">THEME</span><span style="color:#7F3300;">}</span>/images/top.png&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">U_TITLE_T</span><span style="color:#7F3300;">}</span>#go_bottom&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;new Effect.ScrollTo('go_bottom',{duration:1.2}); return false;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">PATH_TO_ROOT</span><span style="color:#7F3300;">}</span>/templates/<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">THEME</span><span style="color:#7F3300;">}</span>/images/bottom.png&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></pre></div><br /> <br /> <br /> <strong><span style="text-decoration: underline;">- Vous allez le remplacer par :</span></strong><br /> <br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"> <span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">U_TITLE_T</span><span style="color:#7F3300;">}</span>#go_top&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;new Effect.ScrollTo('go_top',{duration:1.2}); return false;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">PATH_TO_ROOT</span><span style="color:#7F3300;">}</span>/templates/<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">THEME</span><span style="color:#7F3300;">}</span>/images/top.png&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">U_TITLE_T</span><span style="color:#7F3300;">}</span>#go_bottom&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;new Effect.ScrollTo('go_bottom',{duration:1.2}); return false;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">PATH_TO_ROOT</span><span style="color:#7F3300;">}</span>/templates/<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">THEME</span><span style="color:#7F3300;">}</span>/images/bottom.png&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Javascript:openExamplePopup('<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">PATH_TO_ROOT</span><span style="color:#7F3300;">}</span>/forum/topic<span style="color:#7F3300;">{</span><span style="color:#8F5211;">msg.</span><span style="color:#FF6600; font-weight: bold;">U_VARS_ANCRE</span><span style="color:#7F3300;">}</span>#m<span style="color:#7F3300;">{</span><span style="color:#8F5211;">msg.</span><span style="color:#FF6600; font-weight: bold;">ID</span><span style="color:#7F3300;">}</span>','626','436','no');&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;share_icon&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color: #ddbb00;">&amp;nbsp;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></pre></div><br /> <br /> Comme précédement enregistrez le fichier, ensuite régénérez les caches PBt (<em>Administration/Outils</em>).<br /> <br /> <span class="success"> Si vous avez des questions, n'hésitez pas à les poser sur<a href="http://easy-design.net/forum/forum-32+documentations-et-dossiers.php"> le forum</a> <img src="http://easy-design.net/images/smileys/smiley_2.gif" alt=":)" class="smiley" /></span><br /> <br /> <br /> <div class="bb_block"><strong>Voir les autres tutoriels connexe à celui-ci :</strong><br /> <br /> - <a href="http://easy-design.net/pages/pbtv4-1-facebook-partager-une-news-sur-votre-page">[PBTV4.1] [Facebook] Partager une news sur votre page</a><br /> - <a href="http://easy-design.net/pages/pbtv4-0-facebook-partager-une-news-sur-votre-page">[PBTV4.0] [Facebook] Partager une news sur votre page</a><br /> </div><br /> <br /> <div class="bb_block"><p style="text-align:center">Créé le 16/02/2015 par Swan.</p></div> Mon, 16 Feb 2015 13:03:37 +0100 [PBTV4.0] [Facebook] Partager une news sur votre page http://easy-design.net/pages/pbtv4-0-facebook-partager-une-news-sur-votre-page http://easy-design.net/pages/pbtv4-0-facebook-partager-une-news-sur-votre-page <br /><h4 class="stitle1">Introduction :</h4><br /><br /> <br /> Ce tutoriel est pris de la <strong>V3</strong> et porté pour la <strong><span style="color:red;">4.0</span></strong><br /> <br /> Cette petite manipulation vous permettra de partager une news avec son ID qui vous intéresse sans passer par l'App ID de Facebook !<br /> <br /> <h3 class="title1">La mise en place:</h3><br /> <br /> Commencez par vérifier que dans votre dossier "<strong>templates/VOTRE_THEME/modules/</strong>", vous avez bien ce dossier "<strong>news</strong>" !<br /> <br /> <span class="astuce">Si vous ne l'avez pas, créez le ! Ensuite à la racine de votre site, allez dans le dossier "<strong>news/templates</strong>" et <strong><span style="color:red;">copiez</span></strong> le fichier : "<strong>news.tpl</strong>" dans le dossier que vous avez précédemment créé !</span><br /> <br /> <br /> - Éditez ensuite le fichier "<strong>news.tpl</strong>", rendez vous à la ligne 34 environ, vous avez ceci :<br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"> <span style="color:#9915AF; font-weight: bold;">#</span> <span style="color:#000066; font-weight: bold;">IF</span> <span style="color:#8F5211;"></span><span style="color:#FF6600; font-weight: bold;">C_DELETE</span> <span style="color:#9915AF; font-weight: bold;">#</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">PATH_TO_ROOT</span><span style="color:#7F3300;">}</span>/news/management.php?del=<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">ID</span><span style="color:#7F3300;">}</span>&amp;amp;token=<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">TOKEN</span><span style="color:#7F3300;">}</span>&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">L_DELETE</span><span style="color:#7F3300;">}</span>&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript:return Confirm();&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;valign_middle&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">PATH_TO_ROOT</span><span style="color:#7F3300;">}</span>/templates/<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">THEME</span><span style="color:#7F3300;">}</span>/images/<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">LANG</span><span style="color:#7F3300;">}</span>/delete.png&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">L_DELETE</span><span style="color:#7F3300;">}</span>&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color:#9915AF; font-weight: bold;">#</span> <span style="color:#000066; font-weight: bold;">ENDIF</span> <span style="color:#9915AF; font-weight: bold;">#</span></pre></div><br /> <br /> <br /> <strong><span style="text-decoration: underline;">En dessous, placez ceci :</span></strong><br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;JavaScript&quot;</span>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!--</span> <span style="color: #808080; font-style: italic;"> function openExamplePopup(file,width,height,scrollbars){</span> <span style="color: #808080; font-style: italic;"> if (scrollbars == '') {</span> <span style="color: #808080; font-style: italic;"> scrollbars = 'no';</span> <span style="color: #808080; font-style: italic;"> }</span> <span style="color: #808080; font-style: italic;"> window.open(file,'_blank','top=50,left=50,width='+width+',height='+height+',scrollbars='+scrollbars);</span> <span style="color: #808080; font-style: italic;"> }</span> <span style="color: #808080; font-style: italic;"> // --&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;return fbs_click()&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Javascript:openExamplePopup('http://www.facebook.com/share.php?u=http://L_URL_DE_VOTRE_SITE/<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">U_LINK</span><span style="color:#7F3300;">}</span>','626','436','no');&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;valign_middle&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;share_icon&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> &nbsp;</pre></div><br /> <br /> <span class="warning">Remplacez "<strong>L_URL_DE_VOTRE_SITE</strong>" par le votre bien sur ^^</span><br /> <br /> Enregistrez le fichier, ensuite régénérez les caches PBt (<em>Administration/Outils</em>).<br /> <br /> <span class="success"> Si vous avez des questions, n'hésitez pas à les poser sur<a href="http://easy-design.net/forum/forum-32+documentations-et-dossiers.php"> le forum</a> <img src="http://easy-design.net/images/smileys/smiley_2.gif" alt=":)" class="smiley" /></span><br /> <br /> <div class="bb_block"><strong>Voir les autres tutoriels connexe à celui-ci :</strong><br /> <br /> - <a href="http://easy-design.net/pages/pbtv4-1-facebook-partager-une-news-sur-votre-page">[PBTV4.1] [Facebook] Partager une news sur votre page</a><br /> </div><br /> <br /> <div class="bb_block"><p style="text-align:center">Créé le 16/02/2015 par Swan.</p></div> Mon, 16 Feb 2015 12:37:33 +0100 [PBTV4.1] [Facebook] Partager un sujet du forum sur votre page sans l'App Id http://easy-design.net/pages/pbtv4-1-facebook-partager-un-sujet-du-forum-sur-votre-page-sans-l-app-id http://easy-design.net/pages/pbtv4-1-facebook-partager-un-sujet-du-forum-sur-votre-page-sans-l-app-id <br /> <br /><h4 class="stitle1">Introduction :</h4><br /><br /> Ce tutoriel est repis de la section des extras PBT V3. Cette petite manipulation vous permettra de partager le sujet avec ID du topic du forum qui vous intéresse sans passer par l'App ID de Facebook !<br /> <br /> <h3 class="title2">La mise en place:</h3><br /> <br /> Pour ce faire une solution :<br /> <br /> Commencez par vérifier que dans votre dossier "<strong>templates/VOTRE_THEME/modules/</strong>", vous avez bien ce dossier "<strong>forum</strong>" !<br /> <br /> <span class="astuce">Si vous ne l'avez pas, créez le ! Ensuite à la racine de votre site, allez dans le dossier "<strong>forum/templates</strong>" et <strong><span style="color:red;">copiez</span></strong> le fichier : "<strong>forum_topic.tpl</strong>" dans le dossier que vous avez précédemment créé !</span><br /> <br /> <br /> - Éditez ensuite le fichier "<strong>forum_topic.tpl</strong>", rendez vous à la ligne 240 Juste au dessus vous avez ceci :<br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"><span style="color:#9915AF; font-weight: bold;">#</span> <span style="color:#000066; font-weight: bold;">IF</span> <span style="color:#8F5211;">msg.</span><span style="color:#FF6600; font-weight: bold;">C_FORUM_MSG_CUT</span> <span style="color:#9915AF; font-weight: bold;">#</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;move<span style="color:#7F3300;">{</span><span style="color:#8F5211;">msg.</span><span style="color:#FF6600; font-weight: bold;">U_FORUM_MSG_CUT</span><span style="color:#7F3300;">}</span>&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">L_CUT_TOPIC</span><span style="color:#7F3300;">}</span>&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fa fa-cut&quot;</span> data-confirmation<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;<span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">L_ALERT_CUT_TOPIC</span><span style="color:#7F3300;">}</span>&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color:#9915AF; font-weight: bold;">#</span> <span style="color:#000066; font-weight: bold;">ENDIF</span> <span style="color:#9915AF; font-weight: bold;">#</span></pre></div><br /> <br /> <br /> <strong><span style="text-decoration: underline;">- juste en dessous, vous allez placer ce code :</span></strong><br /> <br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;JavaScript&quot;</span>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!--</span> <span style="color: #808080; font-style: italic;"> function openExamplePopup(file,width,height,scrollbars){</span> <span style="color: #808080; font-style: italic;"> if (scrollbars == '') {</span> <span style="color: #808080; font-style: italic;"> scrollbars = 'no';</span> <span style="color: #808080; font-style: italic;"> }</span> <span style="color: #808080; font-style: italic;"> window.open(file,'_blank','top=50,left=50,width='+width+',height='+height+',scrollbars='+scrollbars);</span> <span style="color: #808080; font-style: italic;"> }</span> <span style="color: #808080; font-style: italic;"> // --&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span> &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;small&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;return fbs_click()&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Javascript:openExamplePopup('http://www.facebook.com/share.php?u=http://MON_SITE/forum/topic<span style="color:#7F3300;">{</span><span style="color:#8F5211;">msg.</span><span style="color:#FF6600; font-weight: bold;">U_VARS_ANCRE</span><span style="color:#7F3300;">}</span>#m<span style="color:#7F3300;">{</span><span style="color:#8F5211;">msg.</span><span style="color:#FF6600; font-weight: bold;">ID</span><span style="color:#7F3300;">}</span>','700','500','no');&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fa fa-facebook&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/i.html"><span style="color: #000000; font-weight: bold;">i</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> &nbsp;</pre></div><br /> <br /> <span class="warning"><strong>Attention : remplacez à l'intérieur le lien "http://MON_SITE/", par le vôtre !!!</strong></span><br /> <br /> Enregistrez le fichier, ensuite régénérez les caches PBt (<em>Administration/Outils</em>).<br /> <br /> <span class="success"> Si vous avez des questions, n'hésitez pas à les poser sur<a href="http://easy-design.net/forum/forum-32+documentations-et-dossiers.php"> le forum</a> <img src="http://easy-design.net/images/smileys/smiley_2.gif" alt=":)" class="smiley" /></span><br /> <br /> <div class="bb_block"><strong>Voir les autres tutoriels connexe à celui-ci :</strong><br /> <br /> - <a href="http://easy-design.net/pages/facebook-partager-vos-telechargements-sur-votre-page">[Facebook] Partager vos téléchargements sur votre page sans l'App Id</a><br /> - <a href="http://easy-design.net/pages/facebook-partager-un-telechargement-precis-sur-votre-page">[Facebook] Partager un téléchargement précis sur votre page sans l'App Id</a><br /> - <a href="http://easy-design.net/pages/facebook-partager-une-categorie-de-telechargement-precis-sur-votre-page">[Facebook] Partager une catégorie de téléchargement précise sur votre page sans l'App Id</a><br /> </div><br /> <br /> <div class="bb_block"><p style="text-align:center">Créé le 14/02/2014, par Swan.</p></div> Sat, 14 Feb 2015 15:51:50 +0100 [PBTV4.0] Créer un numéro App ID sur Facebook http://easy-design.net/pages/pbtv4-0-creer-un-numero-app-id-sur-facebook http://easy-design.net/pages/pbtv4-0-creer-un-numero-app-id-sur-facebook <br /> <br /> <br /><h4 class="stitle1">Introduction</h4><br /><br /> <br /> Donc tout d'abord il faut créer un numéro App ID afin d'utiliser le Javascript SDK , pour pouvoir profiter de tout les avantage et simplification de code que vous apportera les codes fournis par Facebook.<br /> <br /> <h3 class="title1">Créer l'App ID sur facebook</h3><br /> <br /> Rendez-vous sur cette page: <a href="https://developers.facebook.com/apps/?action=create">Create an Application</a> <br /> <br /> - Cliquez sur "<strong>Add a New App</strong>"<br /> - Cliquez ensuite sur "<strong>site web</strong>"<br /> <br /> <p style="text-align:center"><img src="http://easy-design.net/upload/Tutos/divers/FB/appid_000.jpg" alt="" class="valign_" /></p><br /> <br /> Dans la zone "<strong>Choose an existing app.....</strong>" entrez le non de votre site, pas l'url !<br /> <br /> <p style="text-align:center"><img src="http://easy-design.net/upload/Tutos/divers/FB/appid_001.jpg" alt="" class="valign_" /></p><br /> <br /> <p style="text-align:center"><img src="http://easy-design.net/upload/Tutos/divers/FB/appid_002.jpg" alt="" class="valign_" /></p><br /> <br /> Valider en cliquant sur "<strong>Create New Facebook App ID</strong>".<br /> <br /> - Laissez sur "<strong>NON</strong>" et choisissez votre catégorie.<br /> <br /> <p style="text-align:center"><img src="http://easy-design.net/upload/Tutos/divers/FB/appid_003.jpg" alt="" class="valign_" /></p><br /> <br /> Validez sur "<strong>Create App ID</strong>".<br /> <br /> Il faudra bien garder l'ID , dans un bloc note par exemple, avec un simple copier/coller .<br /> <br /> <h3 class="title1">Installer Javascript SDK</h3><br /> <br /> Maintenant afin d'inclure le SDK , il faut ouvrir le "<strong>header.tpl</strong>" (../templates/votre_thème/)<br /> Une fois votre fichier ouvert , juste au dessus le "<strong>&lt;body&gt;</strong>" copier/coller ceci :<br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span> window.fbAsyncInit = function() { FB.init({ appId : '78**********960', xfbml : true, version : 'v2.2' }); }; &nbsp; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = &quot;//connect.facebook.net/fr_FR/sdk.js&quot;; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></pre></div><br /> <em><span style="font-size: 10px;">*Vous avez déjà votre N°ID dans ce bout de code, mais il vous faut finaliser la procédure avant de l'utiliser.</span></em><br /> <br /> Entrez votre url de site sur les 2 lignes,et cliquez sur suivant.<br /> <br /> <p style="text-align:center"><img src="http://easy-design.net/upload/Tutos/divers/FB/appid_004.jpg" alt="" class="valign_" /></p><br /> <br /> Vous pourrez testez votre intégration Facebook avec le code suivant, en le copiant juste en dessous du SDK précédemment copié.<br /> <span style="font-size: 10px;"> <em>*Une fois testé, n&#8217;oubliez pas de le supprimer de votre fichier.</em></span><br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;">&nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a></span> <span style="color: #009900;"> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fb-like&quot;</span></span> <span style="color: #009900;"> data-share<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span></span> <span style="color: #009900;"> data-<span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;450&quot;</span></span> <span style="color: #009900;"> data-show-faces<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> &nbsp;</pre></div><br /> <br /> Et pour finir dans "<strong>Etapes suivantes</strong>" rendez-vous sur votre page appID en cliquant sur "<strong>Skip to Developer Dashboard</strong>".<br /> Vous pourrez ensuite en créer d'autres si vous avez plusieurs sites, en vous rendant sur la page de vos applications<br /> <br /> - <a href="https://developers.facebook.com/apps/">https://developers.facebook.com/apps/</a><br /> <br /> Et voilà ou avez un numéro App ID ^^<br /> <br /> <span class="success"> Si vous avez des questions, n'hésitez pas à les poser dans <a href="http://easy-design.net/forum/forum-29+aide-generale.php"> la section dédiée</a> sur le forum <img src="http://easy-design.net/images/smileys/smiley_2.gif" alt=":)" class="smiley" /></span><br /> <br /> <div class="bb_block"><p style="text-align:center">Créé le 14/02/2015, par Swan </p></div> Sat, 14 Feb 2015 14:46:29 +0100 [PBTV4.1] Créer un numéro App ID sur Facebook http://easy-design.net/pages/pbtv4-1-creer-un-numero-app-id-sur-facebook http://easy-design.net/pages/pbtv4-1-creer-un-numero-app-id-sur-facebook <br /><h4 class="stitle1">Introduction</h4><br /><br /> <br /> Donc tout d'abord il faut créer un numéro App ID afin d'utiliser le Javascript SDK , pour pouvoir profiter de tout les avantage et simplification de code que vous apportera les codes fournis par Facebook.<br /> <br /> <h3 class="title1">Créer l'App ID sur facebook</h3><br /> <br /> Rendez-vous sur cette page: <a href="https://developers.facebook.com/apps/?action=create">Create an Application</a> <br /> <br /> - Cliquez sur "<strong>Add a New App</strong>"<br /> - Cliquez ensuite sur "<strong>site web</strong>"<br /> <br /> <p style="text-align:center"><img src="http://easy-design.net/upload/Tutos/divers/FB/appid_000.jpg" alt="" class="valign_" /></p><br /> <br /> Dans la zone "<strong>Choose an existing app.....</strong>" entrez le non de votre site, pas l'url !<br /> <br /> <p style="text-align:center"><img src="http://easy-design.net/upload/Tutos/divers/FB/appid_001.jpg" alt="" class="valign_" /></p><br /> <br /> <p style="text-align:center"><img src="http://easy-design.net/upload/Tutos/divers/FB/appid_002.jpg" alt="" class="valign_" /></p><br /> <br /> Valider en cliquant sur "<strong>Create New Facebook App ID</strong>".<br /> <br /> - Laissez sur "<strong>NON</strong>" et choisissez votre catégorie.<br /> <br /> <p style="text-align:center"><img src="http://easy-design.net/upload/Tutos/divers/FB/appid_003.jpg" alt="" class="valign_" /></p><br /> <br /> Validez sur "<strong>Create App ID</strong>".<br /> <br /> Il faudra bien garder l'ID , dans un bloc note par exemple, avec un simple copier/coller .<br /> <br /> <h3 class="title1">Installer Javascript SDK</h3><br /> <br /> Maintenant afin d'inclure le SDK , il faut ouvrir le "<strong>body.tpl</strong>" (../templates/votre_thème/)<br /> Une fois votre fichier ouvert , tout en haut ligne 1, juste au dessus de "<strong># INCLUDE MAINTAIN #</strong>" copier/coller ceci :<br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span> window.fbAsyncInit = function() { FB.init({ appId : '78**********960', xfbml : true, version : 'v2.2' }); }; &nbsp; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = &quot;//connect.facebook.net/fr_FR/sdk.js&quot;; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></pre></div><br /> <em><span style="font-size: 10px;">*Vous avez déjà votre N°ID dans ce bout de code, mais il vous faut finaliser la procédure avant de l'utiliser.</span></em><br /> <br /> Entrez votre url de site sur les 2 lignes,et cliquez sur suivant.<br /> <br /> <p style="text-align:center"><img src="http://easy-design.net/upload/Tutos/divers/FB/appid_004.jpg" alt="" class="valign_" /></p><br /> <br /> Vous pourrez testez votre intégration Facebook avec le code suivant, en le copiant juste en dessous du SDK précédemment copié.<br /> <span style="font-size: 10px;"> <em>*Une fois testé, n&#8217;oubliez pas de le supprimer de votre fichier.</em></span><br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;">&nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a></span> <span style="color: #009900;"> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fb-like&quot;</span></span> <span style="color: #009900;"> data-share<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span></span> <span style="color: #009900;"> data-<span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;450&quot;</span></span> <span style="color: #009900;"> data-show-faces<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> &nbsp;</pre></div><br /> <br /> Et pour finir dans "<strong>Etapes suivantes</strong>" rendez-vous sur votre page appID en cliquant sur "<strong>Skip to Developer Dashboard</strong>".<br /> Vous pourrez ensuite en créer d'autres si vous avez plusieurs sites, en vous rendant sur la page de vos applications<br /> <br /> - <a href="https://developers.facebook.com/apps/">https://developers.facebook.com/apps/</a><br /> <br /> Et voilà ou avez un numéro App ID ^^<br /> <br /> <span class="success"> Si vous avez des questions, n'hésitez pas à les poser dans <a href="http://easy-design.net/forum/forum-29+aide-generale.php"> la section dédiée</a> sur le forum <img src="http://easy-design.net/images/smileys/smiley_2.gif" alt=":)" class="smiley" /></span><br /> <br /> <div class="bb_block"><p style="text-align:center">Créé le 14/02/2015, par Swan </p></div> Sat, 14 Feb 2015 14:21:40 +0100 [PBT 4.1.3] Suppression des colonnes pour HomeCustom http://easy-design.net/pages/pbt-4-1-3-suppression-des-colonnes-pour-homecustom http://easy-design.net/pages/pbt-4-1-3-suppression-des-colonnes-pour-homecustom <br /><h4 class="stitle1">Introduction</h4><br /><br /> <br /> Voici comment supprimer tout simplement les colonnes de menu droite et gauche dans le module HomeCustom.<br /> <br /> <strong>Version de PHPBoost : 4.1.3</strong><br /> <br /> <h3 class="title1">C'est parti ..</h3><br /> C'est à placer dans "\HomeCustom\phpboost <strong>HomeCustomHomePageExtensionPoint.class.php</strong>" ...<br /> <br /> <span class="text_code">Code PHP :</span><div class="code"><pre style="display:inline;"><pre class="php" style="font-family:monospace;">&nbsp; <a href="http://www.php.net/%26amp%3Blt%3CSEMI%3E%3Fphp"><span style="color: #FF0000; font-weight: normal;">&lt;?php</span></a> <span style="color: #008000; font-style: italic;">/*################################################## * HomeCustomHomePageExtensionPoint.class.php * ------------------- * begin : August 25, 2012 * copyright : (C) 2012 Kevin MASSY * email : kevin.massy@phpboost.com * * ################################################### * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ###################################################*/</span> <span style="color: #008000; font-style: italic;">//Edit le 25/01/2015 Par EDN -Swan | http://easy-design.net </span> <span style="color: #008000; font-style: italic;">// Enlève les deux colonnes de menus gauche &amp; droit. </span> <span style="color: #008000; font-style: italic;">// Pour avoir de nouveau les colonnes: commentez les en début de ligne avec deux &quot;slash&quot; = //</span> <span style="color: #000080;">$columns_disabled</span> <span style="color: #8000FF;">=</span> ThemesManager<span style="color: #8000FF;">::</span><span style="color: #000000;">get_theme</span><span style="color: #8000FF;">&#40;</span>get_utheme<span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">get_columns_disabled</span><span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <span style="color: #000080;">$columns_disabled</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">set_disable_left_columns</span><span style="color: #8000FF;">&#40;</span><span style="color: #0000FF; font-weight: bold;">true</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <span style="color: #000080;">$columns_disabled</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">set_disable_right_columns</span><span style="color: #8000FF;">&#40;</span><span style="color: #0000FF; font-weight: bold;">true</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; &nbsp; <span style="color: #0000FF; font-weight: bold;">class</span> HomeCustomHomePageExtensionPoint <span style="color: #0000FF; font-weight: bold;">implements</span> HomePageExtensionPoint <span style="color: #8000FF;">&#123;</span> <span style="color: #0000FF; font-weight: bold;">private</span> <span style="color: #000080;">$template</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #0000FF; font-weight: bold;">public</span> <span style="color: #0000FF; font-weight: bold;">function</span> get_home_page<span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span> <span style="color: #8000FF;">&#123;</span> <span style="color: #0000FF; font-weight: bold;">return</span> <span style="color: #0000FF; font-weight: bold;">new</span> DefaultHomePage<span style="color: #8000FF;">&#40;</span><span style="color: #000080;">$this</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">get_title</span><span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">,</span> <span style="color: #000080;">$this</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">get_view</span><span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <span style="color: #8000FF;">&#125;</span> &nbsp; <span style="color: #0000FF; font-weight: bold;">private</span> <span style="color: #0000FF; font-weight: bold;">function</span> get_title<span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span> <span style="color: #8000FF;">&#123;</span> <span style="color: #0000FF; font-weight: bold;">return</span> LangLoader<span style="color: #8000FF;">::</span><span style="color: #000000;">get_message</span><span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'title'</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'common'</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'HomeCustom'</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <span style="color: #8000FF;">&#125;</span> &nbsp; <span style="color: #0000FF; font-weight: bold;">private</span> <span style="color: #0000FF; font-weight: bold;">function</span> get_view<span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span> <span style="color: #8000FF;">&#123;</span> <span style="color: #000080;">$this</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">template</span> <span style="color: #8000FF;">=</span> <span style="color: #0000FF; font-weight: bold;">new</span> FileTemplate<span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'HomeCustom/home.tpl'</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #0000FF; font-weight: bold;">return</span> <span style="color: #000080;">$this</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">template</span><span style="color: #8000FF;">;</span> <span style="color: #8000FF;">&#125;</span> &nbsp; &nbsp; <span style="color: #8000FF;">&#125;</span> <a href="http://www.php.net/%3F%26amp%3Bgt%3CSEMI%3E"><span style="color: #FF0000; font-weight: normal;">?&gt;</span></a> &nbsp;</pre></pre></div><br /> <br /> <br /> Voilà qui devrait en aider plus d'un ^^<br /> <br /> <br /> <span class="success"> Si vous avez des questions, n'hésitez pas à les poser sur<a href="http://easy-design.net/forum/forum-32+documentations-et-dossiers.php"> le forum</a> <img src="http://easy-design.net/images/smileys/smiley_2.gif" alt=":)" class="smiley" /></span><br /> <br /> <br /> <div class="bb_block"><p style="text-align:center">Créé le 25/01/2015, par Swan</p></div> Sun, 25 Jan 2015 17:49:10 +0100 Année 2015 http://easy-design.net/pages/annee-2015 http://easy-design.net/pages/annee-2015 <p class="float_right"><img src="http://easy-design.net/upload/journal_edn_2015.png" alt="" class="valign_" /><div class="bb_block"><p style="text-align:center"><span style="font-size: 25px;"><strong>Le journal d'EDN Année 2015 </strong></span><br /> Mois après mois...</p><br /> </div></p><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <a href="http://easy-design.net/pages/annee-2009">Année 2009</a> | <a href="http://easy-design.net/pages/annee-2010">Année 2010</a> | <a href="http://easy-design.net/pages/annee-2011">Année 2011</a> | <a href="http://easy-design.net/pages/annee-2012">Année 2012</a> <br /> <a href="http://easy-design.net/pages/annee-2013">Année 2013</a> | <a href="http://easy-design.net/pages/annee-2014">Année 2014</a> | <a href="http://easy-design.net/pages/annee-2015">Année 2015</a> <br /> <br /> <h3 class="title2">Mars 2015</h3><br /> <ul class="bb_ul"> <li class="bb_li">[02/03/2015] <strong><span style="color:green;">Création du Site</span></strong> : <a href="http://demo41.easy-design.net/">Démo Thémes PHPBoost V4.1</a> </li><li class="bb_li">[03/03/2015] Maj dans les Tutoriels Extra PBt v4.XX : Facebook et votre site PHPBoost. </li><li class="bb_li">[03/03/2015] Mise à jour des téléchargements dans les <a href="http://easy-design.net/download/category-40+extras-et-autres-phpboost-4-1.php">Extras et Autres PHPBoost 4.1</a> </li><li class="bb_li">[03/03/2015]Portage en <strong>PHPBoost V4.1.X</strong> des menus suivant :<br /> <div class="indent">- <a href="http://easy-design.net/download/download-574+menu-scrollbar-flat.php">[Menu]ScrollBar Flat</a><br /> - <a href="http://easy-design.net/download/download-573+menu-scrollbar-old.php">[Menu] ScrollBar Old</a><br /> </div> </li><li class="bb_li">[03/03/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a> </li><li class="bb_li">[03/03/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a> </li><li class="bb_li">[04/03/2015] Intégration de FontAwesome dans le kernel d'EDN. Nous permettant ainsi d'allèger le site (comme pour le pied de page par exemple). </li><li class="bb_li">[04/03/2015] Modification de pied de mage du site sur EDN. Ajout des icones et chemins pour Facebook, Twitter, Youtube. </li><li class="bb_li">[04/03/2015] Portage de 17 menus de la V3 &amp; V4.0 vers la 4.1.X :<br /> <div class="indent">- <a href="http://easy-design.net/download/download-575+menu-back-link.php">[Menu]BackAuto</a> <br /> - <a href="http://easy-design.net/download/download-576+menu-lastarticles.php">[Menu]LastArticles</a> <br /> - <a href="http://easy-design.net/download/download-577+menu-lastconnect.php">[Menu]LastConnect</a> <br /> - <a href="http://easy-design.net/download/download-578+menu-lastdownload.php">[Menu]LastDownload</a> <br /> - <a href="http://easy-design.net/download/download-579+menu-lastforum.php">[Menu]LastForum</a><br /> - <a href="http://easy-design.net/download/download-580+menu-lastnews.php">[Menu]LastNews</a> <br /> - <a href="http://easy-design.net/download/download-581+menu-lastpages.php">[Menu]LastPages</a> <br /> - <a href="http://easy-design.net/download/download-582+menu-lastwiki.php">[Menu]LastWiki</a><br /> - <a href="http://easy-design.net/download/download-583+menu-messageliste.php">[Menu]MessageList</a> <br /> - <a href="http://easy-design.net/download/download-584+menu-partages.php">[Menu]Partages</a><br /> - <a href="http://easy-design.net/download/download-573+menu-scrollbar-old.php">[Menu]Scrollbar Old</a> <br /> - <a href="http://easy-design.net/download/download-574+menu-scrollbar-flat.php">[Menu]ScrollBar Flat</a> <br /> - <a href="http://easy-design.net/download/download-585+menu-toparticles.php">[Menu]TopArticles</a><br /> - <a href="http://easy-design.net/download/download-586+menu-topdownload.php">[Menu]TopDownload</a><br /> - <a href="http://easy-design.net/download/download-587+menu-toppages.php">[Menu]TopPages</a><br /> - <a href="http://easy-design.net/download/download-588+menu-top10posteurs.php">[Menu]Top10Posteurs</a><br /> - <a href="http://easy-design.net/download/download-589+menu-topwiki.php">[Menu]TopWiki</a><br /> </div> </li><li class="bb_li">[04/03/2015] Ajout du <a href="http://easy-design.net/download/download-590+menu-upthemes.php">[Menu]UpThemes</a> </li><li class="bb_li">[04/03/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a> </li><li class="bb_li">[04/03/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a> </li><li class="bb_li">[05/03/2015] Ajouts des Menus ADBlock pour les trois dernières version de PBT V3, V4.0, V4.1.X<br /> <div class="indent">- <a href="http://easy-design.net/download/download-591+menu-adblock.php">ADBlock V3</a><br /> - <a href="http://easy-design.net/download/download-592+menu-adblock.php">ADBlock V4.0</a><br /> - <a href="http://easy-design.net/download/download-593+menu-adblock.php">ADBlock V4.1.X</a><br /> </div> </li><li class="bb_li">[06/03/2015] Correction du menu LastNews V4.0 : Prise en compte des news en attentes : celles-ci n'apparaissent pas dans le flux. </li><li class="bb_li">[06/03/2015] Correction du menu LastNews V4.1.X : Prise en compte des news en attentes : celles-ci n'apparaissent pas dans le flux. </li><li class="bb_li">[06/03/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a> </li><li class="bb_li">[06/03/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a><br /> </li></ul><br /> <br /> <h3 class="title2">Février 2015</h3><br /> <ul class="bb_ul"> <li class="bb_li">[02/02/2015] Portage du thème Xtrem_Gaming_Blue en PBTV4.1. </li><li class="bb_li">[04/02/2015] Portage du thème Xtrem_Gaming_Red en PBTV4.1. </li><li class="bb_li">[04/02/2015] Mise à jour du mini-module dans la colonne de menu de : "<strong>Projet(s) en cours ...</strong>" </li><li class="bb_li">[04/02/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a> </li><li class="bb_li">[04/02/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a> </li><li class="bb_li">[04/02/2015] Portage du thème Xtrem_Gaming_Bronze en PBTV4.1. </li><li class="bb_li">[06/02/2015] <strong>Ajout d'un thème PBTV4.1</strong> <a href="http://easy-design.net/download/download-567+theme-xtrem-gaming-blue.php">Thème Xtrem_Gaming_Blue</a> par <strong>Swan</strong> dans les ressources Sous Contrib. </li><li class="bb_li">[06/02/2015]<strong> Ajout d'un thème PBTV4.1</strong> <a href="http://easy-design.net/download/download-568+theme-xtrem-gaming-bronze.php">Thème Xtrem_Gaming_Bronze </a>par <strong>Swan</strong> dans les ressources Sous Contrib. </li><li class="bb_li">[06/02/2015] <strong>Ajout d'un thème PBTV4.1</strong> <a href="http://easy-design.net/download/download-569+theme-xtrem-gaming-red.php">Thème Xtrem_Gaming_Red</a> par <strong>Swan</strong> dans les ressources Sous Contrib. </li><li class="bb_li">[06/02/2015] Mise à jour du mini-module dans la colonne de menu de : "<strong>Projet(s) en cours ...</strong>" </li><li class="bb_li">[06/02/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a> </li><li class="bb_li">[06/02/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a> </li><li class="bb_li">[07/02/2015] <strong>Ajout d'un thème PBTV4.1</strong> <a href="http://easy-design.net/download/download-570+theme-shigatsu-wa-kimi-no-uso.php">Théme Shigatsu Wa Kimi_No_Uso</a> par <strong>IzukiDesing</strong> dans les ressources. </li><li class="bb_li">[07/02/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a> </li><li class="bb_li">[07/02/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a> </li><li class="bb_li">[08/02/2015] <strong>Ajout dans les "Extras et Autres PBTV4.1"</strong> <a href="http://easy-design.net/download/download-571+admin-universelle-isukidesign-4-1.php">Admin. universelle IsukiDesign 4.1</a> par <strong>IzukiDesing</strong> dans les ressources. </li><li class="bb_li">[08/02/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a> </li><li class="bb_li">[08/02/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a> </li><li class="bb_li">[08/01/2015] Mise à jour de la page : <a href="http://easy-design.net/pages/contributeurs-donateurs-de-csn"> Contributeurs / Donateurs de EDN</a> </li><li class="bb_li">[08/01/2015] Mise à jour du mini-module dans la colonne de menu de : <strong>Vous soutenez EDN ...</strong> </li><li class="bb_li">[13/02/2015]<strong>Ajout d'un thème PBTV4.1</strong> <a href="http://easy-design.net/download/download-572+theme-valentine-sday-4-1.php">Thème Valentin's Day</a> par <strong>Swan</strong> dans les ressources. </li><li class="bb_li">[13/02/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a> </li><li class="bb_li">[13/02/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a> </li><li class="bb_li">[14/02/2015] <img src="http://easy-design.net/images/smileys/star.gif" alt=":star" class="smiley" /> <img src="http://easy-design.net/images/smileys/love2.gif" alt=":coeur1" class="smiley" /> <img src="http://easy-design.net/images/smileys/star.gif" alt=":star" class="smiley" /> <strong><span style="color:#EF42EF;">Bonne St Valentin à toutes et à tous</span></strong> <img src="http://easy-design.net/images/smileys/star.gif" alt=":star" class="smiley" /> <img src="http://easy-design.net/images/smileys/love2.gif" alt=":coeur1" class="smiley" /> <img src="http://easy-design.net/images/smileys/star.gif" alt=":star" class="smiley" /> </li><li class="bb_li">[14/02/2015] <strong><span style="color:#000080;">Tutoriel: </span></strong> <a href="http://easy-design.net/pages/pbtv4-0-creer-un-numero-app-id-sur-facebook">[PBTV4.0] Créer un numéro App ID sur Facebook </a> par <a href="http://easy-design.net/member/member-1.php">Swan</a> </li><li class="bb_li">[14/02/2015] <strong><span style="color:#000080;">Tutoriel: </span></strong> <a href="http://easy-design.net/pages/pbtv4-1-creer-un-numero-app-id-sur-facebook">[PBTV4.1] Créer un numéro App ID sur Facebook </a> par <a href="http://easy-design.net/member/member-1.php">Swan</a> </li><li class="bb_li">[14/02/2015] <strong><span style="color:#000080;">Tutoriel: </span></strong> <a href="http://easy-design.net/pages/pbtv4-1-facebook-partager-un-sujet-du-forum-sur-votre-page-sans-l-app-id">[PBTV4.1] [Facebook] Partager un sujet du forum sur votre page sans l'App Id </a> par <a href="http://easy-design.net/member/member-841.php">Janus</a> </li><li class="bb_li">[14/02/2015] Mise à jour de la page : <a href="http://easy-design.net/pages/phpboost-v4-xx-les-extras">PHPBoost V4.XX : les extras </a> </li><li class="bb_li">[16/02/2015] <strong><span style="color:#000080;">Tutoriel: </span></strong> <a href="http://easy-design.net/pages/pbtv4-0-facebook-partager-une-news-sur-votre-page">[PBTV4.0][Facebook] Partager une news sur votre page </a> par <a href="http://easy-design.net/member/member-1.php">Swan</a> </li><li class="bb_li">[16/02/2015] <strong><span style="color:#000080;">Tutoriel: </span></strong> <a href="http://easy-design.net/pages/pbtv4-0-facebook-partager-un-sujet-du-forum-sur-votre-page">[PBTV4.0][Facebook] Partager un sujet du forum sur votre page</a> par <a href="http://easy-design.net/member/member-1.php">Swan</a> </li><li class="bb_li">[16/02/2015] <strong><span style="color:#000080;">Tutoriel: </span></strong> <a href="http://easy-design.net/pages/pbtv4-1-facebook-partager-un-sujet-du-forum-sur-votre-page">[PBTV4.1][Facebook] Partager un sujet du forum sur votre page </a> par <a href="http://easy-design.net/member/member-841.php">Janus</a> </li><li class="bb_li">[06/12/2014] Mise à jour de la page : <a href="http://easy-design.net/pages/phpboost-v4-xx-les-extras">PHPBoost V4.XX : les extras </a> </li><li class="bb_li">[16/02/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a> </li><li class="bb_li">[16/02/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a> </li><li class="bb_li">[19/02/2015] <strong><span style="color:#aa0000;">MAJ</span></strong> du <strong><span style="color:#000080;">Tutoriel: </span></strong> <a href="http://easy-design.net/pages/pbtv4-0-facebook-partager-un-sujet-du-forum-sur-votre-page">[PBTV4.0][Facebook] Partager un sujet du forum sur votre page</a> par <a href="http://easy-design.net/member/member-1.php">Swan</a> </li><li class="bb_li">[19/02/2015] <strong><span style="color:#aa0000;">MAJ</span></strong> du <strong><span style="color:#000080;">Tutoriel: </span></strong> <a href="http://easy-design.net/pages/pbtv4-1-facebook-partager-un-sujet-du-forum-sur-votre-page">[PBTV4.1][Facebook] Partager un sujet du forum sur votre page </a> par <a href="http://easy-design.net/member/member-841.php">Janus</a> </li><li class="bb_li">[23/02/2015] <strong><span style="color:#000080;">Tutoriel: </span></strong> <a href="http://easy-design.net/pages/pbtv3-comment-placer-une-video-sur-votre-site-forum">[PBTV3] Comment placer une vidéo sur votre site/forum</a> par <a href="http://easy-design.net/member/member-1.php">Swan</a> </li><li class="bb_li">[23/12/2014] Mise à jour de la page : <a href="http://easy-design.net/pages/phpboost-les-extras">PHPBoost: les extras </a> </li><li class="bb_li">[23/02/2015] Mise à jour de la page : <a href="http://easy-design.net/pages/contributeurs-donateurs-de-csn"> Contributeurs / Donateurs de EDN</a> </li><li class="bb_li">[23/02/2015] Mise à jour du mini-module dans la colonne de menu de : <strong>Vous soutenez EDN ...</strong> </li><li class="bb_li">[23/02/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a> </li><li class="bb_li">[23/02/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a><br /> </li></ul><br /> <br /> <h3 class="title2">Janvier 2015</h3><br /> <ul class="bb_ul"> <li class="bb_li">[01/01/2015] <img src="http://easy-design.net/images/smileys/star.gif" alt=":star" class="smiley" /> <img src="http://easy-design.net/images/smileys/star.gif" alt=":star" class="smiley" /> <img src="http://easy-design.net/images/smileys/star.gif" alt=":star" class="smiley" /><strong> <span style="color:#BB00FF;">Bonne année à toutes et à tous et paix aux hommes et femmes de bonnes volontés.</span> </strong> <img src="http://easy-design.net/images/smileys/star.gif" alt=":star" class="smiley" /> <img src="http://easy-design.net/images/smileys/star.gif" alt=":star" class="smiley" /> <img src="http://easy-design.net/images/smileys/star.gif" alt=":star" class="smiley" /> </li><li class="bb_li">[01/01/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a>. </li><li class="bb_li">[01/01/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a> </li><li class="bb_li">[04/01/2015] Mise à jour de la page : <a href="http://easy-design.net/pages/contributeurs-donateurs-de-csn"> Contributeurs / Donateurs de EDN</a> </li><li class="bb_li">[04/01/2015] Mise à jour du mini-module dans la colonne de menu de : <strong>Vous soutenez EDN ...</strong> </li><li class="bb_li">[04/01/2015] Maj des pages du journal d'Ex CsN - EDN : Indexation des années. </li><li class="bb_li">[04/01/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a>. </li><li class="bb_li">[04/01/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a> </li><li class="bb_li">[17/01/2015] Mise à jour de la page : <a href="http://easy-design.net/pages/contributeurs-donateurs-de-edn"> Contributeurs / Donateurs de EDN</a> </li><li class="bb_li">[17/01/2015] Mise à jour du mini-module dans la colonne de menu de : <strong>Vous soutenez EDN ...</strong> </li><li class="bb_li">[28/01/2015] Mise à jour du mini-module dans la colonne de menu de : "<strong>Projet(s) en cours ...</strong>" <br /> <div class="indent">- [PBTV4.1] Thème Rift<br /> - [PBTV4.1] Thème RiftNightMare<br /> </div> </li><li class="bb_li">[28/01/2015] MAJ de L'<a href="http://easy-design.net/download/download-550+admin-universelle-pbt-4-1.php">Admin. universelle PBT 4.1</a> dans les téléchargements. </li><li class="bb_li">[28/01/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a>. </li><li class="bb_li">[28/01/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a> </li><li class="bb_li">[31/01/2015]<strong> Ajout d'un thème PHPBoost V4.1 </strong>: <a href="http://easy-design.net/download/download-565+theme-rift-4-1.php">Thème Rift 4.1</a> </li><li class="bb_li">[31/01/2015] <strong>Ajout d'un thème PHPBoost V4.1 </strong>: <a href="http://easy-design.net/download/download-566+theme-riftnightmare-4-1.php">Thème RiftNightMare 4.1</a> </li><li class="bb_li">[31/01/2015] Mise à jour du mini-module dans la colonne de menu de : "<strong>Projet(s) en cours ...</strong>" </li><li class="bb_li">[31/01/2015] Mise à jour de la page : <a href="http://easy-design.net/pages/contributeurs-donateurs-de-csn"> Contributeurs / Donateurs de EDN</a> </li><li class="bb_li">[31/01/2015] Mise à jour du mini-module dans la colonne de menu de : <strong>Vous soutenez EDN ...</strong> </li><li class="bb_li">[31/01/2015] Mise à jour de la page <a href="http://www.facebook.com/EasyDesign.Net"><strong><span style="color:blue;">Facebook</span></strong></a>. </li><li class="bb_li">[31/01/2015] Mise à jour de la page <a href="https://twitter.com/#!/EasyDesignNet"><strong><span style="color:#3366FF;">Twitter</span></strong></a><br /> <br /> </li></ul> Sun, 04 Jan 2015 14:03:18 +0100 [PBTV4.1] Créer une page index avec la news épinglée + les flux rss http://easy-design.net/pages/pbtv4-1-creer-une-page-index-avec-la-news-epinglee-les-flux-rss http://easy-design.net/pages/pbtv4-1-creer-une-page-index-avec-la-news-epinglee-les-flux-rss <br /><h4 class="stitle1">Introduction:</h4><br /><br /> <br /> Tout comme le tutoriel fait pour la V3, nous l'avons porté pour ceux utilisant la <strong><span style="color:#AA0000;">Version 4.1</span> de PHPBoost</strong><br /> <br /> <strong>1)</strong> Il est toujours basé sur le module news pour récupérer le css et donc la mise en forme.<br /> <strong>2)</strong> On utilise un fichier php + un fichier edito.tpl <br /> <strong>3)</strong> la suppression des colones de menus gauche &amp; droit. <br /> <div class="indent"><em>* Pour avoir de nouveau les colonnes: commentez les en début de ligne avec deux "slash" = //</em></div><br /> <br /> Par contre par rapport à la version 4.0 elle diffère sur plusieurs point de vu, vu que dans la 4.1 l'édito à été supprimé et remplacé par la possibilité d'épinglé une news en tête des actualités.<br /> <br /> <h3 class="title1">Le visuel </h3><br /> <br /> <div class="bb_block"><br /> <p style="text-align:center"> <a href="http://easy-design.net/upload/pbt4_1_index_edito.jpg" rel=lightbox[roadtrip]> Preview de l'index</a></p><br /> </div><br /> <br /> <h3 class="title2">Commençons ..</h3><br /> <br /> Ouvrez un document texte ou vous allez copier/coller le code ci-dessous, et que vous nommerez "<strong>index.php</strong>". A la racine de votre PBt, le fichier original, sera renommé : "<strong>old-index.php</strong>" ( fichier sauvegardé).<br /> <br /> Si les fonctions RSS ne servent pas il suffit de les commenter, ou de les supprimer du fichier php, et de ne pas les utiliser en tpl.<br /> <br /> <span class="text_code">Code PHP :</span><div class="code"><pre style="display:inline;"><pre class="php" style="font-family:monospace;"><a href="http://www.php.net/%26amp%3Blt%3CSEMI%3E%3Fphp"><span style="color: #FF0000; font-weight: normal;">&lt;?php</span></a> <span style="color: #008000; font-style: italic;">//Licence</span> <span style="color: #008000; font-style: italic;">/*################################################## * index.php * ------------------- * * Date : 04/12/2014 * Auteur: Swan / Saturnin / EDN * Site: http://easy-design.net/ * ################################################### * Index personnalisé pour la 4.1/ 4.1.2 * ATTENTION : Ne pas utiliser pour la 4.0 * [PBTV4.1] Créer une page index avec la news épinglée + les flux rss ###################################################*/</span> &nbsp; define<span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'PATH_TO_ROOT'</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'.'</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <span style="color: #008000; font-style: italic;">//Début du chargement de l'environnement</span> <span style="color: #0000FF; font-weight: bold;">include_once</span><span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'./kernel/init.php'</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #008000; font-style: italic;">// Enlève les deux colonnes de menus gauche &amp; droit. </span> <span style="color: #008000; font-style: italic;">// Pour avoir de nouveau les colonnes: commentez les en début de ligne avec deux &quot;slash&quot; = //</span> define<span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'NO_LEFT_COLUMN'</span><span style="color: #8000FF;">,</span> <span style="color: #0000FF; font-weight: bold;">true</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> define<span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'NO_RIGHT_COLUMN'</span><span style="color: #8000FF;">,</span> <span style="color: #0000FF; font-weight: bold;">true</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #008000; font-style: italic;">//Chargement d'un fichier css, ici le fichier css du module news</span> define<span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'ALTERNATIVE_CSS'</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'news'</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #008000; font-style: italic;">//Titre de la page, ici Accueil</span> define<span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'TITLE'</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'Edito'</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #008000; font-style: italic;">//Chargement de l'environnement ( header )</span> <span style="color: #0000FF; font-weight: bold;">require_once</span><span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'./kernel/header.php'</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #008000; font-style: italic;">//*********************************************</span> &nbsp; <span style="color: #0000FF; font-weight: bold;">function</span> get_home_page<span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span> <span style="color: #8000FF;">&#123;</span> defined<span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'FEED_URL'</span><span style="color: #8000FF;">&#41;</span> <span style="color: #0000FF; font-weight: bold;">or</span> define<span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'FEED_URL'</span><span style="color: #8000FF;">,</span> SyndicationUrlBuilder<span style="color: #8000FF;">::</span><span style="color: #000000;">rss</span><span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'news'</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">rel</span><span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #008000; font-style: italic;">// RSS</span> <span style="color: #000080;">$dw_langs</span> <span style="color: #8000FF;">=</span> <span style="color: #0000FF; font-weight: bold;">array</span><span style="color: #8000FF;">&#40;</span> <span style="color: #808080;">'L_READ'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #000080;">$DOWNLOAD_LANG</span><span style="color: #8000FF;">&#91;</span><span style="color: #808080;">'read_feed'</span><span style="color: #8000FF;">&#93;</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'L_POSTED_ON'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #000080;">$LANG</span><span style="color: #8000FF;">&#91;</span><span style="color: #808080;">'on'</span><span style="color: #8000FF;">&#93;</span> <span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #008000; font-style: italic;">//Mise en variable des flux </span> <span style="color: #000080;">$contents_feed_wiki</span> <span style="color: #8000FF;">=</span> Feed<span style="color: #8000FF;">::</span><span style="color: #000000;">get_parsed</span><span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'wiki'</span><span style="color: #8000FF;">,</span> Feed<span style="color: #8000FF;">::</span><span style="color: #000000;">DEFAULT_FEED_NAME</span><span style="color: #8000FF;">,</span> <span style="color: #FF8000;">1</span><span style="color: #8000FF;">,</span> <span style="color: #0000FF; font-weight: bold;">false</span><span style="color: #8000FF;">,</span> <span style="color: #FF8000;">10</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <span style="color: #000080;">$contents_feed_web</span> <span style="color: #8000FF;">=</span> Feed<span style="color: #8000FF;">::</span><span style="color: #000000;">get_parsed</span><span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'news'</span><span style="color: #8000FF;">,</span> Feed<span style="color: #8000FF;">::</span><span style="color: #000000;">DEFAULT_FEED_NAME</span><span style="color: #8000FF;">,</span> <span style="color: #FF8000;">0</span><span style="color: #8000FF;">,</span> <span style="color: #0000FF; font-weight: bold;">false</span><span style="color: #8000FF;">,</span> <span style="color: #FF8000;">10</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <span style="color: #000080;">$contents_feed_download</span> <span style="color: #8000FF;">=</span> Feed<span style="color: #8000FF;">::</span><span style="color: #000000;">get_parsed</span><span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'download'</span><span style="color: #8000FF;">,</span> Feed<span style="color: #8000FF;">::</span><span style="color: #000000;">DEFAULT_FEED_NAME</span><span style="color: #8000FF;">,</span> <span style="color: #FF8000;">0</span><span style="color: #8000FF;">,</span> <span style="color: #0000FF; font-weight: bold;">false</span><span style="color: #8000FF;">,</span> <span style="color: #FF8000;">10</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #000080;">$tpl</span> <span style="color: #8000FF;">=</span> <span style="color: #0000FF; font-weight: bold;">new</span> FileTemplate<span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'news/edito.tpl'</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #000080;">$result</span> <span style="color: #8000FF;">=</span> PersistenceContext<span style="color: #8000FF;">::</span><span style="color: #000000;">get_querier</span><span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">select</span><span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'SELECT * FROM '</span><span style="color: #8000FF;">.</span> NewsSetup<span style="color: #8000FF;">::</span><span style="color: #000080;">$news_table</span> <span style="color: #8000FF;">.</span><span style="color: #808080;">' news LEFT JOIN '</span><span style="color: #8000FF;">.</span> DB_TABLE_MEMBER <span style="color: #8000FF;">.</span><span style="color: #808080;">' member ON member.user_id = news.author_user_id WHERE (top_list_enabled = 1) ORDER BY '</span> <span style="color: #8000FF;">.</span> <span style="color: #808080;">'creation_date'</span><span style="color: #8000FF;">.</span> <span style="color: #808080;">' '</span> <span style="color: #8000FF;">.</span> <span style="color: #808080;">'ASC'</span> <span style="color: #8000FF;">.</span> <span style="color: #808080;">' LIMIT :number_per_page OFFSET :start_limit'</span><span style="color: #8000FF;">,</span> <span style="color: #0000FF; font-weight: bold;">array</span><span style="color: #8000FF;">&#40;</span> <span style="color: #808080;">'number_per_page'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #FF8000;">1</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'start_limit'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #FF8000;">0</span> <span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <span style="color: #0000FF; font-weight: bold;">while</span><span style="color: #8000FF;">&#40;</span><span style="color: #000080;">$row</span> <span style="color: #8000FF;">=</span> <span style="color: #000080;">$result</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">fetch</span><span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">&#41;</span> <span style="color: #8000FF;">&#123;</span> <span style="color: #000080;">$daten</span> <span style="color: #8000FF;">=</span> <span style="color: #0000FF; font-weight: bold;">new</span> Date<span style="color: #8000FF;">&#40;</span>DATE_TIMESTAMP<span style="color: #8000FF;">,</span> TIMEZONE_SYSTEM<span style="color: #8000FF;">,</span> <span style="color: #000080;">$row</span><span style="color: #8000FF;">&#91;</span>creation_date<span style="color: #8000FF;">&#93;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <span style="color: #000080;">$tpl</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">assign_block_vars</span><span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'DETAIL'</span><span style="color: #8000FF;">,</span> <span style="color: #0000FF; font-weight: bold;">array</span><span style="color: #8000FF;">&#40;</span> <span style="color: #808080;">'TITLE'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #000080;">$row</span><span style="color: #8000FF;">&#91;</span>name<span style="color: #8000FF;">&#93;</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'CONTENT'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #000080;">$row</span><span style="color: #8000FF;">&#91;</span>contents<span style="color: #8000FF;">&#93;</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'NAME'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #000080;">$row</span><span style="color: #8000FF;">&#91;</span>login<span style="color: #8000FF;">&#93;</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'DATE'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #000080;">$daten</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">to_date</span><span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">,</span> <span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <span style="color: #8000FF;">&#125;</span> &nbsp; <span style="color: #008000; font-style: italic;">//Chargement des variables</span> <span style="color: #000080;">$tpl</span> <span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">assign_vars</span><span style="color: #8000FF;">&#40;</span> <span style="color: #0000FF; font-weight: bold;">array</span><span style="color: #8000FF;">&#40;</span> <span style="color: #808080;">'PATH_TO_ROOT'</span> <span style="color: #8000FF;">=&gt;</span> TPL_PATH_TO_ROOT<span style="color: #8000FF;">,</span> <span style="color: #808080;">'THEME'</span> <span style="color: #8000FF;">=&gt;</span> get_utheme<span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'FEED_MENU'</span> <span style="color: #8000FF;">=&gt;</span> Feed<span style="color: #8000FF;">::</span><span style="color: #000000;">get_feed_menu</span><span style="color: #8000FF;">&#40;</span>FEED_URL<span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'feed_web'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #000080;">$contents_feed_web</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'feed_wiki'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #000080;">$contents_feed_wiki</span><span style="color: #8000FF;">,</span> <span style="color: #808080;">'feed_download'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #000080;">$contents_feed_download</span> &nbsp; <span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #0000FF; font-weight: bold;">return</span> <span style="color: #000080;">$tpl</span><span style="color: #8000FF;">-&gt;</span><span style="color: #000000;">display</span><span style="color: #8000FF;">&#40;</span><span style="color: #0000FF; font-weight: bold;">TRUE</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <span style="color: #8000FF;">&#125;</span> <span style="color: #008000; font-style: italic;">// ---------------------------------------------------</span> <span style="color: #0000FF; font-weight: bold;">echo</span> get_home_page<span style="color: #8000FF;">&#40;</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> &nbsp; <span style="color: #0000FF; font-weight: bold;">include_once</span><span style="color: #8000FF;">&#40;</span><span style="color: #808080;">'./kernel/footer.php'</span><span style="color: #8000FF;">&#41;</span><span style="color: #8000FF;">;</span> <a href="http://www.php.net/%3F%26amp%3Bgt%3CSEMI%3E"><span style="color: #FF0000; font-weight: normal;">?&gt;</span></a></pre></pre></div> <br /> <br /> <h3 class="title1">A propos de la news épinglée ou pas ...</h3><br /> <br /> <span class="question"> Et si je veux juste la dernière news de mon site, je fais comment ?</span><br /> <br /> Dans le code si vous ne voulez pas définir cette fameuse news, Vous pourrez commenter la ligne 61 comme ceci :<br /> <br /> <span class="text_code">Code PHP :</span><div class="code"><pre style="display:inline;"><pre class="php" style="font-family:monospace;"><span style="color: #008000; font-style: italic;">//WHERE (top_list_enabled = 1)</span></pre></pre></div><br /> <br /> Vous passerez alors en ordre de trie "ASC" (<em>correspond alors à un tri croissant</em>), donc c'est la dernière news que vous aurez écrite qui s'affichera.<br /> <br /> <span class="question"> Je souhaite juste avoir la news épinglée avec une news supplémentaire, c'est possible ?</span><br /> <br /> Pour avoir les deux l'épinglée et la suppléante, On ne commente pas la ligne 61 (<em>code ci-dessus</em>) et vous modifierez juste la valeur "<strong>1</strong>" par "<strong>2</strong>" de la ligne <strong>65</strong> :<br /> <br /> <span class="text_code">Code PHP :</span><div class="code"><pre style="display:inline;"><pre class="php" style="font-family:monospace;"><span style="color: #808080;">'number_per_page'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #FF8000;">1</span><span style="color: #8000FF;">,</span> </pre></pre></div><br /> <br /> <span class="question">Je veux une news ou plusieurs news, mais sans celle qui est épinglée, je procède comment?</span><br /> <br /> Si vous avez commenté la news épinglée précédemment, vous pouvez aussi jouer sur le nombre de news affichées en modifiant la ligne 65 :<br /> <br /> <span class="text_code">Code PHP :</span><div class="code"><pre style="display:inline;"><pre class="php" style="font-family:monospace;"><span style="color: #808080;">'number_per_page'</span> <span style="color: #8000FF;">=&gt;</span> <span style="color: #FF8000;">1</span><span style="color: #8000FF;">,</span> </pre></pre></div><br /> <br /> La vous avez une news .. essayez 2 ou 3 pour voir et n'oubliez pas de rafraichir vos caches. Normalement vous génèrerez plusieur News .. A vous de jouer <img src="http://easy-design.net/images/smileys/wink.gif" alt=";)" class="smiley" /><br /> <br /> <h3 class="title1">Le fichier edito.tpl</h3><br /> <br /> le Tpl quant à lui est en grande partie basé sur le news.tpl, Il est à placer dans "<strong>../templates/VOTRE_THEME/modules/news/</strong>" sous le nom de "<strong>edito.tpl</strong>".<br /> <br /> Et si vous ne trouvez pas ce cheminement dans votre thème, il vous faudra créer manuellement les dossiers.<br /> <br /> <span class="notice">Pourquoi là et pas à la racine de votre PHPBoost, directement dans le dossier "<strong>templates/news</strong>"? Simplement à cause de future mise à jour que vous pourriez effectuer sur le CMS.</span><br /> <br /> <span class="text_code">Code TPL :</span><div class="code"><pre class="html" style="font-family:monospace;">&nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_position edito&quot;</span>&gt;</span> <span style="color:#9915AF; font-weight: bold;">#</span> <span style="color:#000066; font-weight: bold;">START</span> <span style="color:#8F5211;"></span><span style="color:#FF6600; font-weight: bold;">DETAIL</span> <span style="color:#9915AF; font-weight: bold;">#</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_l&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_r&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_title&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;padding: 5px;&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;./syndication/?url=/rss/news/&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;news&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fa fa-syndication&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> <span style="color:#7F3300;">{</span><span style="color:#8F5211;">DETAIL.</span><span style="color:#FF6600; font-weight: bold;">TITLE</span><span style="color:#7F3300;">}</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;spacer&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_contents&quot;</span>&gt;</span> <span style="color:#7F3300;">{</span><span style="color:#8F5211;">DETAIL.</span><span style="color:#FF6600; font-weight: bold;">CONTENT</span><span style="color:#7F3300;">}</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom_l&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom_r&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color:#9915AF; font-weight: bold;">#</span> <span style="color:#000066; font-weight: bold;">END</span> <span style="color:#8F5211;"></span><span style="color:#FF6600; font-weight: bold;">DETAIL</span> <span style="color:#9915AF; font-weight: bold;">#</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_position&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_l&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_r&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_title&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;./syndication/?url=/rss/news/&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;news&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fa fa-syndication&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> Les actualités du site<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;news_content&quot;</span>&gt;</span> <span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span><span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">feed_web</span><span style="color:#7F3300;">}</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom_l&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom_r&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_position&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_l&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_r&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_title&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;./syndication/?url=/rss/wiki/&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wiki&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fa fa-syndication&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> Derniers articles du Wiki<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;news_content&quot;</span>&gt;</span> <span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span><span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">feed_wiki</span><span style="color:#7F3300;">}</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom_l&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom_r&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;</span> &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_position&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_l&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_r&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_top_title&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;./syndication/?url=/rss/download/&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Téléchargements&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fa fa-syndication&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> Derniers Téléchargements<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;news_content&quot;</span>&gt;</span> <span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span><span style="color:#7F3300;">{</span><span style="color:#FF6600; font-weight: bold;">feed_download</span><span style="color:#7F3300;">}</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom_l&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom_r&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;module_bottom&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> &nbsp;</pre></div><br /> <br /> Pour le code à vous de le personnaliser si vous le désirez <img src="http://easy-design.net/images/smileys/smiley_2.gif" alt=":)" class="smiley" /><br /> <br /> <span class="notice"><strong>Important:</strong><br /> <br /> L'édito n'est pas modifiable par l'administration des news. C'est soit la dernière news qui s'affiche ou celle que vous définirez comme épinglé qui pourra vous servir d'édito. En déduction logique choisissez la première news du cms <img src="http://easy-design.net/images/smileys/wink.gif" alt=";)" class="smiley" /></span><br /> <br /> <br /> <span class="success"> Si vous avez des questions, n'hésitez pas à les poser sur<a href="http://easy-design.net/forum/forum-32+documentations-et-dossiers.php"> le forum</a> <img src="http://easy-design.net/images/smileys/smiley_2.gif" alt=":)" class="smiley" /></span><br /> <br /> <br /> <div class="bb_block"><p style="text-align:center">Créé le 04/12/2014, par Swan &amp; Saturnin</p></div> Thu, 04 Dec 2014 12:00:44 +0100