sanctuarybookshop Posted February 23, 2015 Posted February 23, 2015 I know it is something that I've changed and it's only come to light when creating a new account to test transactions on my store. When at the section to enter the date of birth and the calendar pops up to select the date, once the date is selected, the text box associated with it displays :- JQUERY_WedATEPICKER_FORJulAT I'm suspecting that it might be a problem in the create_account.php file due to the following line :- <td class="fieldValue"><?php echo tep_draw_input_field('dob', '', 'id="dob"') . ' ' . (tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''); ?><script type="text/javascript">$('#dob').datepicker({dateFormat: '<?php echo JQUERY_DATEPICKER_FORMAT; ?>', changeMonth: true, changeYear: true, yearRange: '-100:+0'});</script></td> Could be possible that JQUERY_DATEPICKER_FORMAT has not been defined in english.php?
sanctuarybookshop Posted February 23, 2015 Author Posted February 23, 2015 Problem solved, the following lines were missing from catalog/includes/languages/english.php define('JQUERY_DATEPICKER_I18N_CODE', ''); // leave empty for en_US; see http://jqueryui.com/demos/datepicker/#localization define('JQUERY_DATEPICKER_FORMAT', 'mm/dd/yy'); // see http://docs.jquery.com/UI/Datepicker/formatDate
Recommended Posts
Archived
This topic is now archived and is closed to further replies.