[TYPO3-english] Add field "telephone mobile" sr_feuser
agarcia at empel-technologies.es
agarcia at empel-technologies.es
Tue Jun 7 13:04:56 CEST 2011
hi, i will try to explain better.
I got a new ext. mobile (input text for mobile telephone for insert field in feusers).
On my TypoScript (Constants) I put the next thing:
plugin.tx_srfeuserregister_pi1 {
formFields = username,password,gender,name,first_name,email,address,city,zone,static_info_country,zip,telephone,mobile,fax,language,title,company,comments,www,module_sys_dmail,module_sysmail_html pid=464
enableAdminReview = 1
#shortUrlLife = 30
}
On my TypoScript (Setup) I put next thing:
plugin.tx_srfeuserregister_pi1.create.evalValues.mobile=
plugin.tx_srfeuserregister_pi1._LOCAL_LANG.fr.mobile = Telephone Mobile
plugin.tx_srfeuserregister_pi1._LOCAL_LANG.fr.missing_mobile = Mobile
On my template of sr_feuserregister I put the next thing:
<tr>
<!-- ###SUB_INCLUDED_FIELD_mobile### -->
<td>
<label for="tx-srfeuserregister-pi1-mobile_mobile">###LABEL_mobile### ###REQUIRED_mobile###</label>
</td>
<td>
<!-- ###SUB_ERROR_FIELD_mobile### -->
<p class="tx-srfeuserregister-pi1-error">###EVAL_ERROR_FIELD_mobile###</p>
<!-- ###SUB_ERROR_FIELD_mobile### -->
<!-- ###SUB_REQUIRED_FIELD_mobile### -->
<p class="tx-srfeuserregister-pi1-error">###MISSING_mobile###</p>
<!-- ###SUB_REQUIRED_FIELD_mobile### -->
<input id="tx-srfeuserregister-pi1-mobile" type="text" size="40" maxlength="50" title="###TOOLTIP_mobile###" name="FE[fe_users][mobile]" class="tx-srfeuserregister-pi1-text" />
</td>
<!-- ###SUB_INCLUDED_FIELD_mobile### -->
</tr>
I don´t know what i´m doing wrong but i don´t get the labels to work, i only get this on my form:
###LABEL_mobile### ###REQUIRED_mobile### ###MISSING_mobile###
Thank you very much for your help,
Ángel García
More information about the TYPO3-english
mailing list