[TYPO3-UG France] Rép. : fce + liens

Kevin Belanger kevin.belanger at fadq.qc.ca
Thu Jul 27 13:21:15 CEST 2006


J'ai trouvé la solution !!

dans le XML de mon FCE il y avait un bout de code typoscript à ajouter pour que la transformation des liens se fasse...

Voici le code avant...

<T3DataStructure>
    <meta type="array">
        <langChildren type="integer">1</langChildren>
        <langDisable type="integer">1</langDisable>
    </meta>
    <ROOT type="array">
        <tx_templavoila type="array">
            <title>ROOT</title>
            <description>Select the HTML element on the page which you want to be the overall container element for the template.</description>
        </tx_templavoila>
        <type>array</type>
        <el type="array">
            <contenu type="array">
                <tx_templavoila type="array">
                    <title>Contenu</title>
                    <sample_data type="array">
                        <numIndex index="0"></numIndex>
                    </sample_data>
                    <eType>text</eType>
                    <proc type="array">
                        <HSC type="integer">0</HSC>
                    </proc>
                </tx_templavoila>
                <TCEforms type="array">
                    <config type="array">
                        <type>text</type>
                        <cols>48</cols>
                        <rows>5</rows>
                    </config>
                    <label>Contenu</label>
                    <defaultExtras>richtext[*]:rte_transform[mode=ts_css]</defaultExtras>
                </TCEforms>
            </contenu>
        </el>
    </ROOT>
</T3DataStructure>

et voici le code après

<T3DataStructure>
    <meta type="array">
        <langChildren type="integer">1</langChildren>
        <langDisable type="integer">1</langDisable>
    </meta>
    <ROOT type="array">
        <tx_templavoila type="array">
            <title>ROOT</title>
            <description>Select the HTML element on the page which you want to be the overall container element for the template.</description>
        </tx_templavoila>
        <type>array</type>
        <el type="array">
            <contenu type="array">
                <tx_templavoila type="array">
                    <title>Contenu</title>
                    <sample_data type="array">
                        <numIndex index="0"></numIndex>
                    </sample_data>
                    <eType>text</eType>
                    <TypoScript>
                         <![CDATA[
                             10 = TEXT
                             10.current = 1
                             10.parseFunc = < lib.parseFunc_RTE
                          ]]>
                    </TypoScript>
                    <proc type="array">
                        <HSC type="integer">0</HSC>
                    </proc>
                </tx_templavoila>
                <TCEforms type="array">
                    <config type="array">
                        <type>text</type>
                        <cols>48</cols>
                        <rows>5</rows>
                    </config>
                    <label>Contenu</label>
                    <defaultExtras>richtext[*]:rte_transform[mode=ts_css]</defaultExtras>
                </TCEforms>
            </contenu>
        </el>
    </ROOT>
</T3DataStructure>

Kévin Bélanger
Technicien en informatique
La Financière Agricole du Québec
838-5614 Poste 6197



More information about the TYPO3-france mailing list