Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Sticky

Views: 361,760

Results 161 to 180 of 1,084
20 Jul 2016, 8:36 PM
#161
mandeep avatar

mandeep

New Zenner

Join Date:
Jul 2016
Posts:
8
Plugin Contributions:
0

Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Thanks for response Dr Byte,

It seems working fine. I am getting error if some one open website on mobile.

Error

Hi, Getting this errors.

[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 113
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 114
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 116
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 117
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 113
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 114
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 116
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 117

Regards

Mandeep

20 Jul 2016, 8:41 PM
#162
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Mandeep:

It seems working fine. I am getting error if some one open website on mobile.

Error

Hi, Getting this errors.

[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 113
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 114
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 116
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 117
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 113
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 114
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 116
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 117
It seems as though that file is damaged, because it's pretty much impossible for the official contents of that file to create those kinds of errors on those consecutive line numbers, unless the file has been altered or damaged.

Did you actually upgrade to 155?

21 Jul 2016, 1:48 AM
#163
mandeep avatar

mandeep

New Zenner

Join Date:
Jul 2016
Posts:
8
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

No, did upgraded to 1.5.5, as i am using 1.5.4 which is available at godaddy. and did lots of acculturation.

This seems coming from here. i an thinking to wrap this processing code in a conditional so it doesn't run when first open the page.

$cur_window_num = intval($this->current_page_number / $max_page_links);
if ($this->current_page_number % $max_page_links) $cur_window_num++;

$max_window_num = intval($this->number_of_pages / $max_page_links);
if ($this->number_of_pages % $max_page_links) $max_window_num++;
21 Jul 2016, 2:33 AM
#164
mandeep avatar

mandeep

New Zenner

Join Date:
Jul 2016
Posts:
8
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Sorry, No, did not upgraded to 1.5.5, as i am using 1.5.4 which is available at godaddy. and I did lots of alteration .

This seems coming from here. i am thinking to wrap this processing code in a conditional so it doesn't run when first open the page.

$cur_window_num = intval($this->current_page_number / $max_page_links);
if ($this->current_page_number % $max_page_links) $cur_window_num++;

$max_window_num = intval($this->number_of_pages / $max_page_links);
if ($this->number_of_pages % $max_page_links) $max_window_num++;

21 Jul 2016, 3:44 AM
#165
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

The "responsive classic" template is designed for ZC v1.5.5, and is NOT compatible with ZC v1.5.4.

There ARE numerous other template addons for v1.5.4 which are responsive.

If you are using v1.5.4 then your ongoing problems should be discussed in a separate new discussion thread, not in this one about Responsive Classic in v1.5.5.

I suspect your problems are a result of a bad install. Perhaps you should ask GoDaddy to upgrade their Zen Cart install to a modern version.

24 Jul 2016, 12:17 PM
#166
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

For some reason, the login page's onload processing no longer places focus on the login form's email_address field. Is that, perhaps, a change in HTML5 handling?

24 Jul 2016, 12:35 PM
#167
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

lat9:

For some reason, the login page's onload processing no longer places focus on the login form's email_address field. Is that, perhaps, a change in HTML5 handling?
Even weirder, on my local non-SSL XAMPP installation, the focus occurs properly. The same file-set, running in a subfolder in an SSL-enabled site, does not perform the focus.

24 Jul 2016, 1:34 PM
#168
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

lat9:

For some reason, the login page's onload processing no longer places focus on the login form's email_address field. Is that, perhaps, a change in HTML5 handling?
It's no longer using "onload" events. It's simply using the HTML5 "autofocus" attribute. I guess if the browser doesn't support HTML5 then that feature is lost for those lagging behind.

24 Jul 2016, 1:49 PM
#169
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

DrByte:

It's no longer using "onload" events. It's simply using the HTML5 "autofocus" attribute. I guess if the browser doesn't support HTML5 then that feature is lost for those lagging behind.
Hmm, I see that the focus is being placed when using Chrome and IE-11 (!), but not with FireFox (47.0).

25 Jul 2016, 1:52 AM
#170
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

lat9:

Hmm, I see that the focus is being placed when using Chrome and IE-11 (!), but not with FireFox (47.0).
Just tested on FF 47.0.1 (Mac), and the focus is auto-set to the email field when I access the login page.

25 Jul 2016, 3:30 AM
#171
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

lat9:

Hmm, I see that the focus is being placed when using Chrome and IE-11 (!), but not with FireFox (47.0).

Works fine for me on FF 47.0 (Linux Mint 17.3)

2 Aug 2016, 7:50 PM
#172
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

I am hoping that someone can give me some guidance. I have a field in my database "products_upc" that I been able to to display on my product info page by modifying main_template_vars.php and tpl_product_info_display.php. I want to also display this field when I select All Products but can't figure it out.

Please reply in this thread: How do I display content of 'products_upc' in Responsive Classic template?

Thanks!

5 Aug 2016, 9:29 AM
#173
bottyz avatar

bottyz

New Zenner

Join Date:
Mar 2010
Location:
Nottingham UK
Posts:
90
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Hi all,

Is there any way of having a 'switch to desktop' link displayed for mobile & tablet users with this template? I know some website visitors prefer to have the option to access a full desktop website layout on other devices (me being one of them). I can't seem to get this to work. I've tried clicking on the example links in the default main page define page via a mobile, but it won't switch to desktop.

Any thoughts?

Thanks!

5 Aug 2016, 11:16 AM
#174
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

bottyz:

Hi all,

Is there any way of having a 'switch to desktop' link displayed for mobile & tablet users with this template? I know some website visitors prefer to have the option to access a full desktop website layout on other devices (me being one of them). I can't seem to get this to work. I've tried clicking on the example links in the default main page define page via a mobile, but it won't switch to desktop.

Any thoughts?

Thanks!

What phone and browser are you viewing on?
It's your device that is forcing mobile view. Some browsers will allow you to select desktop/mobile view.
I think to give the option to your customers from your store then you'll need to have a desktop AND responsive template linked. I do remember doing just that sometime ago and I got the code somewhere in the ZC forums.
Not much help I know but it can be done.

5 Aug 2016, 11:38 AM
#175
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

bottyz:

Hi all,

Is there any way of having a 'switch to desktop' link displayed for mobile & tablet users with this template? I know some website visitors prefer to have the option to access a full desktop website layout on other devices (me being one of them). I can't seem to get this to work. I've tried clicking on the example links in the default main page define page via a mobile, but it won't switch to desktop.

Any thoughts?

Thanks!

possibly relevant...https://www.zen-cart.com/showthread.php?213334-Westminster-New/page77

6 Aug 2016, 2:13 PM
#176
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

aurelius:

How to get language (and currencies) selection in header of mobile version (and desktop) ?
i have Responsive Classic (built in to Zen Cart v1.5.5a) installed and have a multi language sidebox in the desktopversion.
But on the mobileversion i dont have the multi language selection.
In my layout boxes controller are the files header_language and header_currencies missing.
i find an old plugin from 2006, Language/Currency Links in Header, https://www.zen-cart.com/downloads.php?do=file&id=30
Can i use this plugin (and will it work for mobile) or is there a better way to get multilanguage on my mobile version?

this is my site: http://www.xcellentrider.com/site-xcellentpro/

thanks for your help.

I'd like the same advice please - I need a currencies selector somewhere in the tablet and mobile "pull-out" menu. Or, perhaps constant in the header. I sell to 22 different countries and have GBP, USD, CAD, AUD, EUR and NZD as options.

6 Aug 2016, 4:09 PM
#177
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

schoolboy:

I'd like the same advice please - I need a currencies selector somewhere in the tablet and mobile "pull-out" menu. Or, perhaps constant in the header. I sell to 22 different countries and have GBP, USD, CAD, AUD, EUR and NZD as options.
You could probably adapt the currencies' sidebox elements into the mobile-menu display (/includes/templates/responsive_classic/templates/tpl_modules_mobile_menu.php).

10 Aug 2016, 6:00 PM
#178
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Hello,

I am trying to adjust the button heights and menu headings (padding/margin) without any success. I have tried modifying the various css files but am obviously changing the wrong files. Ultimately I am trying to reduce the heights and any guidance will be appreciated.

10 Aug 2016, 7:39 PM
#179
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

allmart:

Hello,

I am trying to adjust the button heights and menu headings (padding/margin) without any success. I have tried modifying the various css files but am obviously changing the wrong files. Ultimately I am trying to reduce the heights and any guidance will be appreciated.
For template-related issues like this, it's very hard to help you (and often hard to understand your desired goal) without seeing your actual site. Please provide the URL so someone can take a look and perhaps offer some guidance.

10 Aug 2016, 8:32 PM
#180
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

sorry the site address is: allmart.ca/store
Work in progress!!!