[TYPO3] problem with extending sr_feuser_register
Stanislav Rusnák
monstrozita at gmail.com
Thu Aug 10 14:58:46 CEST 2006
Hi all.
I was trying to add new field to sr_feuser_register extension. So I
extended fe_user table with new field named ICO. That worked.
Than I add this to the
..\typo3conf\ext\sr_feuser_register\pi1\tx_srfeuserregister_pi1_css_tmpl.html
<!-- ###SUB_INCLUDED_FIELD_ICO### -->
<dt>
<label for="tx-srfeuserregister-pi1-ICO">###LABEL_ICO###</label>
<span class="tx-srfeuserregister-pi1-required">###REQUIRED_ICO###</span>
</dt>
<dd>
<!-- ###SUB_ERROR_FIELD_ICO### -->
<p class="tx-srfeuserregister-pi1-error">###EVAL_ERROR_FIELD_ICO###</p>
<!-- ###SUB_ERROR_FIELD_ICO### -->
<!-- ###SUB_REQUIRED_FIELD_ICO### -->
<p class="tx-srfeuserregister-pi1-error">###MISSING_ICO###</p>
<!-- ###SUB_REQUIRED_FIELD_ICO### -->
<input id="tx-srfeuserregister-pi1-ICO" type="text" size="40"
maxlength="50" title="###TOOLTIP_ICO###" name="FE[fe_users][ICO]"
class="tx-srfeuserregister-pi1-text" />
</dd>
<!-- ###SUB_INCLUDED_FIELD_ICO### -->
Into TS setup I added this:
plugin.tx_srfeuserregister_pi1._LOCAL_LANG.languageCode.ICO =
myNewFieldLabel
When I looked into frontend there appeared:
###LABEL_ICO###
###REQUIRED_ICO###
instead of label and box.
I will appreciate any help.
With regards Stanislav Rusnak.
More information about the TYPO3-english
mailing list