| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
X-Cart - reBOOT - Responsive Template | ||||
|
|
Thread Tools |
#1321
|
|||||||
|
|||||||
Re: X-Cart - reBOOT - Responsive Template
It appears there is possibly a coding error in latest reBOOT, a minor one. When customers submit contact-us forms the subject lines they use are overwritten, replaced by the same generic subject line every time.
Maybe the code in this template is off? reboot/customer/help/contactus.tpl Perhaps something wrong related to this variable? $smarty.get.subject Could this be a problem only with our installation of reBOOT (and reCAPTCHA) which you installed for us, Phil. X-cart 4.7.9 with matching reBOOT template.
__________________
J McCune Porter | twinoakshammocks.com X-Cart Gold version 4.7.11, unix server X-Cart reBOOT Template by X-Cart Mods |
|||||||
#1322
|
|||||||
|
|||||||
Re: X-Cart - reBOOT - Responsive Template
In skin/reboot/customer/help/contactus.tpl
You can replace... Code:
Code:
__________________
xcartmods.co.uk |
|||||||
|
#1323
|
|||||||
|
|||||||
Re: X-Cart - reBOOT - Responsive Template
Hi Phil,
Sorry to trouble you as I know that you are busy with reDux I am having lots of issues with reboot dynamic search. I have this logged as an error: - Code:
I beleive that it is caused because we are using PHP 7? The error referes to 'mysql_connect()' which should be 'mysqli_connect()' for PHP 7 if I'm not mistaken? I cannot change this because the file is encoded. Could you be so kind as to post an updated reboot_dynamic_search.php file please? Would any other files need patching for search to work as it used to? Many thanks and kind regards as always ITVV PS Looking forward to seeing all your hard work on reDux
__________________
X-Cart Pro 4.7.12 Active and working great with reBOOT-reDUX X-Cart Pro 4.6.6 Retired after 6 years of first class service X-Cart Pro 4.1.7 Retired after 9 years of first class service Apache: 2.4.25 PHP: 7.4.5 MariaDB: 10.1.44 Arch: x86_64 |
|||||||
#1324
|
|||||||
|
|||||||
Re: X-Cart - reBOOT - Responsive Template
Hiya, post a ticket and I'll attach you the PHP7 compatible files. Or you can get updates from here. We no longer encode any files since a few years back.
__________________
xcartmods.co.uk |
|||||||
|
#1325
|
|||||||
|
|||||||
Re: X-Cart - reBOOT - Responsive Template
WOW Thanks Phil
All sorted BRILLIANT SUPPORT AS ALWAYS Saturday afternoon and got a response within 25 mins of posting a request. Many many thanks Phil Kind regards from a very happy customer ITVV
__________________
X-Cart Pro 4.7.12 Active and working great with reBOOT-reDUX X-Cart Pro 4.6.6 Retired after 6 years of first class service X-Cart Pro 4.1.7 Retired after 9 years of first class service Apache: 2.4.25 PHP: 7.4.5 MariaDB: 10.1.44 Arch: x86_64 |
|||||||
|
#1326
|
|||||||
|
|||||||
Re: X-Cart - reBOOT - Responsive Template
Quote:
For the above contact-us template code, it would help our customer support staff if a unique identifier could be auto-appended (auto-pre-pended actually) to the customer-entered subject line. The identifier could be for example a date-time snippet or numeric counter number. Can anyone suggest code (Smarty? PHP?) that would accomplish this so that the result of the subject value would be changed, conceptually, as follows? value="[pre-pended counter or date-time or other unique identifier][space]{$userinfo.subject|escape}"
__________________
J McCune Porter | twinoakshammocks.com X-Cart Gold version 4.7.11, unix server X-Cart reBOOT Template by X-Cart Mods |
|||||||
#1327
|
|||||||
|
|||||||
Re: X-Cart - reBOOT - Responsive Template
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:
__________________
xcartmods.co.uk |
|||||||
#1328
|
|||||||
|
|||||||
Re: X-Cart - reBOOT - Responsive Template
Quote:
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 |
|||||||
#1329
|
|||||||
|
|||||||
Re: X-Cart - reBOOT - Responsive Template
Put what you like in there
__________________
xcartmods.co.uk |
|||||||
#1330
|
|||||||
|
|||||||
Re: X-Cart - reBOOT - Responsive Template
Hiya, GDPR files attached for reBOOT v4.7.9. Get the GDPR module files for your version here.
Any problems, please let me know. Always a good idea to get yourself a decent file comparison tool - KDiff - WinMerge - Beyond Compare - etc. Thanks for your patience re. reDUX, temporary demo here.
__________________
xcartmods.co.uk |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|