[TYPO3-UG France] Extensions flexform

DUCREUX Thierry thierry.ducreux at cndp.fr
Wed Mar 28 17:35:30 CEST 2012


Bonjour

Pour une extension, n'arrivant pas dans le flexfom à fixer un maximum d'élément dans une <section>, je voudrais ajouter en haut de la section un commentaire « Seuls les 5 premiers éléments seront affichés ».

Pouvez-vous m'aider svp ?

Peut-on ajouter entre deux éléments (par exemple entre <titre> et <urls>) un texte ?

Merci

Thierry

<T3DataStructure>
    <sheets>
                <Configuration>
                    <ROOT>
                               <type>array</type>
                               <el>
                                   <titre>
                                               <TCEforms>
                                                   <label>Titre du bloc</label>
                                                   <config>
                                                               <type>input</type>
                                                               <size>125</size>
                                                               <default></default>
                                                               <eval>trim,required</eval>
                                                   </config>
                                               </TCEforms>
                                   </titre>

                                   <urls>
                                               <section>1</section>
                                               <type>array</type>
                                               <el>
                                                   <uneurl>
                                                               <type>array</type>
                                                                   <tx_templavoila>
                                                                              <title>Liens Internes</title>
                                                                   </tx_templavoila>
                                                                   <el>
                                                                              <libelle>
                                                                                  <TCEforms>
                                                                                              <label>Libellé du lien</label>
                                                                                              <config>
                                                                                                  <type>input</type>
                                                                                                  <size>125</size>
                                                                                                  <eval>trim,required</eval>
                                                                                              </config>
                                                                                  </TCEforms>
                                                                              </libelle>

                                                                              <url>
                                                                                  <TCEforms>
                                                                                              <label>Url interne</label>
                                                                                              <config>
                                                                                                  <type>input</type>
                                                                                                  <size>20</size>
                                                                                                  <wizards type="array">
                                                                                                              <_PADDING>2</_PADDING>
                                                                                                              <link type="array">
                                                                                                                  <type>popup</type>
                                                                                                                  <title>Url interne</title>
                                                                                                                  <icon>link_popup.gif</icon>
                                                                                                                  <script>browse_links.php?mode=wizard</script>
                                                                                                                  <params>
                                                                                                                              <blindLinkOptions>file,folder,url,mail,spec,news</blindLinkOptions>
                                                                                                                  </params>
                                                                                                                  <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
                                                                                                              </link>
                                                                                                  </wizards>
                                                                                              </config>
                                                                                  </TCEforms>
                                                                      </url>

                                                                              <image>
                                                                                  <TCEforms>
                                                                                              <label>Illustration</label>
                                                                                              <config>
                                                                                                  <type>group</type>
                                                                                                  <internal_type>file_reference</internal_type>
                                                                                                  <allowed>jpg,bmp,png</allowed>
                                                                                                  <max_size>1000</max_size>
                                                                                                  <uploadfolder>fileadmin</uploadfolder>
                                                                                                  <maxitems>1</maxitems>
                                                                                                  <size>1</size>
                                                                                                  <show_thumbs>0</show_thumbs>
                                                                                                  <selectedListStyle>Width:180px</selectedListStyle>
                                                                                              </config>
                                                                                  </TCEforms>
                                                                              </image>
                                                                   </el>
                                                   </uneurl>
                                               </el>
                                   </urls>

                               </el>
                    </ROOT>
                </Configuration>
    </sheets>
</T3DataStructure>


More information about the TYPO3-france mailing list