Jump to content

La inregistrare numar de telefon obligatoriu


Kilobaid

Recommended Posts

modifica authentication.tpl din tema ta astfel :
in loc de



{l s='Home phone'}
               <input type="text" class="text" name="phone" id="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{/if}" />



{l s='Mobile phone'}
               <input type="text" class="text" name="phone_mobile" id="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{/if}" />





sa apara numai



{l s='Home phone'}
               <input type="text" class="text" name="phone" id="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{/if}" /><sup>*


vezi ca am adauga si *
apoi
cauta linia urmatoare in classes/address.php si adauga in plus si campul 'phone'

protected    $fieldsRequired = array('id_country', 'alias', 'lastname', 'firstname', 'address1', 'postcode', 'city', 'county',  'phone'); 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...