Jump to content

(Solved )Remove "birthday" from registration form


cson

Recommended Posts

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 by cson (see edit history)
Link to comment
Share on other sites

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

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

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

Link to comment
Share on other sites

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

  • 2 years later...

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

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...