navlaca Posted June 8, 2011 Share Posted June 8, 2011 I would like to remove the birthday option from the registration form.I have commented out the following lines from the authentication.tpl and identity.tpl files located in the themes\mytheme directory but it does not work. Please help. Thank you in advance.<!-- {l s='Date of Birth'}- {foreach from=$days item=v}{$v|escape:'htmlall':'UTF-8'} {/foreach} {* {l s='January'} {l s='February'} {l s='March'} {l s='April'} {l s='May'} {l s='June'} {l s='July'} {l s='August'} {l s='September'} {l s='October'} {l s='November'} {l s='December'} *}- {foreach from=$months key=k item=v}{l s="$v"} {/foreach}- {foreach from=$years item=v}{$v|escape:'htmlall':'UTF-8'} {/foreach} --> Link to comment Share on other sites More sharing options...
KariKirch Posted June 9, 2011 Share Posted June 9, 2011 I have done the same as you have in the authentication.tpl and identity.tpl and also have no result. If anyone can help us with this it would be great. Thanks Link to comment Share on other sites More sharing options...
navlaca Posted June 9, 2011 Author Share Posted June 9, 2011 Now I have the solution. Actually, in the file authentication.tpl there are 2 occurences of the block of lines to comment out. The file identity.tpl is to remove the birth day from the form when you change your personal info previously registered. I will close this post. Link to comment Share on other sites More sharing options...
bayouborne Posted July 29, 2011 Share Posted July 29, 2011 Thanks very much for this info! I also [successfully] killed the 'Assign an address title for future reference' in this file as well. <!-- <p class="required text" id="address_alias"> <label for="alias">{l s='Assign an address title for future reference'} !</label> <input type="text" class="text" name="alias" id="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{else}{l s='My address'}{/if}" /> <sup>*</sup> </p> --> Link to comment Share on other sites More sharing options...
annalin Posted December 16, 2011 Share Posted December 16, 2011 I was so happy to find this as it seemed the prefect answer to my very much exact same problem. But it doesn't work for me. I have commented out unwanted parts in both authentication.tpl and identity.tpl but all the parts show up anyway. Is there any other file involved in this? Link to comment Share on other sites More sharing options...
Guest Posted April 5, 2012 Share Posted April 5, 2012 Why it is marked as RESOLVED? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now