Zen Cart Logo
Forums / Addon Templates / Winchester Responsive

Winchester Responsive

Views: 443,030

Results 101 to 120 of 953
13 May 2014, 9:18 PM
#101
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Winchester Responsive

DivaVocals:

I guess the admins have obliterated any mention of the template who shall not be named.. :laugh: I wish they would add a similar filter for Template Monstrosity too.. :laugh:

Okay, I have to ask: where/what is this popular responsive template that cannot be named? I just have to know....

13 May 2014, 9:31 PM
#102
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Winchester Responsive

SPH:

Okay, I have to ask: where/what is this popular responsive template that cannot be named? I just have to know....

The forum software is CLEARLY obfuscating the name, and I'm not gonna get suspended trying to circumvent this.. It's a popular template the begins with an "M" if that satisfies your curiosity....

13 May 2014, 9:47 PM
#103
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Winchester Responsive

Sooo how do I change the width of the slideshow. I tried modifying this part of the flexible slider stylesheet

.flexslider .slides img {width: 100%;height: auto !important;max-height: 300px;display: block;min-height: 300px;}

but I end up with slides the size I want but floated ALL the way to the left instead of centered.. :shocking:

13 May 2014, 10:09 PM
#104
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Winchester Responsive

DivaVocals:

The forum software is CLEARLY obfuscating the name, and I'm not gonna get suspended trying to circumvent this.. It's a popular template the begins with an "M" if that satisfies your curiosity....

I might suggest a pm (not in violation?) but if it is a commercial template then I think I know of it. Thanks.

13 May 2014, 10:20 PM
#105
servo avatar

servo

New Zenner

Join Date:
May 2014
Posts:
1
Plugin Contributions:
0

Re: Winchester Responsive

quantity not updating in shopping cart with winchester responsive template but does update fine with default template.
Zen Cart 1.5.1 - clean install
PHP 5.5.3-1
MySQL 5.5.37

Have tried reinstalling Winchester files. Any thoughts?

Other than that one hiccup the template has been great, really love the look and feel of it.

14 May 2014, 3:20 AM
#106
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Winchester Responsive

I just confirmed the quantity not updating on shopping cart - or trying to add multiple quantities on product page itself; was in desktop mode.

14 May 2014, 3:38 AM
#107
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Winchester Responsive

servo:

quantity not updating in shopping cart with winchester responsive template but does update fine with default template.
Zen Cart 1.5.1 - clean install
PHP 5.5.3-1
MySQL 5.5.37

Have tried reinstalling Winchester files. Any thoughts?

Other than that one hiccup the template has been great, really love the look and feel of it.

SPH:

I just confirmed the quantity not updating on shopping cart - or trying to add multiple quantities on product page itself; was in desktop mode.

I can't reproduce on DEMO, product info page adds and updates shopping cart page and header cart quantity. Updating Qty on shopping cart page only in desktop mode seems to not work on DEMO.

14 May 2014, 4:23 AM
#108
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Winchester Responsive

rbarbour:

I can't reproduce on DEMO, product info page adds and updates shopping cart page and header cart quantity. Updating Qty on shopping cart page only in desktop mode seems to not work on DEMO.

I concur, the update function does not work when adding or removing items on the CART page..

14 May 2014, 4:25 AM
#109
yaritai avatar

yaritai

Zen Follower

Join Date:
Apr 2014
Posts:
154
Plugin Contributions:
0

Re: Winchester Responsive

rbarbour:

Figured as much, Anne and I are working on it! Something is preventing the mobile-detect-code from firing, just a matter of hunting down what. Anne will post the corrective action as soon as we do and all should be good!

Hi rbarbour,

I will give my input as I looked into your code for 2.1 a while back to do a small task for a friend. From what I did, the issue is not with the call to mobile detect as it is working. What his site is doing was to revert back to your older code without the session switch display and it does call the correct css responsive files. This is what I did to his:

if ($detect->isMobile() && !$detect->isTablet()) {

    echo mobile.css;
} else if ($detect->isTablet()){
    echo tablet.css;
} else {
    echo default.css;
  }

When taking away the session display it works fine. It was a workaround as the switch was not important to him. So I guess for now, this may be the best alternative for those who want to use the winchester template and still have the capabilities of calling certain specific files.

I was looking at the session switch to see if that was causing the issue but didn't go further since it was not important to him.

14 May 2014, 5:33 AM
#110
yaritai avatar

yaritai

Zen Follower

Join Date:
Apr 2014
Posts:
154
Plugin Contributions:
0

Re: Winchester Responsive

Just did a quick check and it seems the session for display mode is not set upon entering the site. I did a quick test by installing your 2.1 sql file to allow for the switches in all 3 header files. Once those switches are clicked the session is then set. So use the above code changes in I think 3 files to add another condition to the if statements. Taking the code above, add it to the beginning such as:

if ($detect->isMobile() && !$detect->isTablet() or .... 2.1 code .... ) {

    echo $responsive_mobile;
} else if ($detect->isTablet() or  .... 2.1 code .... ){
    echo $responsive_tablet;
} else {
    echo $responsive_default;
  }

This will now pull the correct js, css, php files needed for devices, tablets and desktop.

yaritai:

Hi rbarbour,

I will give my input as I looked into your code for 2.1 a while back to do a small task for a friend. From what I did, the issue is not with the call to mobile detect as it is working. What his site is doing was to revert back to your older code without the session switch display and it does call the correct css responsive files. This is what I did to his:

if ($detect->isMobile() && !$detect->isTablet()) {

echo mobile.css;

} else if ($detect->isTablet()){
echo tablet.css;
} else {
echo default.css;
}

> 
> When taking away the session display it works fine.  It was a workaround as the switch was not important to him.  So I guess for now, this may be the best alternative for those who want to use the winchester template and still have the capabilities of calling certain specific files.
> 
> I was looking at the session switch to see if that was causing the issue but didn't go further since it was not important to him.
14 May 2014, 2:01 PM
#111
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Winchester Responsive

DivaVocals:

I concur, the update function does not work when adding or removing items on the CART page..

After further testing I noticed this only happens when the screen gets resized below the 768px width, at full width, it seems to function correctly.

14 May 2014, 2:13 PM
#112
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Winchester Responsive

rbarbour:

After further testing I noticed this only happens when the screen gets resized below the 768px width, at full width, it seems to function correctly.

Not in my findings.. and I have this installed on two dev sites.. I see the same behavior on the demo site for this template as well..

14 May 2014, 2:14 PM
#113
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Winchester Responsive

SPH:

but if it is a commercial template then I think I know of it. Thanks.It is indeed a commercial template.. available on Theme Forrest

14 May 2014, 2:19 PM
#114
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Winchester Responsive

rbarbour:

After further testing I noticed this only happens when the screen gets resized below the 768px width, at full width, it seems to function correctly.

25" monitor (1920 x 1080), desktop, windows7, firefox29.0.1

Cannot update product quantity in CART screen. Items can be deleted.

If you "view-source", is the issue related to 2 instances of the cart being in the code but only one instance actually visible on the screen?

<!--eof handheld menu display-->

<div id="mobile-nav1">

<a href="http://sandbox.info/index.php?main_page=account"><i class="fa fa-user"></i></a>

<a href="http://sandbox.info/index.php?main_page=advanced_search"><i class="fa fa-search"></i></a>

<div id="header-cart">
   <a href="http://sandbox.info/index.php?main_page=shopping_cart">0.3  - $8.35</a>
       </div>
</div>


<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
    <ul class="back">
    <li class="h-login"><a href="http://sandbox.info/index.php?main_page=login">Log In / Register</a></li>
</ul>
</div>
<br class="clearBoth" />
<div id="header-cart">
    <a href="http://sandbox.info/index.php?main_page=shopping_cart">0.3  - $8.35</a>
   </div>
<!--eof-navigation display-->

One of the edits that Anne gave me last week actually caused BOTH instances to be visible.

14 May 2014, 2:37 PM
#115
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Winchester Responsive

yaritai:

Hi rbarbour,

I will give my input as I looked into your code for 2.1 a while back to do a small task for a friend. From what I did, the issue is not with the call to mobile detect as it is working. What his site is doing was to revert back to your older code without the session switch display and it does call the correct css responsive files. This is what I did to his:

if ($detect->isMobile() && !$detect->isTablet()) {

echo mobile.css;

} else if ($detect->isTablet()){
echo tablet.css;
} else {
echo default.css;
}

> 
> When taking away the session display it works fine.  It was a workaround as the switch was not important to him.  So I guess for now, this may be the best alternative for those who want to use the winchester template and still have the capabilities of calling certain specific files.
> 
> I was looking at the session switch to see if that was causing the issue but didn't go further since it was not important to him.

Yes, you are correct! The above code from 2.0 will suffice for those not looking to use the template display_mode switch.

For those of you that want to use or was expecting to use the core template display_mode switch functions included in my 2.1 framework that I forgot to copy over before submitting, Anne is now and always accepting donations to **RESTORE** this function. LOL, just kidding, no really. (Made me laugh! :laugh:, my own personal inside joke)

In: \includes\templates\winchester_responsive\common\html_header.php

find:

if ($detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile'){

echo $responsive_mobile;

} else if ($detect->isMobile() && $_SESSION['display_mode']=='isTablet' or $detect->isTablet() && $_SESSION['display_mode']=='isTablet' or $_SESSION['display_mode']=='isTablet'){

echo $responsive_tablet;

} else if ($detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $_SESSION['display_mode']=='isNonResponsive'){

echo '';

} else {

echo $responsive_default;

}
}


and replace with:

if ($detect->isMobile() && !$detect->isTablet() or $detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile') {

echo $responsive_mobile;

} else if ($detect->isTablet() or $detect->isMobile() && $_SESSION['display_mode']=='isTablet' or $detect->isTablet() && $_SESSION['display_mode']=='isTablet' or $_SESSION['display_mode']=='isTablet'){

echo $responsive_tablet;

} else if ($detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $_SESSION['display_mode']=='isNonResponsive'){

echo '';

} else {

echo $responsive_default;

}
}


I am sure Anne will update promptly!

@DivaVocals, Crystal

The above should work now with the scroller as well.

<?php if ($detect->isMobile() && !$detect->isTablet() or $detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile') { ?> <script type="text/javascript"><!-- $(document).ready(function() { $("#foo1").carouFredSel({ auto: false, align: "center", padding: [0, 25, 0, 20], width: "100%", height: "auto", items: { }, scroll: 1, <!--SHOW 1 ON PHONES--> prev : { button : "#foo1_prev", }, next : { button : "#foo1_next", } }); }); --></script> <?php } else if ($detect->isTablet() or $detect->isMobile() && $_SESSION['display_mode']=='isTablet' or $detect->isTablet() && $_SESSION['display_mode']=='isTablet' or $_SESSION['display_mode']=='isTablet'){ ?> <script type="text/javascript"><!-- $(document).ready(function() { $("#foo1").carouFredSel({ auto: false, align: "center", padding: [0, 25, 0, 20], width: "100%", height: "auto", items: { }, scroll: 3, <!--SHOW 3 ON TABLETS--> prev : { button : "#foo1_prev", }, next : { button : "#foo1_next", } }); }); --></script> <?php } else if ($detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $_SESSION['display_mode']=='isNonResponsive'){ ?> <script type="text/javascript"><!-- $(document).ready(function() { $("#foo1").carouFredSel({ auto: false, align: "center", padding: [0, 25, 0, 20], width: "100%", height: "auto", items: { }, scroll: 5, <!--SHOW 5 ON NON-RESPONSIVE DESKTOPS--> prev : { button : "#foo1_prev", }, next : { button : "#foo1_next", } }); }); --></script> <?php } else { ?> <script type="text/javascript"><!-- $(document).ready(function() { $("#foo1").carouFredSel({ auto: false, align: "center", padding: [0, 25, 0, 20], width: "100%", height: "auto", items: { }, scroll: 4, <!--SHOW 4 ON RESPONSIVE DESKTOPS--> prev : { button : "#foo1_prev", }, next : { button : "#foo1_next", } }); }); --></script> <?php } ?>
14 May 2014, 2:47 PM
#116
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

rbarbour:

Yes, you are correct! The above code from 2.0 will suffice for those not looking to use the template display_mode switch.

For those of you that want to use or was expecting to use the core template display_mode switch functions included in my 2.1 framework that I forgot to copy over before submitting, Anne is now and always accepting donations to RESTORE this function. LOL, just kidding, no really. (Made me laugh! :laugh:, my own personal inside joke)

In: \includes\templates\winchester_responsive\common\html_header.php

find:

if ($detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile'){

echo $responsive_mobile;

} else if ($detect->isMobile() && $_SESSION['display_mode']=='isTablet' or $detect->isTablet() && $_SESSION['display_mode']=='isTablet' or $_SESSION['display_mode']=='isTablet'){

echo $responsive_tablet;

} else if ($detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $_SESSION['display_mode']=='isNonResponsive'){

echo '';

} else {

echo $responsive_default;

}
}

> 
> and replace with:
> ```
if ($detect->isMobile() && !$detect->isTablet() or $detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile') {

    echo $responsive_mobile;

} else if ($detect->isTablet() or $detect->isMobile() && $_SESSION['display_mode']=='isTablet' or $detect->isTablet() && $_SESSION['display_mode']=='isTablet' or $_SESSION['display_mode']=='isTablet'){

    echo $responsive_tablet;

} else if ($detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $_SESSION['display_mode']=='isNonResponsive'){

    echo '';

} else {

    echo $responsive_default;

  }  
}

I am sure Anne will update promptly!

@DivaVocals, Crystal

The above should work now with the scroller as well.

<?php if ($detect->isMobile() && !$detect->isTablet() or $detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile') { ?> <script type="text/javascript"><!-- $(document).ready(function() { $("#foo1").carouFredSel({ auto: false, align: "center", padding: [0, 25, 0, 20], width: "100%", height: "auto", items: { }, scroll: 1, <!--SHOW 1 ON PHONES--> prev : { button : "#foo1_prev", }, next : { button : "#foo1_next", } }); }); --></script> <?php } else if ($detect->isTablet() or $detect->isMobile() && $_SESSION['display_mode']=='isTablet' or $detect->isTablet() && $_SESSION['display_mode']=='isTablet' or $_SESSION['display_mode']=='isTablet'){ ?> <script type="text/javascript"><!-- $(document).ready(function() { $("#foo1").carouFredSel({ auto: false, align: "center", padding: [0, 25, 0, 20], width: "100%", height: "auto", items: { }, scroll: 3, <!--SHOW 3 ON TABLETS--> prev : { button : "#foo1_prev", }, next : { button : "#foo1_next", } }); }); --></script> <?php } else if ($detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $_SESSION['display_mode']=='isNonResponsive'){ ?> <script type="text/javascript"><!-- $(document).ready(function() { $("#foo1").carouFredSel({ auto: false, align: "center", padding: [0, 25, 0, 20], width: "100%", height: "auto", items: { }, scroll: 5, <!--SHOW 5 ON NON-RESPONSIVE DESKTOPS--> prev : { button : "#foo1_prev", }, next : { button : "#foo1_next", } }); }); --></script> <?php } else { ?> <script type="text/javascript"><!-- $(document).ready(function() { $("#foo1").carouFredSel({ auto: false, align: "center", padding: [0, 25, 0, 20], width: "100%", height: "auto", items: { }, scroll: 4, <!--SHOW 4 ON RESPONSIVE DESKTOPS--> prev : { button : "#foo1_prev", }, next : { button : "#foo1_next", } }); }); --></script> <?php } ?>

I can not thank you enough for working on the fix and posting it :hug:  I am working on all of the fixes included so far in this thread and will be submitting an update asap!

Thanks,

Anne
14 May 2014, 2:48 PM
#117
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Winchester Responsive

The Demo Site was updated with new php-mobile-detect code as well, please report any errors or findings. Remember not 100% of all devices will be detected and most tablets are now using mobile browsers.

14 May 2014, 2:50 PM
#118
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

DivaVocals:

Sooo how do I change the width of the slideshow. I tried modifying this part of the flexible slider stylesheet

.flexslider .slides img {width: 100%;height: auto !important;max-height: 300px;display: block;min-height: 300px;}

> 
> but I end up with slides the size I want but floated ALL the way to the left instead of centered.. :shocking:

If you put a width on the .content-slider, the slide show will expand to fit the width you have specified.

Thanks,

Anne
14 May 2014, 2:50 PM
#119
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Winchester Responsive

DivaVocals:

Not in my findings.. and I have this installed on two dev sites.. I see the same behavior on the demo site for this template as well..

RixStix:

25" monitor (1920 x 1080), desktop, windows7, firefox29.0.1

Cannot update product quantity in CART screen. Items can be deleted.

If you "view-source", is the issue related to 2 instances of the cart being in the code but only one instance actually visible on the screen?

One of the edits that Anne gave me last week actually caused BOTH instances to be visible.

I will take a look at this today and post the corrective actions.

14 May 2014, 2:53 PM
#120
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

rbarbour:

I will take a look at this today and post the corrective actions.

Thank you for your help, rbarbour. I will take a look also ;)

Thanks,

Anne