View Single Post
  #1328  
Old 05-16-2018, 11:40 AM
 
jmccunep jmccunep is offline
 

Advanced Member
  
Join Date: Nov 2003
Posts: 68
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Originally Posted by PhilJ
You could use {$smarty.now} in the subject line as a unique numeric identifier (unix timestamp).

Edit skin/common_files/mail/help_contactus_subj.tpl

Eg.
Code:
{config_load file="$skin_config"}{$config.Company.company_name}: {$lng.eml_contact_us_subj} | {$smarty.now} | {$smarty.now|date_format:$config.Appearance.date_format} | {$smarty.now|date_format:$config.Appearance.time_format} | {$contact.firstname} {$contact.lastname} | {$contact.email} | {$contact.subject}
And/or add the necessary code to skin/reboot/mail/html/help_contactus.tpl

Thanks for being willing to look at this!

Would this code be accurate/correct then and would it append the date & time to the end of the subject line?

{config_load file="$skin_config"}{$config.Company.company_name} : {$lng.eml_contact_us_subj}{$smarty.now|date_format :'%Y-%m-%d %H:%M:%S'}

To put the date & time BEFORE the subject would this be accurate?

{config_load file="$skin_config"}{$config.Company.company_name} : {$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'}{$lng.eml_contact_us_subj}

Oh, should insert a space as well between subject and date. Sorry, Smarty newbie, don't now basics how to insert literals...
__________________
J McCune Porter | twinoakshammocks.com
X-Cart Gold version 4.7.11, unix server
X-Cart reBOOT Template by X-Cart Mods
Reply With Quote