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. |
Re: X-Cart - reBOOT - Responsive Template
In skin/reboot/customer/help/contactus.tpl
You can replace... Code:
<input type="text" class="maxlength" maxlength="100" id="subject" name="subject" size="32" maxlength="128" value="{if $smarty.get.subject}{$smarty.get.subject}{else}{$userinfo.subject|escape}{/if}" /> Code:
<input type="text" class="maxlength" maxlength="100" id="subject" name="subject" size="32" maxlength="128" value="{$userinfo.subject|escape}" /> |
Re: X-Cart - reBOOT - Responsive Template
Hi Phil,
Sorry to trouble you as I know that you are busy with reDux :oops: I am having lots of issues with reboot dynamic search. I have this logged as an error: - Code:
[05-May-2018 08:45:19 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/fgfrrtfx/public_html/website.com/reboot_dynamic_search.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code:6 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 :D/ |
Re: X-Cart - reBOOT - Responsive Template
|
Re: X-Cart - reBOOT - Responsive Template
:D/ :D/ :D/ :D/ WOW Thanks Phil :D/ :D/ :D/ :D/
All sorted :D 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 |
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}" |
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:
{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} |
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... |
Re: X-Cart - reBOOT - Responsive Template
Put what you like in there :)
|
Re: X-Cart - reBOOT - Responsive Template
1 Attachment(s)
|
Re: X-Cart - reBOOT - Responsive Template
Quote:
Our store sells ONLY to be shipped to customers within the US. A customer from outside US however could order from us, for items to be shipped within the US. So, must we still conform to GDPR in this situation? |
Re: X-Cart - reBOOT - Responsive Template
Quote:
Hope that helps a little bit. |
Re: X-Cart - reBOOT - Responsive Template
"A major change made by the GDPR is the territorial scope of the new law. The GDPR replaces the 1995 EU Data Protection Directive which generally did not regulate businesses based outside the EU. However, now even if a US-based business has no employees or offices within the boundaries of the EU, the GDPR may still apply.
Under Article 3 of the GDPR, your company is subject to the new law if it processes personal data of an individual residing in the EU when the data is accessed. This is the case where the processing relates to the offering of good or services or the monitoring of behavior that takes place in the EU. Thus, the GDPR can apply even if no financial transaction occurs. For example, if your organization is a US company with an Internet presence, selling or marketing products over the Web, or even merely offering a marketing survey globally, you may be subject to the GDPR. That said, general global marketing does not usually apply. If you use Google Adwords and a French resident stumbles upon your webpage, the GDPR likely would not apply to the company solely on that basis. If, however, your website pursues EU residents – accepts the currency of an EU country, has a domain suffix for an EU country, offers shipping services to an EU country, provides translation in the language of an EU country, or markets in the language of an EU country, the GDPR will apply to your company. Likewise, if your company is engaged in monitoring the behavior of EU residents (e.g. tracking and collecting information about EU users to predict their online behavior), the GDPR likely will apply to your company. US-based companies with no physical presence in the EU, but in industries such as e-commerce, logistics, software services, travel and hospitality with business in the EU should already be in the process of ensuring GDPR compliance. However, all US-based companies, especially those with a strong Internet presence, should assess whether their business activity falls within the territorial scope of the GDPR." |
Re: X-Cart - reBOOT - Responsive Template
We tried to find a way to opt out but there is none. Phil has made it easy for reBOOT to work with the X-Cart GPDR mod.
Everyone should read Chapter 8 of the GDPR regulations. https://gdpr-info.eu/chapter-8/ |
Re: X-Cart - reBOOT - Responsive Template
TESTIMONIALS. Testmonials work fine on my site, with latest x-cart 4.x and latest reBOOT template matching the x-cart version.
How to change WHICH testimonials are displayed on the front end? How to change HOW MANY testimonials are displayed on the front end in the rotator, if that can be done at all? Possible changes to this template mentioned on your site's FAQ don't appear to offer any help: Testimonials Rotator - skin/reboot/custom/footer/footer_content_TR.tpl |
Re: X-Cart - reBOOT - Responsive Template
They're random, with a limit of 5 by default. See reboot_get_testimonials.php
If you'd prefer the most recent displayed, with a limit of 10, replace... Code:
$qry = "SELECT * FROM reboot_testimonials WHERE approved='Y' ORDER BY RAND() LIMIT 5"; Code:
$qry = "SELECT * FROM reboot_testimonials WHERE approved='Y' ORDER BY added DESC LIMIT 10"; Code:
$qry = "SELECT * FROM reboot_testimonials WHERE approved='Y' AND rating='10' ORDER BY added DESC LIMIT 10"; |
Re: X-Cart - reBOOT - Responsive Template
Hi PhilJ,
Upgraded to reBoot 4.7.9 and would like to Auto expand all submenus like in your older version. Thanks |
Re: X-Cart - reBOOT - Responsive Template
Quote:
Replace... Quote:
Quote:
|
Re: X-Cart - reBOOT - Responsive Template
Hi Phil,
Is there any easy hack to: - a/ have the “submit” button on Login form deactivated by default b/ Activate the “submit” button when an ‘@’ is inserted into the login email field (ajax?) The reason I ask is that we are getting tons of failed login attempts because someone is just entering random names like: - Lyndonexilk LindaDax SeoRob If the form did a ‘simple’ check to make sure the ‘@’ is there and then activated the submit button this may be better and stop the idiots? Many thanks as always Kind regards ITVV |
Re: X-Cart - reBOOT - Responsive Template
Hi ITVV, in the login form, you could change the email input field from type="text" to type="email". Then it'll validate better.
|
Re: X-Cart - reBOOT - Responsive Template
@PhilJ
Many thanks Phil - brilliant as always :D/ :D/ :D/ However, when clicking submit it gives the following error message: - Quote:
Thanks again for your kind help Phil - I appreciate it very much. Kind regards ITVV |
Re: X-Cart - reBOOT - Responsive Template
skin/reboot/customer/main/login_form.tpl
Replace... Quote:
Quote:
|
Re: X-Cart - reBOOT - Responsive Template
Hi again Phil,
The coding you provided works great :D/ :D/ :D/ I just want to change the error message that the customer sees: - Quote:
Thanks for the help Regards ITVV |
Re: X-Cart - reBOOT - Responsive Template
Sorry my bad, you can use the additional code in red below to customise the messages...
Quote:
|
Re: X-Cart - reBOOT - Responsive Template
:D/ :D/ :D/ :D/ :D/
Thank you so much Phil - worked a treat. Fab customer service as always :D/ :D/ :D/ :D/ :D/ Have a great weekend Kind regards as always ITVV |
Re: X-Cart - reBOOT - Responsive Template
1 Attachment(s)
Uploads manager update, in lieu of v4.7.10 and reDUX, unzip and upload attached to /uploads
|
Re: X-Cart - reBOOT - Responsive Template
I am finally making the move to a responsive template. How much better is reBoot compared to the Ideal Responsive template that's included in 4.7.x. Where is a good place to start in this thread?
|
Re: X-Cart - reBOOT - Responsive Template
Hi Tony, there's info and a demo. It's got plenty of additional features. I'm currently working on a new improved version also. If you'd like help migrating, or more info, feel free to get in touch.
|
Re: X-Cart - reBOOT - Responsive Template
Quote:
Paul |
Re: X-Cart - reBOOT - Responsive Template
|
Re: X-Cart - reBOOT - Responsive Template
I am working on my local Windows 10 PC to re-develop my site with the reBOOT template. I'm running XAMPP with Apache and MySQL. I wanted to see what the reBOOT site would look like on my Android phone, so I used Google's development tools in Chrome to discover the phone as remote device (connected via USB) and was able to display the site's home page in Chrome on the phone. One thing I had to do to make it work was to change config.php. I had to replace references to localhost with the actual 192.168.0.xxx IPv4 LAN address of the PC. However the home page is as far as I got. Trying to navigate to other pages produced an invalid license problem, i.e. X-Cart and/or reBOOT isn't licensed to run at the 192.168.0.xxx LAN address. Is there a way to get around this?
|
Re: X-Cart - reBOOT - Responsive Template
Hi Tony, the reBOOT template is entirely open source, so it is not restricted to any IP address, but PM me the 'invalid license' message you are getting, as there's a chance an old Ability template file is being loaded, in which case I may be able to send you the unencoded source file.
|
Re: X-Cart - reBOOT - Responsive Template
Quote:
Hi Freakmode, Are you talking about the css files in \skin\reboot\css\themes, i.e. 01.css, 02.css,..., 21.css? Does that affect the .panel-title class in FAQs (e.g. <h4 class="panel-title panel-toggle-R">This is section 1 question 1?</h4> ? |
Re: X-Cart - reBOOT - Responsive Template
Yes he is Tony, it'll affect all accordion panels including the FAQs.
|
Re: X-Cart - reBOOT - Responsive Template
Thanks, Phil. I'm out of my depth with css code, so I'll just leave the default settings for now and concentrate on the content.
|
Re: X-Cart - reBOOT - Responsive Template
Drop me a line anytime if you need help :)
|
Re: X-Cart - reBOOT - Responsive Template
How do find the Reboot version I am using?
(Sorry I tried to search for this info but couldnt find it) |
Re: X-Cart - reBOOT - Responsive Template
Quote:
Go to Settings-->General settings-->Appearance Version should show in the Select skin to use. My x-cart v4.6.6 shows reBOOT v3.4.1(Responsive) |
Re: X-Cart - reBOOT - Responsive Template
Quote:
Thanks elmirage001, But it doesn't say the version on my drop down menu. I'm using X-cart 4.6.1 and on the selection is just says Reboot (Responsive). It is possible I am using version 1. I can't remember if I ever updated Reboot on this site. |
Re: X-Cart - reBOOT - Responsive Template
Quote:
See if there is a REBOOT_VERSION file where reBOOT is installed. Mine says "X-Cart Reboot Template v3.4 (X-Cart v4.6.6)". Hope that works! If not it's time for Phil... |
All times are GMT -8. The time now is 03:43 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.