Novos Campos no registro de Usuário - Joomla! Forum - community, help and support
pessoal tem um problema sério inseri campos novos no registro de usuário na versão 1.5.9 funciona maravilha mas quando passo para versão 1.5.14 ele não funciona alguem já passou por isto?
o arquivo que eu modifico
/components/com_user/views/register/tmpl/default.php
a modificação no arquivo
o arquivo que eu modifico
/components/com_user/views/register/tmpl/default.php
a modificação no arquivo
code: select all
<tr>
<td width="30%" height="40">
<label id="namemsg" for="name">
<?php echo jtext::_( 'nome completo' ); ?>:
</label>
</td>
<td>
<input type="text" name="name" id="name" size="40" value="<?php echo $this->user->get( 'name' );?>" class="inputbox required" maxlength="50" /> *
</td>
</tr>
<tr>
<td height="40">
<label id="usernamemsg" for="username">
<?php echo jtext::_( 'username' ); ?>:
</label>
</td>
<td>
<input type="text" id="username" name="username" size="40" value="<?php echo $this->user->get( 'username' );?>" class="inputbox required validate-username" maxlength="25" /> *
</td>
</tr>
<tr>
<td height="40">
<label id="emailmsg" for="email">
<?php echo jtext::_( 'email' ); ?>:
</label>
</td>
<td>
<input type="text" id="email" name="email" size="40" value="<?php echo $this->user->get( 'email' );?>" class="inputbox required validate-email" maxlength="100" /> *
</td>
</tr>
<tr>
<td height="40">
<label id="pwmsg" for="password">
<?php echo jtext::_( 'password' ); ?>:
</label>
</td>
<td>
<input class="inputbox required validate-password" type="password" id="password" name="password" size="40" value="" /> *
</td>
</tr>
<tr>
<td height="40">
<label id="pw2msg" for="password2">
<?php echo jtext::_( 'verify password' ); ?>:
</label>
</td>
<td>
<input class="inputbox required validate-passverify" type="password" id="password2" name="password2" size="40" value="" /> *
</td>
</tr>
<!-- começa aqui os novos campos -->
<tr>
<td width="30%" height="40">
<label id="cpfmsg" for="cpf">
<?php echo jtext::_( 'cpf' ); ?>:
</label>
</td>
<td>
<input type="text" name="cpf" id="cpf" size="14" value="<?php echo $this->user->get( 'cpf' );?>" class="inputbox required" maxlength="14" /> *
</td>
</tr>
in english please, forum rules : viewtopic.php?f=8&t=65
or use interntional zone forum : viewforum.php?f=511
and welcome joomla community
or use interntional zone forum : viewforum.php?f=511
and welcome joomla community
Comments
Post a Comment