Shular Posted April 19, 2013 Share Posted April 19, 2013 I commented out the date of birth in the authentication.tpl for the default theme to remove that option for the customer account creation. In performance I have force compile selected.Under that cache is disabled. After uploading the modified file and refreshing the page, I still see the Date of Birth question. It seems that force compile is not enough to make the change. What needs to be done? Link to comment Share on other sites More sharing options...
tdr170 Posted April 19, 2013 Share Posted April 19, 2013 Look again there is more then one instance of Date of birth as one page check out and standard 5 step are both included. Link to comment Share on other sites More sharing options...
Shular Posted April 19, 2013 Author Share Posted April 19, 2013 Thank you, I found the additional Date of Birth and commented that out and uploaded the tpl. It still shows on the customer creation page. Link to comment Share on other sites More sharing options...
tdr170 Posted April 19, 2013 Share Posted April 19, 2013 Clear your smarty cache and compile folder located ../cache/smarty/ leave any index.php files you may find. Reload the page and see if it still appears. Link to comment Share on other sites More sharing options...
Shular Posted April 19, 2013 Author Share Posted April 19, 2013 I just cleared ..cache/smarty/cache except the index.php. There was nothing with a recent date in that folder. It did not force the change. Thanks Link to comment Share on other sites More sharing options...
tdr170 Posted April 19, 2013 Share Posted April 19, 2013 (edited) Are you sure you commented them out correctly <!-- code -->. Try just deleting the lines as you can always upload the file from the unzipped folder on your computer if things go wrong. The 2 location are around line 221 and 397, both are coded the same and should look like below when commented out correctly. <!-- <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> --> Edited April 19, 2013 by tdr170 (see edit history) 2 Link to comment Share on other sites More sharing options...
Shular Posted April 19, 2013 Author Share Posted April 19, 2013 Yes you were correct - I read in another place to use /* */ When I changed it to the regular HTML comment it worked. Thank you for your patience. Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2013 Share Posted April 21, 2013 Thanks for information that it works for you now. I can go ahead and mark this thread as solved regards Link to comment Share on other sites More sharing options...
Recommended Posts