[TYPO3] Front end user registration - adding fields

Brian Bendtsen brb at mentor-it.dk
Wed Feb 22 14:14:04 CET 2006


Peter Quiel wrote:
> Am Mittwoch 22 Februar 2006 12:32 schrieb Brian Bendtsen:
> 
>>Hi
>>
>>Im currently working with the Front end user registration extension and
>>im trying to add some fields following the tutorial.
>>
>>I have created the extension to add 3 fields to the fe_user tabel, but
>>when I add a field to the Template all I see in the front end create
>>form is something like: ###LABEL_CPRNR###.
>>
>>What am I missing?
> 
> something like that in your typoscript template .. ?
> 
> 
> plugin.tx_srfeuserregister_pi1 {
>  create.evalValues.cprnr =
>  _LOCAL_LANG {
>   }  
>   default {
>     cprnr = What does cprnr mean:
>     missing_cprnr = if cprnr is required and missing ..
>   }
>  }
> }
> 
> Greetings,
> Peter
Hi

It made this ###EVAL_ERROR_FIELD_cprnr### go away, but I still have these:
###LABEL_CPRNR### ###REQUIRED_CPRNR### ###MISSING_CPRNR###

My template:
<!-- ###SUB_INCLUDED_FIELD_cprnr### -->
	<dt>
		<label for="tx-srfeuserregister-pi1-cprnr">###LABEL_CPRNR### 
###REQUIRED_CPRNR###</label>
	</dt>
	<dd>
		<!-- ###SUB_ERROR_FIELD_cprnr### -->
		<p class="tx-srfeuserregister-pi1-error">###EVAL_ERROR_FIELD_cprnr###</p>
		<!-- ###SUB_ERROR_FIELD_cprnr### -->
		<!-- ###SUB_REQUIRED_FIELD_cprnr### -->
		<p class="tx-srfeuserregister-pi1-error">###MISSING_CPRNR###</p>
		<!-- ###SUB_REQUIRED_FIELD_cprnr### -->
		<input id="tx-srfeuserregister-pi1-cprnr" type="text" size="10" 
maxlength="10" title="###TOOLTIP_CPRNR###" name="FE[fe_users][cprnr]" 
class="tx-srfeuserregister-pi1-cprnr" />
	</dd>
	<!-- ###SUB_INCLUDED_FIELD_cprnr### -->

/Brian Bendtsen



More information about the TYPO3-english mailing list