Zen Cart Logo
Forums / Addon Templates / Winchester Responsive

Winchester Responsive

Views: 443,036

Results 841 to 860 of 953
19 Sep 2019, 3:39 AM
#841
dragon718 avatar

dragon718

New Zenner

Join Date:
Sep 2015
Location:
Washington, DC.
Posts:
16
Plugin Contributions:
0

Winchester Responsive

Hello Anne I am using the Winchester Responsive template a week ago I updated my site from zen 1.5.5b or c to 1.5.6c ever since the update all I get is my logo and the very top of the page no images and in zen cart there are no templates listed I have tried reloading them but to no avail my site is https://www.g-linehobbies.com if you could point me in the right direction it would be greatly appreciated I have tried everything I could think of. :(

1 Oct 2019, 9:26 PM
#842
answer_42 avatar

answer_42

Zen Follower

Join Date:
Dec 2016
Location:
Washington
Posts:
109
Plugin Contributions:
0

Re: Winchester Responsive

I'm currently using this template with Zen cart version 1.5.5d and PHP 5.6, hosting company switched to PHP 7.2 and the site crashed. Reverted back to PHP 5.6 and it works. Looking to upgrade to ZC 1.5.6 and was wondering if this template will work with it as it was designed for ZC 1.5.4?

Thank you

16 Oct 2019, 1:42 PM
#843
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Winchester Responsive

Hi

I have a website using version 1.5.5e and I am trying to installing the Winchester Responsive template, but when I try to log into the front end, I get the attached message:

Attachment 18689

i was reading on one of the other template pages that it could be a possible conflict with the jscript_framework.php but nothing is lear where I can get an older copy of this file.

Please could anyone advise?

Thanks in advance.

16 Oct 2019, 1:47 PM
#844
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Winchester Responsive

Use the copy of jscript_framework.php from a fresh download of 1.5.5.

16 Oct 2019, 2:59 PM
#846
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Winchester Responsive

Thanks answer=42 and swguy that worked. :cool:

5 Dec 2019, 12:32 AM
#847
boxcar avatar

boxcar

New Zenner

Join Date:
Jun 2007
Posts:
47
Plugin Contributions:
0

Re: Winchester Responsive

Layout spacing issue on products list page. On products list page, for "sold out" items, there is a link to product labeled "details" but the cart button overlaps it and it is hard to click. You can see the issue on the Winchester Responsive Demo page here (sold out product):

[http://www.zenlyzen.com/responsive-zen-cart-templates/index.php?main_page=index&cPath=23

](http://www.zenlyzen.com/responsive-zen-cart-templates/index.php?main_page=index&cPath=23)And a screenshot from my dev site here:

https://imgur.com/SIf4Jgk

Can this be fixed? If so, how?

24 Jan 2020, 12:54 PM
#848
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Winchester Responsive

Hi

I am just about to upgrade to Zencart 1.5.6c. Please could I just check with you that this template is compatible with the new build?

Kind regards

2 Mar 2020, 8:50 AM
#849
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Winchester Responsive

Hi

I took a chance and this template works great on one of my sites. However I am in the middle of running a fresh install for another site and the page is broken. In the logs I get this error message:

Fatal error: 1054:Unknown column 'pages_title' in 'order clause' :: select * from ezpages where status_header = 1 order by header_sort_order, pages_title ==> (as called by) MyPath\includes\modules\sideboxes\winchester_responsive\ezpages_drop_menu.php on line 23 <== in MyPath\includes\classes\db\mysql\query_factory.php on line 171.

I haven't got to the upgrade stage yet, but this only happens when I activate the winchester responsive template.

Please help

2 Mar 2020, 12:36 PM
#850
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Winchester Responsive

You have to refactor that query to reflect how the ezpages tables were split up. Edit

/includes/modules/sideboxes/winchester_responsive/ezpages_drop_menu.php

and change

$page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_header = 1 order by header_sort_order, pages_title");

to

$page_query = $db->Execute("select * from " . TABLE_EZPAGES . " e, " . TABLE_EZPAGES_CONTENT . " ec WHERE e.pages_id = ec.pages_id AND status_header = 1 order by header_sort_order, pages_title");
2 Mar 2020, 12:56 PM
#851
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Winchester Responsive

It works!!! Thank you swguy :cool: You have made my day.

2 Mar 2020, 1:04 PM
#852
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Winchester Responsive

Glad that helped. Move slowly to PHP 7.0 then 7.1 then 7.2 fixing issues as you go - this template hasn't been updated in a while IIRC.

23 Jul 2020, 2:21 AM
#853
mikecnz avatar

mikecnz

New Zenner

Join Date:
Mar 2009
Location:
New Zealand
Posts:
76
Plugin Contributions:
0

Re: Winchester Responsive

Hi,

Have upgraded on a local host to 1.5.6c (using WAMP with PHP 7.3.12) and am recieving the following warnings:

[23-Jul-2020 02:08:16 UTC] Request URI: /new/, IP address: ::1
#1 require(C:\wamp64\www\New\includes\templates\winchester_responsive\templates\tpl_modules_mobile_categories_tabs.php) called at [C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_header.php:102]
#2 require(C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_header.php) called at [C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_main_page.php:181]
#3 require(C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_main_page.php) called at [C:\wamp64\www\New\index.php:97]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_GV_STATUS - assumed 'MODULE_ORDER_TOTAL_GV_STATUS' (this will throw an Error in a future version of PHP) in C:\wamp64\www\New\includes\templates\winchester_responsive\templates\tpl_modules_mobile_categories_tabs.php on line 71.

[23-Jul-2020 02:08:16 UTC] Request URI: /new/, IP address: ::1
#1 require(C:\wamp64\www\New\includes\templates\winchester_responsive\templates\tpl_modules_mobile_categories_tabs.php) called at [C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_header.php:102]
#2 require(C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_header.php) called at [C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_main_page.php:181]
#3 require(C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_main_page.php) called at [C:\wamp64\www\New\index.php:97]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_COUPON_STATUS - assumed 'MODULE_ORDER_TOTAL_COUPON_STATUS' (this will throw an Error in a future version of PHP) in C:\wamp64\www\New\includes\templates\winchester_responsive\templates\tpl_modules_mobile_categories_tabs.php on line 74.

I have coupons and gift certificates turned off - turning them on removes the warning.

Below is the code for lines 71 and 74:

71 <?php if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?>

74 <?php if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?>

I tried to alter this to the following (on the off chance it would work - as I really have no idea):

71 - <?php if (defined(MODULE_ORDER_TOTAL_GV_STATUS == 'true') ) { ?>

74 - <?php if (defined(MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') ) { ?>

However, it made no difference - any help would be appreciated.

Thanks,

23 Jul 2020, 10:08 PM
#854
mikecnz avatar

mikecnz

New Zenner

Join Date:
Mar 2009
Location:
New Zealand
Posts:
76
Plugin Contributions:
0

Re: Winchester Responsive

Hi,

I have found a solution to the above (i think)...

I replaced lines 71-74 of includes\templates\winchester_responsive\templates\tpl_modules _mobile_categories_tabs.php

with this code taken from the responsive classic template - tpl_modules_mobile_menu

<?php if (defined('MODULE_ORDER_TOTAL_GV_STATUS') && MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_GV_FAQ); ?>"><?php echo BOX_INFORMATION_GV; ?></a></li>
<?php } ?> <?php if (DEFINE_DISCOUNT_COUPON_STATUS <= 1 && defined('MODULE_ORDER_TOTAL_COUPON_STATUS') && MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_DISCOUNT_COUPON); ?>"><?php echo BOX_INFORMATION_DISCOUNT_COUPONS; ?></a></li>
<?php } ?>

No more warnings or issues (so far).

Regards,

Mike

17 Aug 2020, 5:00 AM
#855
mikecnz avatar

mikecnz

New Zenner

Join Date:
Mar 2009
Location:
New Zealand
Posts:
76
Plugin Contributions:
0

Re: Winchester Responsive

Hi,

Further to the above, I am having issues in Chrome on the detailed product listing page see:
https://www.cammellshoney.co.nz/multifloral-honey/Natures-Nectar-Raw-Honey-1kg for example. The page works fine in Firefox, but throughs a tantrum in Chrome:

Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at e.prune (addthis_widget.js:formatted:14754)
at e.add (addthis_widget.js:formatted:14739)
at Object.i [as log] (addthis_widget.js:formatted:14811)
at i (addthis_widget.js:formatted:10390)
at addthis_widget.js:formatted:9905
at HTMLDocument.onReady (addthis_widget.js:formatted:9838)

and

Uncaught ReferenceError: $info is not defined
at HTMLLIElement.activate (umf-15-manuka-honey-250gm:386)
at HTMLDivElement.<anonymous> (easyResponsiveTabs.js:23)
at HTMLDivElement.dispatch (jquery-3.3.1.min.js:2)
at HTMLDivElement.y.handle (jquery-3.3.1.min.js:2)
at Object.trigger (jquery-3.3.1.min.js:2)
at HTMLLIElement.<anonymous> (jquery-3.3.1.min.js:2)
at Function.each (jquery-3.3.1.min.js:2)
at w.fn.init.each (jquery-3.3.1.min.js:2)
at w.fn.init.trigger (jquery-3.3.1.min.js:2)
at HTMLLIElement.<anonymous> (easyResponsiveTabs.js:139)

I believe the section below is responsible for the 2nd listed error, but have no idea in relation to the first:

<script src="includes/templates/winchester_responsive/jscript/easyResponsiveTabs.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $('#horizontalTab').easyResponsiveTabs({ type: 'default', //Types: default, vertical, accordion width: 'auto', //auto or any width like 600px fit: true, // 100% fit in a container activate: function(event) { // Callback function if tab is switched var $tab = $(this); var $name = $('span', $info); $name.text($tab.text()); $info.show(); } }); Any thoughts or pointers would be appreciated.
17 Aug 2020, 6:47 AM
#856
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,771
Plugin Contributions:
9

Re: Winchester Responsive

Not sure.

WAG > a few CSS errors and the image for the honey should not have any spaces in the name. Several of your images have spaces.

Also, you usetarget="_blank "versus the correct```
target="_blank"


Lastly, a lonely <center> call in the slideout.  You should use CSS for centering.

What's weird is all the cookies it's trying to throw out there.  Are you attempting to use cloudflare?

Not seeing a problem with the site loading.
18 Aug 2020, 12:16 AM
#857
mikecnz avatar

mikecnz

New Zenner

Join Date:
Mar 2009
Location:
New Zealand
Posts:
76
Plugin Contributions:
0

Re: Winchester Responsive

Hi,

Thanks for pointing out the CSS issues - as a side note (with the exception of the image naming conventions) these are issues with the Winchester Responsive template plugin.

For anyone interested the code that produces target="_blank " - is in includes/modules/winchester-responsive/flexible_footer_menu.php - at line 35.

The lonely center call in the slideout is at line 53 of includes/languages/english/extra_definitions/winchester_responsive/winchester_responsive_defines.php

The template is calling cloudflare at:
line 98 of /includes/templates/winchester_responsive/templates/tpl_modules_mobile_categories_tabs.php
code is <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>
I have changed this to <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script> as per instructions in post 831 of this thread.
If there is a better alternative it would be helpful not only for me but for all other uses of this template.

Now back to the original issue:
The chrome browser has issues with the javascript as used by the template - I can see this not just on my website, but on others and on a demo version
https://winchester156.zencartdemo.at/index.php?main_page=product_info&cPath=1_4&products_id=1
http://cityflyers.co.uk/advertising-leaflet/advertising-leaflet-a5-page-only-ps209.99-printing-delivery
https://www.qbis.co.uk/all-christmas-lights/micro-green-wire-lights-warm-white-soft-white-multi-function-60-leds?cPath=54_83&zenid=vvgg2op64eii4hivid3cmdhvt6

Clicking through the tabs on any of these (review, details, etc) will lead to the Uncaught ReferenceError: $info is not defined.
The addthis_widget relates to the social media sharing icons below the add to cart button (if you look at one of my products or the cityflyers page in Firefox you will see this working correctly) – in Chrome it leads to the Uncaught TypeError: Cannot convert undefined or null to object.

In Chrome it also leads to layout issues and the social media sharing buttons not showing.

Chrome Version is 84.0.4147.125 (Official Build) (64-bit).

18 Aug 2020, 3:41 AM
#858
mikecnz avatar

mikecnz

New Zenner

Join Date:
Mar 2009
Location:
New Zealand
Posts:
76
Plugin Contributions:
0

Re: Winchester Responsive

Further to the above:
I managed to fix the layout of the responsive tabs in Chrome by placing the <br class="clearBoth" /> at line 173 of tpl_product_info_display.

Still no luck on the javascript errors.

18 Aug 2020, 3:59 AM
#859
mikecnz avatar

mikecnz

New Zenner

Join Date:
Mar 2009
Location:
New Zealand
Posts:
76
Plugin Contributions:
0

Re: Winchester Responsive

Above should have read "by placing the <br class="clearBoth" /> at line 173 of tpl_product_info_display inside a div"

18 Aug 2020, 9:16 AM
#860
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Winchester Responsive

mikecnz:

Hi,

Further to the above, I am having issues in Chrome on the detailed product listing page see:

......Uncaught ReferenceError: $info is not defined.....

I believe the section below is responsible for the 2nd listed error, but have no idea in relation to the first:

<script src="includes/templates/winchester_responsive/jscript/easyResponsiveTabs.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $('#horizontalTab').easyResponsiveTabs({ type: 'default', //Types: default, vertical, accordion width: 'auto', //auto or any width like 600px fit: true, // 100% fit in a container activate: function(event) { // Callback function if tab is switched var $tab = $(this); var $name = $('span', $info); $name.text($tab.text()); $info.show(); } }); Any thoughts or pointers would be appreciated.

@mikecnz, responding to your PM. I have not found a resolution for this. Having repurposed the responsive tabs from Westminster New/Winchester Responsive for use in my own template I've since found that it is also an issue on the template author's demo page - so it's not me/us.

It seems that the following line, in red, was removed from the original plugin - causing the above error:

activate: function(event) { // Callback function if tab is switched
                var $tab = $(this);
                [B]var $info = $('#nested-tabInfo');[/B]
                var $name = $('span', $info);
                $name.text($tab.text());
                $info.show();

perhaps it was removed to avoid the url being changed when switching tabs. With little knowledge I've played around, trying to resolve this - no luck.