cson Posted October 10, 2013 Share Posted October 10, 2013 (edited) I want to remove the birthday option from the registration form. Looked everywhere, the answer seems to be to outcomment or delete lines in authentication.tpl and identity.tpl. Tried both.Empty smarty cache, browser cache.tried on server an localhost. Nothing works ..How do I remove it, what am I missing ? :-) see: www.purplewine.dk on gigahost server. Thanks and regards Edited October 11, 2013 by cson (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 10, 2013 Share Posted October 10, 2013 have you tried to remove it from localization > countries > (edit button near active country) you will see there "customer" fields, have you got there birthday defined? Link to comment Share on other sites More sharing options...
cson Posted October 11, 2013 Author Share Posted October 11, 2013 have you tried to remove it from localization > countries > (edit button near active country) you will see there "customer" fields, have you got there birthday defined? Birthday is not defined. Only these fields: firstname lastname company vat_number address1 address2 postcode city Country:name phone Link to comment Share on other sites More sharing options...
vekia Posted October 11, 2013 Share Posted October 11, 2013 okay, thank you for info so if you remove this code: <p class="select"> <span>{l s='Date of Birth'}</span> <select id="days" name="days"> <option value="">-</option> {foreach from=$days item=day} <option value="{$day}" {if ($sl_day == $day)} selected="selected"{/if}>{$day} </option> {/foreach} </select> {* {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'} *} <select id="months" name="months"> <option value="">-</option> {foreach from=$months key=k item=month} <option value="{$k}" {if ($sl_month == $k)} selected="selected"{/if}>{l s=$month} </option> {/foreach} </select> <select id="years" name="years"> <option value="">-</option> {foreach from=$years item=year} <option value="{$year}" {if ($sl_year == $year)} selected="selected"{/if}>{$year} </option> {/foreach} </select> </p> from authentication - it doesn't work? you use some custom theme? Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted October 11, 2013 Share Posted October 11, 2013 I didn't see "Birthday" block on your site right nowmaybe the problem is with your internet provider cache.You always see the cached page content even though the "Birthday" code has been deleted.if you experience this problem again and again ...try to disconnect your internet connection for a minutes and then reconnect (ip address changed).or you might try to add an unique variable to your browser address URL, e.g ?var=xxxor you might use http://hidemyass.com/ a free web proxy service to see your web page Link to comment Share on other sites More sharing options...
cson Posted October 11, 2013 Author Share Posted October 11, 2013 I didn't see "Birthday" block on your site right now maybe the problem is with your internet provider cache. You always see the cached page content even though the "Birthday" code has been deleted. if you experience this problem again and again ... try to disconnect your internet connection for a minutes and then reconnect (ip address changed). or you might try to add an unique variable to your browser address URL, e.g ?var=xxx or you might use http://hidemyass.com/ a free web proxy service to see your web page Problem solved: had to comment out som lines here: /themes/themexxxx/order-opc-new-account.tpl Thx for the help Link to comment Share on other sites More sharing options...
vekia Posted October 11, 2013 Share Posted October 11, 2013 so you used one page checkout? but it's not related to register form .... Link to comment Share on other sites More sharing options...
SherryM Posted August 25, 2016 Share Posted August 25, 2016 Hi Can you show me what the comment out code looks like in the file please ? I found the files just don't know what to put in front of it I don't want to take it out all together just in case I may want to add it back later. Thanks 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