View Single Post
  #71  
Old 07-11-2020, 03:42 PM
  peggyr's Avatar 
peggyr peggyr is offline
 

X-Adept
  
Join Date: Dec 2005
Posts: 631
 

Default Re: X-Cart reBOOT (reDUX) Template

Hi Phil,

Another question.

Where does the date format for testimonials come from? It appears as D/M/Y, though in settings->appearance I have the date selected as M/D/Y.

I have removed the date from testimonial_add.php in

testimonial_add.tpl via {*- remove added <input type="hidden" name="added" value="{$smarty.now}"> *} which works fine.

But in admin approval /admin/reboot_testimonials.php, it appears in D/M/Y format.

See attached

Thanks

Optimally, I'd like the 'Added' date to optionally be disabled. My change to testimonial_add.tpl works for what I need, so even with the admin approval panel requiring a date in D/M/Y - that isn't displayed to customer.
Attached Images
File Type: jpg Appearance-setting-date-format-M-D-Y.JPG (14.2 KB, 2 views)
File Type: jpg testimonial-date-format-D-M-Y.JPG (28.8 KB, 4 views)
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.8 | Live
IONOS Hosting | Linux | PHP 7.4.33 | MySQL 5.7
Reply With Quote