[TYPO3] HELP: FE User registration and Extra Checkboxes >>>> for second time asking, any help please

Aji Johannes aji.yahya at gmail.com
Tue May 8 15:42:11 CEST 2007


Hello List,
sorry for posting the mail again but im realy need your help :(
-----------------------------------------------------------------------------
i add new checkboxes to FE User Registration, but it seem doesnt work fine.
i do this steps:
in ext_tables.php:

'interessen' => Array (
             'exclude' => 0,
             'label' => 
'LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.interessen',
             'config' => Array (
                 'type' => 'check',
                 'items' => Array (
 
Array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.interessen.I.0', 
'0'),
 
Array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.interessen.I.1', 
'1'),
 
Array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.interessen.I.2', 
'2'),
 
Array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.interessen.I.3', 
'3'),
 
Array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.interessen.I.4', 
'4'),
 
Array('LLL:EXT:sr_feuser_register/locallang_db.xml:fe_users.interessen.I.5', 
'5'),
                 ),
             )
         ),


in locallang.xml & locallang_db.xml
i add this field:

	<label index="interessen">Interessen</label>
             <label index="interessen.I.1">Produkt 1</label>
             <label index="interessen.I.2">Produkt 2</label>
             <label index="interessen.I.3">Produkt 3</label>
             <label index="interessen.I.4">Produkt 4</label>
             <label index="interessen.I.5">Produkt 5</label>
         <label index="interessen.I.0">Produkt 6</label>
             <label index="missing_interessen">Bitte wählen Sie ein 
Produkt</label>

in my Template:
<!-- ###SUB_INCLUDED_FIELD_interessen### -->
         ###LABEL_INTERESSEN### ###REQUIRED_INTERESSEN###
         ###TCA_INPUT_interessen###
<!-- ###SUB_INCLUDED_FIELD_interessen### -->
         <!-- ###SUB_ERROR_FIELD_interessen### -->
         ###EVAL_ERROR_FIELD_interessen###<br>
         <!-- ###SUB_ERROR_FIELD_interessen### -->
         <!-- ###SUB_REQUIRED_FIELD_interessen### -->
         ###MISSING_INTERESSEN###<br>
         <!-- ###SUB_REQUIRED_FIELD_interessen### -->

Template Constants:

plugin.tx_srfeuserregister_pi1.formFields = 
gender,password,password_repeat,first_name, 
last_name,company,address,city,zip,country,telephone,email,interessen
plugin.tx_srfeuserregister_pi1.requiredFields = 
gender,password,first_name, last_name,company,email,interessen

setup.txt
create ....
evalValues ...
....
interessen =
---------------------------------

in BE i have the checkboxes and if i check it, this will saveed too.
in FE i have it too, but the LABEL_INTERESSEN cannt be readed from 
locallang.xml and when i check some boxed after submit the ERROR was 
diplaying as ###MISSING_INTERESSEN###
checkboxes will be not selected again. [it is already using Multiple 
Chechboxes]

help me please????????????????


thank you
Regards
Johannes


More information about the TYPO3-english mailing list