[TYPO3-templavoila] Limitation of allowed characters in Typoscript inside a DS

Ådne Hovda aadne at hovda.no
Thu Mar 23 20:21:44 CET 2006


Hi

Is there any specific reason why TV does not render my DS-internal 
ts-object if it contains characters like "<" or "&" and possibly others. 
I'm trying to build a menu of records referenced by a flexform, and 
display it along with those records.

Here is a relevant part of my DS:

<field_tabbar type="array">
   <tx_templavoila type="array">
     <title>Buttons</title>
     <sample_data type="array">
       <numIndex index="0"></numIndex>
     </sample_data>
     <eType>none</eType>
     <TypoScript>
     10 = COA
     10 {
       wrap = <ul id="tabbar">|</ul>
       10 = RECORDS
       10 {
         wrap = <li><a>|</li></>
         source.field = field_tabone
         tables = tt_content
         conf.tt_content = TEXT
         conf.tt_content.field = header
       }
       20 < .10
       20.source.field = field_tabtwo
       30 < .10
       30.source.field = field_tabthree
     }
     </TypoScript>
   </tx_templavoila>
</field_tabbar>


The strange thing is that this code sort of works, but is unusable since 
I can't insert the html-tags:


<field_tabbar type="array">
   <tx_templavoila type="array">
     <title>Tabbar</title>
     <sample_data type="array">
       <numIndex index="0"></numIndex>
     </sample_data>
     <eType>none</eType>
     <TypoScript>
     10 = COA
     10 {
       10 = RECORDS
       10 {
         source.field = field_tabone
         tables = tt_content
         conf.tt_content = TEXT
         conf.tt_content.field = header
       }
       20 = RECORDS
       20 {
         source.field = field_tabtwo
         tables = tt_content
         conf.tt_content = TEXT
         conf.tt_content.field = header
       }
       30 = RECORDS
       30 {
         source.field = field_tabthree
         tables = tt_content
         conf.tt_content = TEXT
         conf.tt_content.field = header
       }
     }
     </TypoScript>
   </tx_templavoila>
</field_tabbar>


Greetings, Ådne



More information about the TYPO3-project-templavoila mailing list