Squelette par mot clef

j'ai créé un article à l'aide d'un mot "cahiers" affecté à l'article 243 http://www.preuillysurclaise.fr/spip.php?article243 avec le plugins Squelette par mot clef <http://www.preuillysurclaise.fr/ecrire/?exec=admin_plugin&plug=squelettes_par_mots_cle_1_92>

avec le code suivant sur le fichier article-cahiers.html. Je l'ai testé en local avec la version 2.010 de spip en local (sans plugins) cela fonctionne correctement en ligne avec la version 1.92i cela ne fonctionne pas. Pouvez me dire la raison ?

<div>
     <form name="redacteurs_cahiers" action="#SELF" method="post">
    <select name="redacteur" size="1">
    <option value="0">Choisir un auteur</option>
    <BOUCLE_aut(REDACTEURS){redacteur}>
    [<option [value="(#REDACTEUR)"]>(#REDACTEUR)</option>]
    </BOUCLE_aut>
    </select>
    <input type="submit" value="OK">
    </form>
   
          <tr>
        <th><strong> N° du cahier</strong></th><th><strong>n° de la page</strong></th>
        </th><th><strong>année</strong></th><th><strong>titre de l'article</strong>
        </th><th><strong>redacteur</strong></th><th><strong>Chapitre</strong></th>
        <th><strong>lieu</strong></th>
        </tr>
       <BOUCLE_auteur(CAHIERS){redacteur}>
          <tr>
        <td>[(#CAHIER)]</td>
        <td>[(#PAGE)]</td>
        <td>[(#AN)]</td>
        <td>[(#TITRE)]</td>
        <td>[(#REDACTEUR)]</td>
        <td>[(#CHAPITRE)]</td>
        <td>[(#LIEU)]</td>
        </tr>
    </BOUCLE_auteur>
    </table>
    </div>
        <div>
     <form name="cahiers" action="#SELF" method="post">
    <select name="lieu" size="1">
    <option value="0">Choisir une commune</option>
    <BOUCLE_lieu(LIEUX){lieu}>
    [<option [value="(#LIEU)"]>(#LIEU)</option>]
    </BOUCLE_lieu>
    </select>
    <input type="submit" value="OK">
    </form>
   
          <tr>
        <th><strong> N° du cahier</strong></th><th><strong>n° de la page</strong></th>
        </th><th><strong>année</strong></th><th><strong>titre de l'article</strong>
        </th><th><strong>redacteur</strong></th><th><strong>Chapitre</strong></th>
        <th><strong>lieu</strong></th>
        </tr>
       <BOUCLE_lieux(CAHIERS){lieu}>
          <tr>
        <td>[(#CAHIER)]</td>
        <td>[(#PAGE)]</td>
        <td>[(#AN)]</td>
        <td>[(#TITRE)]</td>
        <td>[(#REDACTEUR)]</td>
        <td>[(#CHAPITRE)]</td>
        <td>[(#LIEU)]</td>
        </tr>
    </BOUCLE_lieux>
    </table>
    </div>
       <div>
    <form name="chapitre_cahiers" action="#SELF" method="post">
    <select name="chapitre" size="1">
    <option value="0">Choisir un Chapitre</option>
    <BOUCLE_chap(CHAPITRES){chapitre}>
    [<option [value="(#CHAPITRE)"]>(#CHAPITRE)</option>]
    </BOUCLE_chap>
    </select>
    <input type="submit" value="OK">
    </form>
   
          <tr>
        <th><strong> N° du cahier</strong></th><th><strong>n° de la page</strong></th>
        </th><th><strong>année</strong></th><th><strong>titre de l'article</strong>
        </th><th><strong>redacteur</strong></th><th><strong>Chapitre</strong></th>
        <th><strong>lieu</strong></th>
        </tr>
       <BOUCLE_chapitre(CAHIERS){chapitre}>
          <tr>
        <td>[(#CAHIER)]</td>
        <td>[(#PAGE)]</td>
        <td>[(#AN)]</td>
        <td>[(#TITRE)]</td>
        <td>[(#REDACTEUR)]</td>
        <td>[(#CHAPITRE)]</td>
        <td>[(#LIEU)]</td>
        </tr>
    </BOUCLE_chapitre>
    </table>
    </div>

Je me réponds à moi même car je n'ai pas eu de réponse sur ma requête sur l'utilisation des mots cé pour personnaliser un article avec des formulaires et les balises spip. Ne cherchez plus j'ai trouvé la solution : mettre en place des tables correctes et un select qui m'avait semblait inutile. Par contre si quelqu'un cherche un modèle pour faire une liste déroulante utilisant les balises spip je vous conseille de vous servir du plugins meteo comme modèle, il y un formulaire super.
Je n'ai pas perdu mon temps sur le forum car j'ai pu picorer des infos comme le conseil que je cherchais depuis longtemps pour masquer une rubrique et aussi le moyen de mettre en place des articles personnalisés à l'aide de modèle. Je n'ai pas tout compris comment utiliser ces modèles mais je vais m'y plonger.

info@preuillysurclaise a écrit :

j'ai créé un article à l'aide d'un mot "cahiers" affecté à l'article 243 http://www.preuillysurclaise.fr/spip.php?article243 avec le plugins Squelette par mot clef <http://www.preuillysurclaise.fr/ecrire/?exec=admin_plugin&plug=squelettes_par_mots_cle_1_92&gt;

avec le code suivant sur le fichier article-cahiers.html. Je l'ai testé en local avec la version 2.010 de spip en local (sans plugins) cela fonctionne correctement en ligne avec la version 1.92i cela ne fonctionne pas. Pouvez me dire la raison ?

<div>
    <form name="redacteurs_cahiers" action="#SELF" method="post">
   <select name="redacteur" size="1">
   <option value="0">Choisir un auteur</option>
   <BOUCLE_aut(REDACTEURS){redacteur}>
   [<option [value="(#REDACTEUR)"]>(#REDACTEUR)</option>]
   </BOUCLE_aut>
   </select>
   <input type="submit" value="OK">
   </form>
       <table>
         <tr>
       <th><strong> N° du cahier</strong></th><th><strong>n° de la page</strong></th>
       </th><th><strong>année</strong></th><th><strong>titre de l'article</strong>
       </th><th><strong>redacteur</strong></th><th><strong>Chapitre</strong></th>

       <th><strong>lieu</strong></th>
       </tr>
     <BOUCLE_auteur(CAHIERS){redacteur}>
         <tr>
       <td>[(#CAHIER)]</td>
       <td>[(#PAGE)]</td>
       <td>[(#AN)]</td>
       <td>[(#TITRE)]</td>
       <td>[(#REDACTEUR)]</td>
       <td>[(#CHAPITRE)]</td>
       <td>[(#LIEU)]</td>
       </tr>
   </BOUCLE_auteur>
   </table>
   </div>
      <div>
    <form name="cahiers" action="#SELF" method="post">
   <select name="lieu" size="1">
   <option value="0">Choisir une commune</option>
   <BOUCLE_lieu(LIEUX){lieu}>
   [<option [value="(#LIEU)"]>(#LIEU)</option>]
   </BOUCLE_lieu>
   </select>
   <input type="submit" value="OK">
   </form>
       <table>
         <tr>
       <th><strong> N° du cahier</strong></th><th><strong>n° de la page</strong></th>
       </th><th><strong>année</strong></th><th><strong>titre de l'article</strong>
       </th><th><strong>redacteur</strong></th><th><strong>Chapitre</strong></th>

       <th><strong>lieu</strong></th>
       </tr>
     <BOUCLE_lieux(CAHIERS){lieu}>
         <tr>
       <td>[(#CAHIER)]</td>
       <td>[(#PAGE)]</td>
       <td>[(#AN)]</td>
       <td>[(#TITRE)]</td>
       <td>[(#REDACTEUR)]</td>
       <td>[(#CHAPITRE)]</td>
       <td>[(#LIEU)]</td>
       </tr>
   </BOUCLE_lieux>
   </table>
   </div>
     <div>
   <form name="chapitre_cahiers" action="#SELF" method="post">
   <select name="chapitre" size="1">
   <option value="0">Choisir un Chapitre</option>
   <BOUCLE_chap(CHAPITRES){chapitre}>
   [<option [value="(#CHAPITRE)"]>(#CHAPITRE)</option>]
   </BOUCLE_chap>
   </select>
   <input type="submit" value="OK">
   </form>
       <table>
         <tr>
       <th><strong> N° du cahier</strong></th><th><strong>n° de la page</strong></th>
       </th><th><strong>année</strong></th><th><strong>titre de l'article</strong>
       </th><th><strong>redacteur</strong></th><th><strong>Chapitre</strong></th>

       <th><strong>lieu</strong></th>
       </tr>
     <BOUCLE_chapitre(CAHIERS){chapitre}>
         <tr>
       <td>[(#CAHIER)]</td>
       <td>[(#PAGE)]</td>
       <td>[(#AN)]</td>
       <td>[(#TITRE)]</td>
       <td>[(#REDACTEUR)]</td>
       <td>[(#CHAPITRE)]</td>
       <td>[(#LIEU)]</td>
       </tr>
   </BOUCLE_chapitre>
   </table>
   </div>

_______________________________________________
liste spip
spip@rezo.net - désabonnement : envoyer un mail à spip-off@rezo.net

Infos et archives : http://listes.rezo.net/mailman/listinfo/spip
Discuter chez rezo.net

Documentation de SPIP : http://www.spip.net/

Irc : de l'aide à toute heure : http://spip.net/irc