<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Fix — Forum de PluXml</title>
        <link>https://forum.pluxml.org/index.php?p=/</link>
        <pubDate>Tue, 07 Apr 2026 03:34:40 +0000</pubDate>
        <language>fr</language>
            <description>Fix — Forum de PluXml</description>
    <atom:link href="https://forum.pluxml.org/index.php?p=/discussions/tagged/fix/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>[solution 5.8.x] admin article.php : erreur de toggles chapo &amp; tag toujours fermés au démarrage</title>
        <link>https://forum.pluxml.org/index.php?p=/discussion/6660/solution-5-8-x-admin-article-php-erreur-de-toggles-chapo-tag-toujours-fermes-au-demarrage</link>
        <pubDate>Wed, 04 Mar 2020 14:15:44 +0000</pubDate>
        <category>Annonces officielles</category>
        <dc:creator>Sudwebdesign</dc:creator>
        <guid isPermaLink="false">6660@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Bonjour a tou(te)s,</p><p>Merci aux &eacute;quipes, superbe surprise il est en 5.8.2 et il tourne bien.</p><p>Lorsque l&#39;on &eacute;dite un article, il y a une l&eacute;g&egrave;re r&eacute;gression au niveau des bascules (toggles) pour Chap&ocirc; et Mot-cl&eacute;s.</p><p>Dans les moutures pr&eacute;c&eacute;dentes (..., 5.6, 5.7) si le chap&ocirc; a du texte, il s&#39;affiche, maintenant (5.8.x) non, il sont toujours masqu&eacute;s (en fait depuis le 28 avril 2019, <a href="https://github.com/pluxml/PluXml/commit/e6619f443ed8f46862e04b35ad84c7bb492560e9#diff-686f5e67e441e9c02dee91d2d0ad1a73L336" rel="nofollow">#207 Afficher/masquer le chapeau et les tags d&#39;un article en CSS3</a>).</p><p>Comme la <a href="https://forum.pluxml.org/discussion/comment/59906/#Comment_59906" rel="nofollow">remarqu&eacute; Bazooka07</a> l&#39;attribut unchecked est inexistant en html, les erreurs sont l&agrave;*.</p><h4>Solution pour que cela tombe en marche :</h4><h4>[fichier : core/admin/article.php]</h4><p><em>Il suffit de remplacer les deux </em><strong><em>&#39; unchecked&#39;</em></strong><em> :</em></p><pre spellcheck="false">&lt;?php echo (empty($_GET[&#39;a&#39;]) || ! empty(trim($chapo))) ? &#39; unchecked&#39; : &#39;&#39;; ?&gt;
</pre><p>&middot;&middot;&middot;</p><pre spellcheck="false">&lt;?php echo (empty($_GET[&#39;a&#39;]) || ! empty(trim($tags))) ? &#39; unchecked&#39; : &#39;&#39;; ?&gt;  
</pre><p><br /></p><p><em>par </em><strong><em>&#39; checked&#39;</em></strong><em> :</em></p><pre spellcheck="false">&lt;?php echo (empty($_GET[&#39;a&#39;]) || ! empty(trim($chapo))) ? &#39; checked&#39; : &#39;&#39;; ?&gt;
</pre><p>&middot;&middot;&middot;</p><pre spellcheck="false">&lt;?php echo (empty($_GET[&#39;a&#39;]) || ! empty(trim($tags))) ? &#39; checked&#39; : &#39;&#39;; ?&gt;
</pre><p><br /></p><p><a href="https://github.com/pluxml/PluXml/pull/384/commits/ac907ea92d1c29c74d2f09983633317c29bdbe38" rel="nofollow"><strong>Voir le PR #384 </strong></a></p><p><br /></p><p>Un grand merci <a data-username="bazooka07" data-userid="19243" rel="nofollow" href="https://forum.pluxml.org/index.php?p=/profile/bazooka07">@bazooka07</a> car; comme pr&eacute;vus par le sieur; (et avec les correctifs), <strong><em>le chap&ocirc; est ouvert pour un nouvel article</em></strong> 🤩 et a l&#39;ancienne lorsque le chap&ocirc; est peupl&eacute; (idem pour les tags).</p><p>Ps : La m&eacute;thode employ&eacute; me rappelle beaucoup celle du menu admin en mode mobile.</p><p>Ps&sup2; : <a href="https://github.com/pluxml/PluXml/commit/03860725f49f9be44c56d68b91d4270c9c98e30f#diff-686f5e67e441e9c02dee91d2d0ad1a73R505" rel="nofollow">Mea-culpa, c&#39;est pass&eacute; a l&#39;as &agrave; l&#39;&eacute;poque</a> 😯</p><p><br /></p><p>*L&rsquo;attribut attendu ici est <em>checked</em> et comme il est absent;<em> AMHA, remplac&eacute; par unchecked pour test</em>; les &eacute;l&eacute;ment cens&eacute;s &ecirc;tre ouvert ne le sont pas, car pour qu&#39;une case &agrave; cocher soit d&eacute;coch&eacute; il suffit d&#39;omettre <a href="denied:unsafe:www.w3schools.com/tags/att_input_checked.asp" rel="nofollow">checked</a> 😉</p>]]>
        </description>
    </item>
   </channel>
</rss>
