[Typo3] Diplay many pictures with type "select"

Cyril Wolfangel c.wolfangel at mediaviz.fr
Fri Apr 22 16:37:42 CEST 2005


Hi everybody,

I'm working on an extention and its came to the end but i still got a 
little problem :

For exemple, i need to display some little flags, to show langages 
talking in a hotel.

I've got this in my tca.php

  "langues" => Array (
  "label" => "LLL:EXT:lang/locallang_general.php:LGL.langues",
  "config" => Array (
                        'type' => 'select',
                        'maxitems' => 5,
                        'renderMode' => 'checkbox',
                        'items' => Array (
                  Array('Français', '&nbsp;<img 
src="http://www.monsite.org/t3lib/gfx/flags/fr.gif">','/flags/fr.gif'),
                  Array('Anglais', '&nbsp;<img 
src="http://www.monsite.org/t3lib/gfx/flags/gb.gif">','/flags/gb.gif'),
                  Array('Italien', ' &nbsp;<img 
src="http://www.monsite.org/t3lib/gfx/flags/it.gif">','/flags/it.gif'),
                  Array('Allemand', '&nbsp; <img 
src="http://www.monsite.org/t3lib/gfx/flags/de.gif">','/flags/de.gif'),
                   ),

               'default' => 0

           )
),

I can check several flags and they  apears well, but with a coma between 
them! /
How to hide this coma ?/

I'm not sur my method is yhe good one ( with &nbsp;<img 
src="http://www.monsite.org/t3lib/gfx/flags/fr.gif as value ) to make 
search on this table.
/Do you know other methods to display pictures, with value like " 
french, english, spanish ") ?
/
Thanks and sorry for my english.




More information about the TYPO3-english mailing list