[TYPO3-UG Italy] Nuovo campo form estens. Feuser

namesys at live.com namesys at live.com
Tue Mar 25 17:46:28 CET 2008


leggo questo nella guida ufficiale:

---
"Using the Constant Editor, modify the value of the following constants of plugin  tx_srfeuserregister_pi1:

formFields: add to the list of fields the names of the fields you have defined and want to be displayed in the Frontend form. If the field is not in this list, the subpart

 will be deleted;

requiredFields: add to the list of fields the names of the fields you have defined and want to be treated as required fields. If the field is not in the list OR if the field is in this list and is correctly filled, the subpart

<---###SUB_REQUIRED_FIELD_myNewFieldName###---> will be deleted.

You may also specify in the TS template Setup some default values and validation rules to be applied by the extension to the additional fields.

If there are no validation rules, you should set:

plugin.tx_srfeuserregister_pi1.create.evalValues.myNewFieldName = 

If your field is a select field and if you wish to enable multiple selection, you should also set:

plugin.tx_srfeuserregister_pi1.parseValues.myNewFieldName  = multiple"
---

ciò significa che, siccome desidero inserire il campo nella lista ma non come campo richiesto, cancello tutta questa parte nel template:

***
***###MISSING_SPEDIZIONE###
***

così adesso nel form FE mi scompare ###MISSING_SPEDIZIONE###, però mi rimane scritto:

###LABEL_SPEDIZIONE### 
###REQUIRED_SPEDIZIONE### 
ed il campo testo...

domande:
1. Devo anche cancellare nel template ###REQUIRED_SPEDIZIONE### ?
2. Secondo voi perchè nel template non prende il nome del LABEL? (nb. nel BE viene visualizzato correttamente!)

Saluti
Enrico



> From: namesys at live.com
> To: typo3-ug-italy at lists.netfielders.de
> Date: Tue, 25 Mar 2008 15:10:18 +0000
> Subject: Re: [TYPO3-UG Italy] Nuovo campo form estens. Feuser
>
>
> Ti ringrazio per la chiarificazione, d'altra parte speravo che fosse in quello il problema che riscontravo ... nulla da fare...
>
> non riesco a capire allora! ho fatto tutto seguendo le guide ma in FE continuo a visualizzare quelle voci... bisogna settare qlcs anche nel setup per fdarlo funzionare o quello riguarda solo validazione, ecc del campo?
>
>
>> Date: Tue, 25 Mar 2008 16:00:53 +0100
>> From: nicola.dellamarina at webformat.com
>> To: typo3-ug-italy at lists.netfielders.de
>> Subject: Re: [TYPO3-UG Italy] Nuovo campo form estens. Feuser
>>
>> Salve Enrico
>>
>> Il 25/03/2008 15.48, namesys at live.com ha scritto:
>>> una cosa non mi è chiara, una volta inseriti i nomi dei field in Extend existing tables, faccio click su upload e per far comparire View Result, devo inserire un nome nel campo testo "Enter extension key:" ... ci devo mettere il nome dell'esetensione sr_feuser_register o una a mio piacere?
>>
>> In questo momento stai creando una nuova estensione, dovresti quindi
>> darle un nome specifico.
>>>
>>> cmq in ogni caso nel db nella tabella fe_users mi crea una colonna denominata tx_srfeuserregistrationfield_spedizione e non spedizione ... qlcn sa aiutarmi per creare la colonna con il solo nome spedizione?
>>>
>>
>> Se tu all'interno di una nuova estensione, ad es. 'miaestensione',
>> aggiungi un campo ad una tabella esistente, tipo 'miocampo', nel
>> database verrà creato con il nome 'miaestensione_miocampo', in questo
>> modo si evita che due estensioni diverse possano creare due campi con lo
>> stesso nome. E' un modo corretto di fare le cose.
>>
>> Saluti.
>> --
>> Nicola Della Marina - Webformat Srl
>> E-mail: nicola.dellamarina at webformat.com
>> ________________________________________________________
>> WEBFORMAT srl | Corte Europa 12 | I-33097 SPILIMBERGO PN
>> Tel +39-0427-926.389 -- Fax +39-0427-927.653
>> info at webformat.com -- http://www.webformat.com
>> _______________________________________________
>> TYPO3-UG-italy mailing list
>> TYPO3-UG-italy at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy
>
> _________________________________________________________________
> Il futuro di MSN Messenger è oggi Windows Live Messenger 2008!
> www.messenger.it
> _______________________________________________
> TYPO3-UG-italy mailing list
> TYPO3-UG-italy at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy

_________________________________________________________________
Il futuro di MSN Messenger è oggi Windows Live Messenger 2008!
www.messenger.it


More information about the TYPO3-UG-italy mailing list