Jump to content

[solved] Force Compile v1.5.4


Recommended Posts

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

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

×
×
  • Create New...