[TYPO3-templavoila] fce and mapping for repeat rows - not reading table tag

Cate & Peter catepeter at optusnet.com.au
Tue Jun 27 05:10:16 CEST 2006


Hi all

I am trying to map a FCE  for a content area where the html is...

  <div><!—content area-->
   <p>section title</p>

<div><table width="100%"  border="0" class= "datatable"><!--statistical
content-->
  <tr>
    <td width="25%">Question</td>
    <td width="75%">Answer</td>
  </tr>
</table></div>
    
</div>  <!--end of theme block-->

But I cant get the table tag to be read. Obviously the <div><table>
combination is unusual, but I have tried a number of combinations, including
inner, outer, mapping to the div tag, mapping straight to the table, and of
course clearing cache all the time. Instead it is being rendered...

<!--  CONTENT ELEMENT, uid:519/templavoila_pi1 [begin] -->
                                <a id="c519"></a><!--theme block-->
   <p>General Information</p><!--theme title-->

 <div><tr>
    <td width="25%">Flag:</td>
    <td width="75%"><p class="bodytext">insert image</p></td>
  </tr><tr>
    <td width="25%">Total Population:</td>
    <td width="75%"><p class="bodytext">number</p></td>
  </tr><tr>
    <td width="25%">Ethnic Composition:</td>
    <td width="75%"><p class="bodytext">info</p></td>
  </tr><tr>
    <td width="25%">Official Languages:</td>
    <td width="75%"><p class="bodytext">languages</p></td>
  </tr><tr>
    <td width="25%">Languages Used in Community:</td>
    <td width="75%"><p class="bodytext">Languages</p></td>
  </tr></div>
    
                <!--  CONTENT ELEMENT, uid:519/templavoila_pi1 [end] -->

This is the current mapping, that produces the above html...

Data Element:|Field:||HTML-path:||Rules:|
ROOT|ROOT||INNER||(ALL)|
Section Name|field_sectionname||INNER||*:inner|
Section Container|field_do_sectioncontainer||||(ALL)|
Q&A|field_do_datatable||||(ALL)|
Question|field_question||INNER||*:inner|
Answer|field_answer||INNER||*:inner|


What am I missing?

Thank for new eyes :)
Cate





More information about the TYPO3-project-templavoila mailing list