[Typo3] kickstarter ext, formating problem

Piotr Burda pburda at narty.pl
Tue Sep 13 10:51:37 CEST 2005


I`ve made a simple extension with kickstarter, it works fine.
but i`ve problem with formating it in list view,
the code is here
  */
         function pi_list_row($c)        {
                 $editPanel = $this->pi_getEditPanel();
                 if ($editPanel) 
$editPanel='<TD>'.$editPanel.'</TD>';

                 return '<tr'.($c%2 ? 
$this->pi_classParam('listrow-odd') : '').'>
                                 <td class="map24_text 
map24_padding">'.$this->getFieldContent('name').'<br /></td>
                         </tr>
<tr'.($c%2 ? $this->pi_classParam('listrow-odd') : '').'>
                                 <td class="map24_text 
map24_padding">'.$this->getFieldContent('street').'<br /></td>
                         </tr>
<tr'.($c%2 ? $this->pi_classParam('listrow-odd') : '').'>
                                 <td class="map24_text 
map24_padding">'.$this->getFieldContent('town_zip').'</td>
                         </tr>';
         }
         /**
          * [Put your description here]
          */
         function pi_list_header()        {
                 return '<tr'.$this->pi_classParam('listrow-header').'>
                                 <td class="map24_text map24_padding" 
bgcolor="#EDEFF1">    <b>Ważne adresy</b></td>
                         </tr>';
         }


i can`t find the <table> and </table> in this code so i can`t format the 
table with css, where is the code responsable for rendering the 
beginning of the table?

Piotr



More information about the TYPO3-english mailing list