[TYPO3-UG Italy] Ancora su T3Registration

Rino Razzi razzi at archicoop.it
Thu Apr 12 11:21:25 CEST 2012


On 12/04/2012 10.47, Federico Bernardin wrote:
> Ciao Rino, come sono i nuovi campi, copia la TCA nella mail.
>
> Ciao
> Federico

Ecco:

*ext_tables.php* |
<?php
if (!defined('TYPO3_MODE')) {
     die ('Access denied.');
}
$tempColumns = array (
'tx_feusersextrafieldspegaso_state' => array (
'exclude' => 0,
'label' => 
'LLL:EXT:feusersextrafieldspegaso/locallang_db.xml:fe_users.tx_feusersextrafieldspegaso_state', 

'config' => array (
'type' => 'input',
'size' => '30',
'max' => '30',
'eval' => 'alphanum,nospace',
         )
     ),
'tx_feusersextrafieldspegaso_birthdate' => array (
'exclude' => 0,
'label' => 
'LLL:EXT:feusersextrafieldspegaso/locallang_db.xml:fe_users.tx_feusersextrafieldspegaso_birthdate', 

'config' => array (
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'checkbox' => '0',
'default' => '0'
)
     ),
'tx_feusersextrafieldspegaso_birthplace' => array (
'exclude' => 0,
'label' => 
'LLL:EXT:feusersextrafieldspegaso/locallang_db.xml:fe_users.tx_feusersextrafieldspegaso_birthplace', 

'config' => array (
'type' => 'input',
'size' => '30',
'max' => '30',
'eval' => 'alphanum,nospace',
         )
     ),
'tx_feusersextrafieldspegaso_fiscalcode' => array (
'exclude' => 0,
'label' => 
'LLL:EXT:feusersextrafieldspegaso/locallang_db.xml:fe_users.tx_feusersextrafieldspegaso_fiscalcode', 

'config' => array (
'type' => 'input',
'size' => '16',
'max' => '16',
'eval' => 'alphanum,nospace',
         )
     ),
'tx_feusersextrafieldspegaso_operativeunit' => array (
'exclude' => 0,
'label' => 
'LLL:EXT:feusersextrafieldspegaso/locallang_db.xml:fe_users.tx_feusersextrafieldspegaso_operativeunit', 

'config' => array (
'type' => 'input',
'size' => '48',
'max' => '50',
'eval' => 'nospace',
         )
     ),
'tx_feusersextrafieldspegaso_qualification' => array (
'exclude' => 0,
'label' => 
'LLL:EXT:feusersextrafieldspegaso/locallang_db.xml:fe_users.tx_feusersextrafieldspegaso_qualification', 

'config' => array (
'type' => 'input',
'size' => '48',
'max' => '76',
'eval' => 'alphanum,nospace',
         )
     ),
'tx_feusersextrafieldspegaso_nursidsubscription' => array (
'exclude' => 0,
'label' => 
'LLL:EXT:feusersextrafieldspegaso/locallang_db.xml:fe_users.tx_feusersextrafieldspegaso_nursidsubscription', 

'config' => array (
'type' => 'check',
         )
     ),
);


Ciao

Rino


|
> Il giorno 11/apr/2012, alle ore 22:54, Rino Razzi ha scritto:
>
>> Ciao a tutti.
>>
>> Ho ancora qualche domanda sulla configurazione di T3Registration.
>> Ho bisogno di aggiungere dei campi alla tabella fe_users.
>> Allora ho pensato di fare una estensione con il Kickstarter per aggiungere i campi che mi servono.
>>
>> Ho poi installato l'estensione che mi ha correttamente aggiunto i campi.
>>
>> Dal plugin di t3registration i nuovi campi sono visibili nella TAB Fields.
>> Li ho quindi aggiunti e configurati con l'interfaccia offerta dal plugin.
>>
>> Ho poi aggiunto i marcatori per i nuovi campi nel template HTML usato da T3registration.
>>
>> Ecco un esempio del codice che ho aggiunto nel template html per il nuovo campo che si chiama TX_FEUSEREXTRAFIELDPEGASO_QUALIFICATION:
>>
>> <!--###TX_FEUSEREXTRAFIELDPEGASO_QUALIFICATION_FIELD### Start-->
>> <!--###ERROR_FIELD### Start-->
>> <div  class="###CLASS_ERROR###">###ERROR_LABEL###</div>
>> <!--###ERROR_FIELD### Stop-->
>> <label>###FIELD_LABEL###</label>  ###AUTO_FIELD###<br />
>> <!--###TX_FEUSEREXTRAFIELDPEGASO_QUALIFICATION_FIELD### Stop-->
>>
>> A questo punto mi aspettavo che tutto funzionasse, ma invece non ho alcun effetto.
>> Dei nuovi campi, nella form di registrazione degli utenti  non c'e' alcuna traccia ...
>>
>> In cosa sto sbagliando?
>>
>> Mi sapete dare qualche dritta?
>>
>> Grazie
>>
>> -- 
>> ---
>>
>> Rino Razzi
>>
>> Archimede Informatica Societa' Cooperativa
>> Via Livia Gereschi 36 - 56127, Pisa - Italy
>> tel.: +39-050-580959
>> fax: +39-050-9711344
>> e-mail: razzi at archicoop.it
>> web: www.archicoop.it
>>
>> _______________________________________________
>> TYPO3-UG-Italy mailing list
>> TYPO3-UG-Italy at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy
> _______________________________________________
> TYPO3-UG-Italy mailing list
> TYPO3-UG-Italy at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy


-- 
---

Rino Razzi

Archimede Informatica Societa' Cooperativa
Via Livia Gereschi 36 - 56127, Pisa - Italy
tel.: +39-050-580959
fax: +39-050-9711344
e-mail: razzi at archicoop.it
web: www.archicoop.it



More information about the TYPO3-UG-Italy mailing list