Re: Responsive Sheffield Blue V 2.0!
rbarbour:
Just to be sure I know what I am doing, are these the 3 files I need to upload:
Quote:
CATALOG_FILES/includes/templates/responsive_default/jscript/jquery.matchHeight.js
CATALOG_FILES/includes/templates/responsive_default/jscript/jscript_matchHeight-min.js
CATALOG_FILES/includes/templates/responsive_default/jscript/jscript_responsive_framework.php
Thank you,
Silver
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
SilverHD
rbarbour:
Just to be sure I know what I am doing, are these the 3 files I need to upload:
Thank you,
Silver
See post 855 and 857
Re: Responsive Sheffield Blue V 2.0!
rbarbour:
I see what you are saying but the codes are different.
This is the code that you say to create on post 855:
create:
Code:
Code:
/includes/templates/responsive_sheffield_blue/jscript/jscript_matchHeight.php
but the actual code is:
Code:
/includes/templates/responsive_sheffield_blue/jscript/jquery.matchHeight.js
So, either I have made a mistake, I don't understand, or something else is wrong??
Thanks,
Silver
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
SilverHD
CATALOG_FILES/includes/templates/responsive_default/jscript/jquery.matchHeight.js
Forget about this one
Quote:
Originally Posted by
SilverHD
CATALOG_FILES/includes/templates/responsive_default/jscript/jscript_matchHeight-min.js
upload this one
Quote:
Originally Posted by
SilverHD
CATALOG_FILES/includes/templates/responsive_default/jscript/jscript_responsive_framework.php
Forget about this one
create one:
Code:
/includes/templates/responsive_sheffield_blue/jscript/jscript_matchHeight.php
paste this code in above:
Code:
<?php
/**
* @package templateSystem
* @copyright Copyright 2003-2016 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version ZCA/GIT: $Id: rbarbour New for v1.5.5 $
*/
?>
<script type="text/javascript"><!--//
(function($) {
$(document).ready(function() {
$('.centerBoxContentsProducts').matchHeight();
});
}) (jQuery);
//--></script>
Re: Responsive Sheffield Blue V 2.0!
matchHeight
Quote:
Originally Posted by
rbarbour
See post 855 and 857
zc 1.5.5a with Responsive Sheffiled Blue, IH4 and other mods.
Does matchHeight not play nice with IH4 and/or Colorbox or other mods with jscripts? With the changes as in post 855 and 857 I don't see anything different on my pages and my images open individually in a new window :(not a popup), with no close/previous/next facility.
Clicking on any product also generates the following errors in Firebug:
Quote:
ReferenceError: jQuery is not defined
this.options)});b._afterUpdate&&b._afterUpdate(a,b._groups)};b._update=function( ...
jscript...-min.js (line 11, col 1)
TypeError: $.browser is undefined
msie = $.browser.msie,
jQuery_...nner.js (line 25, col 2)
TypeError: $(...).matchHeight is not a function
$('.centerBoxContentsProducts').matchHeight();
The errors don't occur when site is initially opened but do occur when anything is clicked on, including refresh page.
I have replicated this on my live site but have taken the matchHeight files off while I sort this. I still have them on my test site to continue playing with.
If I switch to responsive classic template I get this error:
Quote:
TypeError: $(...).colorbox is not a function
$("a[rel^='colorbox']").colorbox({opacity:0.6,speed:400,initialWidth:250,initial...
and the product images appear in popups as I would expect.
Using max-height in my css has my product listing boxes evenly set so I am in no panic. I'm just curious and always looking to improve my understanding.
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
rbarbour
Forget about this one
upload this one
Forget about this one
create one:
Code:
/includes/templates/responsive_sheffield_blue/jscript/jscript_matchHeight.php
paste this code in above:
Code:
<?php
/**
* @package templateSystem
* @copyright Copyright 2003-2016 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version ZCA/GIT: $Id: rbarbour New for v1.5.5 $
*/
?>
<script type="text/javascript"><!--//
(function($) {
$(document).ready(function() {
$('.centerBoxContentsProducts').matchHeight();
});
}) (jQuery);
//--></script>
Thank you for posting the instructions for this ;)
I have been working on the upgrades for the template packages. Thank you so much for your help with converting them to the new DIY package. I like the new one better because there are no core file overwrites. It will make future upgrades so much easier.
Thanks,
Anne
Re: Responsive Sheffield Blue V 2.0!
rbarbour:
I am not trying to be difficult here, but could you be a bit more clear. Which one should I upload and which one should I forget? Just a bit confused.
Thanks,
Silver
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
SilverHD
rbarbour:
I am not trying to be difficult here, but could you be a bit more clear. Which one should I upload and which one should I forget? Just a bit confused.
Thanks,
Silver
Code:
Forget about this one
CATALOG_FILES/includes/templates/responsive_default/jscript/jquery.matchHeight.js
Code:
Forget about this one
CATALOG_FILES/includes/templates/responsive_default/jscript/jscript_responsive_framework.php
Code:
upload this one
CATALOG_FILES/includes/templates/responsive_default/jscript/jscript_matchHeight-min.js
create this one:
Code:
/includes/templates/responsive_sheffield_blue/jscript/jscript_matchHeight.php
and add this code to it:
PHP Code:
<?php
/**
* @package templateSystem
* @copyright Copyright 2003-2016 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version ZCA/GIT: $Id: rbarbour New for v1.5.5 $
*/
?>
<script type="text/javascript"><!--//
(function($) {
$(document).ready(function() {
$('.centerBoxContentsProducts').matchHeight();
});
}) (jQuery);
//--></script>
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
picaflor-azul
Thank you for posting the instructions for this ;)
I have been working on the upgrades for the template packages. Thank you so much for your help with converting them to the new DIY package. I like the new one better because there are no core file overwrites. It will make future upgrades so much easier.
Thanks,
Anne
Glad I could help! :smile:
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
soxophoneplayer
matchHeight
zc 1.5.5a with Responsive Sheffiled Blue, IH4 and other mods.
Does matchHeight not play nice with IH4 and/or Colorbox or other mods with jscripts? With the changes as in post 855 and 857 I don't see anything different on my pages and my images open individually in a new window :(not a popup), with no close/previous/next facility.
Clicking on any product also generates the following errors in Firebug:
The errors don't occur when site is initially opened but do occur when anything is clicked on, including refresh page.
I have replicated this on my live site but have taken the matchHeight files off while I sort this. I still have them on my test site to continue playing with.
If I switch to responsive classic template I get this error: and the product images appear in popups as I would expect.
Using max-height in my css has my product listing boxes evenly set so I am in no panic. I'm just curious and always looking to improve my understanding.
Shouldn't be any conflict. The error indicated, states that is can't find matchHeight, make sure it is loading.
Take a look at post 928 to make sure /jscript/jscript_matchHeight-min.js is in place.