My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Dave
Always forward thinking... Lost my mind!
I need a bit of help please. I am installing the colorbox plugin, and I already have the jscript_jquery.min.php file in my template (avonlee contempo). I don't understand about merging these or if one should replace the other:
colorbox:
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
document.write(unescape("%3Cscript src='//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
avonlee:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.easing.1.3.js' ?>" type="text/javascript"></script>
Zen Cart 1.5.3, Database Patch Level: 1.5.3
Server OS: Linux 2.6.32, Database: MySQL 5.5.41
HTTP Server: Apache, PHP Version: 5.4.37
also, I cannot find anything on in this support thread nor readme about what to do (if anything) with the files in 2_support_files/assets/
Zen Cart 1.5.3, Database Patch Level: 1.5.3
Server OS: Linux 2.6.32, Database: MySQL 5.5.41
HTTP Server: Apache, PHP Version: 5.4.37
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Yes, keep the latest greatest version... upgrade to meet the needs. The latest will have bug fixes... however... delete the jscript_jquery-min.js file.... why duplicate min when your loading it from Google! also, only keep one call to get min... don't need to duplicate the load, it will only server to slow your site down.
personally, I like to get the version of jquery I want to use and drop it into the script folder with the version within the name like
jscript_jquery-1.11.1.min.js, remove the calls to get it. old habits... if I can't read the code, I don't use it..
the down side to this, I'll have to go get the bug fixes myself... the upside, it's available to anything that requires it... let your template load jquary and comment out colorbox call...
colorbox works with jquary-1.11.1.min too... forgot I upgrade to it.... tested with jquary-1.11.0 on ZC 1.5.3
Dave
Always forward thinking... Lost my mind!
I saw the difference in version that you highlighted, BUT I do not understand the language and therefore do not understand if there is a difference in what is being done in the way the code is written (the 2 APPEAR to be completely different, so therefore I do not know if different things are being done)
OR are you basically saying that if I change this:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.easing.1.3.js' ?>" type="text/javascript"></script>
to this:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.easing.1.3.js' ?>" type="text/javascript"></script>
that it can be used WITHOUT even uploading the other?
OTHER QUESTION PLEASE:
When I use the default pop-up (colorbox false), the pop-up large image window closes upon clicking anywhere on it.
Should the colorbox close in the same way, by clicking anywhere on the image?
It closes upon clicking off the image area (overlay).
Zen Cart 1.5.3, Database Patch Level: 1.5.3
Server OS: Linux 2.6.32, Database: MySQL 5.5.41
HTTP Server: Apache, PHP Version: 5.4.37
I take that back... when I click on the medium image from the product info page, the browser window changes to a window displaying the large image, with the image shrunk to fit the window/page size. When I click on the image it goes from fit to full size with a magnifying glass from - to +.
To return (close the large image) I must click on the back arrow on the browser (setting: Close on Overlay Click = true)
Esc also does not close it. Tried 2 different browsers too.
Last edited by stiggybaby; 2 Aug 2014 at 05:00 PM.
Zen Cart 1.5.3, Database Patch Level: 1.5.3
Server OS: Linux 2.6.32, Database: MySQL 5.5.41
HTTP Server: Apache, PHP Version: 5.4.37
OHHHHHHH Divaaaaaaa!!!!!
I figured you would know better than me...does colorbox work with IH4 in 1.5.3?
I know that the Zen Lightbox does due to the shared file but was wondering if this mod would work too and if so what to do with the shared file. I don't think the colorbo file includes the needed info for IH, does it?
Hi Fellow Zenners
I really like the look of this addon and it installed without a glitch or so I thought... I have no tried to add additional images i.e. picture (Main) picture_2 and picture_3 and they show up in my products page as expected but for some reason only the main image "picture" open inside the color box. The two additional image open in what looks like the standard Zen Cart browser kinda thing. Please help
![]()
Bookmarks