Zen Cart Logo
Forums / Addon Templates / Cherry Zen Template Support Thread

Cherry Zen Template Support Thread

Views: 844,971

Results 2,861 to 2,880 of 3,245
12 Jan 2010, 12:20 PM
#2861
jhbsnoopy avatar

jhbsnoopy

New Zenner

Join Date:
Jan 2010
Posts:
7
Plugin Contributions:
0

Cherry Zen Template Support Thread

what if you don't have an ftp and u are only using a Control Panel, does this one works? and which file should be uploaded. Please help.thanks:(

12 Jan 2010, 8:41 PM
#2862
crunch avatar

crunch

Zen Follower

Join Date:
Mar 2009
Posts:
227
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Wasn't sure if I should post this in the Zen Lightbox forum or here, but seems like a template issue.

Cherry Zen template and Zen Lightbox are not behaving together.

I just installed Zen Lightbox Version 1.5 (Release Date: 2008-12-18) and there is an issue with the image displayed on the product page.

Best that I can describe it is that the image background border and text "Larger Image" is extended down vertically.

I've included two pictures below:

With Zen Lightbox installed:

Without Zen Lightbox installed:

I saw some threads with references to version v1.4 having issues with Cherry Zen (fixed in v1.5), but not the issue I am experiencing.

The only Cherry Zen file Zen Lightbox overwrote was /includes/templates/cherry_zen/templates/tpl_modules_main_product_image.php, so I am pretty sure the issue lies in there. I just don't know how to fix this.

Anyone using Cherry Zen v1.7 and Zen Lightbox v1.5 with this image issue?

12 Jan 2010, 11:58 PM
#2863
crunch avatar

crunch

Zen Follower

Join Date:
Mar 2009
Posts:
227
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

I found post **2075 **in this thread that appears to be a fix for this issue (described as an issue with shadows so I didn't catch that initially), but it was a entire file replace of tpl_modules_main_product_image.php (that ships with v1.4 of Zen Lightbox) Zen Lightbox is now at v1.5.
http://www.zen-cart.com/forum/showpost.php?p=625261&postcount=2075

When comparing v1.4 of tpl_modules_main_product_image.php and v1.5 there appears to be some changes that makes we worried about doing an entire copy and paste fix for v1.4. Since I was testing anyway, I did a complete copy and paste and it actually fixed the image problem, but it created a new problem with duplicating images (described in more detail below).

Thinking this had to do with new v1.5 Zen Lightbox code in tpl_modules_main_product_image.php that was overwritten in the fix for v1.4, I looked at what the fix actually changed and applied only those specific changes to the v1.5 Zen Lightbox code and copied in only the specific changes in the fix for v1.4. It still fixed the problem, but the same issue arises with duplication of additional images.

Duplication of First Additional Image in popup gallery- side effect to the fix posted below.
When you have additional images on your product, Zen Lightbox will add a NEXT and a PREV to your main product image when you click the image to enlarge it. If you click NEXT, it duplicates the first image again. If you click next it will then go on to the actual next additional image.

If you don't have any additional images, it will still add a NEXT and a PREV to your main product image when you click the image to enlarge it. If you click NEXT, it duplicates that image again as it thinks it's an additional image (says there are 2 images in the gallery).

I can't figure out where it's duplicating the first image and thinking it's an additional image even if you don't have an additional image. Any ideas?

So, for anyone using Zen Lightbox v1.5 and Cherry Zen template v1.7 and you notice the issue on your product page with a vertically extended image border/background/shadow, the following copy and replace below will fix that.

NOTE: Again, this fixes the one problem, but has a side effect causing your first image to be considered an additional image and duplicate it when clicking through the popup gallery (even if you only have one image). Anyone know how to fix that?

Replace all of the following code inside of /includes/templates/cherry_zen/templates/tpl_modules_main_product_image.php (Zen Lightbox v1.5 file)

<?php
/**
 * Module Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_modules_main_product_image.php 3208 2006-03-19 16:48:57Z birdbrain $
 */
?>
<?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?> 
<div id="productMainImage" class="centeredContent back">
<?php // bof Zen Lightbox 2008-12-15 aclarke ?>
<?php
if (ZEN_LIGHTBOX_STATUS == 'true') {
  if (ZEN_LIGHTBOX_GALLERY_MODE == 'true' && ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE == 'true') {
    $rel = 'lightbox-g';
  } else {
    $rel = 'lightbox';
  }
?>
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="' . $rel . '" title="' . addslashes($products_name) . '">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
//--></script>
<?php } else { ?>
<?php // eof Zen Lightbox 2008-12-15 aclarke ?>
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
//--></script>
<?php // bof Zen Lightbox 2008-12-15 aclarke ?>
<?php } ?>
<?php // eof Zen Lightbox 2008-12-15 aclarke ?>
<noscript>
<?php
  echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
?>
</noscript>
</div>

With this (I highlighted in pink all that changed to fix the issue):

<?php
/**
 * Module Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_modules_main_product_image.php 3208 2006-03-19 16:48:57Z birdbrain $
 */
?>
<?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?> 
<div id="productImage" class="centeredContent back">
<?php // bof Zen Lightbox 2008-12-15 aclarke ?>
<?php
if (ZEN_LIGHTBOX_STATUS == 'true') {
  if (ZEN_LIGHTBOX_GALLERY_MODE == 'true' && ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE == 'true') {
    $rel = 'lightbox-g';
  } else {
    $rel = 'lightbox';
  }
?>
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<div id="productMainImage"><a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="' . $rel . '" title="' . addslashes($products_name) . '">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</div><br class="clearBoth" /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
//--></script>
<?php } else { ?>
<?php // eof Zen Lightbox 2008-12-15 aclarke ?>
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<div id="productMainImage"><a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</div><br class="clearBoth" /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
//--></script>
<?php // bof Zen Lightbox 2008-12-15 aclarke ?>
<?php } ?>
<?php // eof Zen Lightbox 2008-12-15 aclarke ?>
<noscript>
<?php
  echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
?>
</noscript>
</div>
17 Jan 2010, 10:10 AM
#2864
rabbitbirkenhead avatar

rabbitbirkenhead

New Zenner

Join Date:
Jan 2010
Location:
England
Posts:
4
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Hi Jade, nice job and yes the fruits look tasty.

I did notice one thing in FF Mac OS and WPC on the "Contact Us" page the word "Message" is slightly out of alignment, by about -3px taking a margin line from the two lines above, sorry to be picky, you've done a fab job overall and must have worked hard on this project.

Best regards
Warren:smile:

22 Jan 2010, 5:08 PM
#2865
golden_synergy avatar

golden_synergy

Zen Follower

Join Date:
Aug 2009
Location:
Westland, Michigan
Posts:
107
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

I would like to have my logo on my Invoice and order forms. What do I need to do to remove Powered by Zencart logo, and put my logo there?

Thank You.
Mark

https://www.classic-flatware.com.

31 Jan 2010, 4:21 PM
#2867
luxurylives avatar

luxurylives

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

I have installed several templates and never had this issue before. After installing Cherry Zen it looked GREAT but all the sideboxes were hidden. So I reset the layout boxes. After I did that it only shows the header. I deleted it and uninstalled several times same thing.

Here is the website (sorry I hate posting my urls in forms)

I also tried the debugging tool but I'm not that advanced. I uploaded the file to the correct location but I don't know what to do after that.

31 Jan 2010, 4:47 PM
#2868
crunch avatar

crunch

Zen Follower

Join Date:
Mar 2009
Posts:
227
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

luxurylives:

I have installed several templates and never had this issue before. After installing Cherry Zen it looked GREAT but all the sideboxes were hidden. So I reset the layout boxes. After I did that it only shows the header. I deleted it and uninstalled several times same thing.

I think the issue is with the name of your Cherry Zen folder as it has spaces between characters.

Your current path to stylesheets:

includes/templates/Cherry Zen 1.7/css/stylesheet.css

I would start over again and in the cherry zen 1.7 folder that is created when you unzip the package on your computer, there should be another folder inside named, cherry_zen. That is the one you want to upload to the server.

31 Jan 2010, 5:07 PM
#2869
luxurylives avatar

luxurylives

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Crunch:

I think the issue is with the name of your Cherry Zen folder as it has spaces between characters.

Your current path to stylesheets:

includes/templates/Cherry Zen 1.7/css/stylesheet.css

> 
> I would start over again and in the cherry zen 1.7 folder that is created when you unzip the package on your computer, there should be another folder inside named, cherry_zen.  That is the one you want to upload to the server.


So I uploaded the cherry_zen folder and the same thing happened. It showed the site but no sideboxes. Then I reset the sideboxes & the site disappearded (header still there). :(

It's sad but this is the only template I really want to use but yet it is giving me issue. Can anyone think of any other solutions?
3 Feb 2010, 1:16 PM
#2870
luxurylives avatar

luxurylives

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

luxurylives:

So I uploaded the cherry_zen folder and the same thing happened. It showed the site but no sideboxes. Then I reset the sideboxes & the site disappearded (header still there). :(

It's sad but this is the only template I really want to use but yet it is giving me issue. Can anyone think of any other solutions?

Resolved ty

3 Feb 2010, 1:21 PM
#2871
luxurylives avatar

luxurylives

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

How do I align the left sidebox text/content?

  • After installing a footer mod it became centered & I don't see a fix in the footer mod files. I'm sure I can change this in my stylesheet but not sure how to code it.

website

Also how do I remove Zencart from the title bar in windows?

4 Feb 2010, 10:35 PM
#2872
centec2b avatar

centec2b

New Zenner

Join Date:
May 2008
Posts:
52
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Crunch:

I found post **2075 **in this thread that appears to be a fix for this issue (described as an issue with shadows so I didn't catch that initially),...................So, for anyone using Zen Lightbox v1.5 and Cherry Zen template v1.7 and you notice the issue on your product page with a vertically extended image border/background/shadow, the following copy and replace below will fix that.

Crunch, All, good evening

I have exactly the same problem as you have described ie elongation of the product image caption and the drop shadow using Cherry Zen and Zen Lightbox. Part of the problem has been trying to find information in the forum as the problem is not easily described

I have IH2 installed and at first thought it might be something conflict in there. But by process of elimination the problem only occurs with the introduction of Lightbox. Turning Lightbox off does not assist in any way

For information I am running latest version of Zen in a test environment under Xammp - other contributions do not touch core files

4 Feb 2010, 11:58 PM
#2873
centec2b avatar

centec2b

New Zenner

Join Date:
May 2008
Posts:
52
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Crunch, All

I have repeated the exercise with fual_slimbox and I get exactly the same problem using the same parameters. See item http://www.zen-cart.com/forum/showthread.php?p=838824#post838824

Given the potential for multi responses please would a moderator indicate where responses should be posted. Given the difficulty of describing the issue, should a brief report be mentioned in the Zen Lightbox thread?

Cheers

Centec2b

5 Feb 2010, 1:03 AM
#2874
crunch avatar

crunch

Zen Follower

Join Date:
Mar 2009
Posts:
227
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Centec2b,

It's a Cherry Zen template issue (I also recall the issue happens in the other other templates by Jade). The problem doesn't happen with other templates I tested.

The problem also happens with the other Lightboxes (I tested with Fual and also some jquery lightbox) and both exhibited the same behavior. It's something with Cherry Zen.

I actually gave up as there were no responses to my post and I was tiring of installing these lightbox mods on test copies of my site and hacking around with code. I could only get so far and my patience ran out. After thee weeks I figured the cherry zen community either could care less, found a workaround they are not wanting to share, just live with the quirk or use the old v1.4 version of Lightbox with fix (which I am pretty sure causes the duplicating image issue).

There is a message from a year ago in the Zen Lightbox forum that he had another fix in place to make Cherry Zen fully functional and it would be released in Zen Lightbox v1.6. The problem is that the original mod developer is not working on lightbox anymore hence no version 1.6.

As I originally posted, there is a fix for v1.5 and cherry zen shadow box issue, but it causes a secondary issue with duplicating images.

I chose to remove Zen Lightbox as the shadow box fix caused a duplicating image side effect and it irritated me . I actually would like to stop using Cherry Zen and customize another template, but I have too many things customized and contribution code hacked in right now and don't want the hassle of starting over with a new template.

5 Feb 2010, 1:30 AM
#2875
centec2b avatar

centec2b

New Zenner

Join Date:
May 2008
Posts:
52
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Crunch:

Centec2b,

It's a Cherry Zen template issue.... that he had another fix in place to make Cherry Zen fully functional and it would be released in Zen Lightbox v1.6. The problem is that the original mod developer is not working on lightbox anymore hence no version 1.6...I chose to remove Zen Lightbox as the shadow box fix caused a duplicating image side effect and it irritated me...

Hello Crunch

Understood. I think the Lightbox concept is brilliant, but share the concern and until a solution occurs would be reluctant to put on my live site.

I will try to effect something, but I am afraid it will be by experiment...

Cheers!

Centec2b

6 Feb 2010, 10:12 PM
#2876
feanix02 avatar

feanix02

New Zenner

Join Date:
Dec 2008
Posts:
14
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Hello,

Was anyone able to correctly get the DGreviews mod working?

To show the product reviews on the actual product page without having to click the "read reviews" button?

It seems no matter where I edit the tpl_product_info_display in cherry_zen it breaks the product page.

14 Feb 2010, 10:35 AM
#2877
frank18 avatar

frank18

Deceased

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

Re: Cherry Zen Template Support Thread

I have disabled my left sideboxes for all the checkout pages by adding this to includes/templates/cherry_zen/common/tpl_main_page.php

if (in_array($current_page_base,explode(",",'login,checkout_shipping,checkout_payment,checkout_confirmation,checkout_success')) ) {
$flag_disable_left = true;
}

Works all well - BUT:

I still have the grey background showing on the left whilst the background of the main body is white.

Not being very savvy with stylesheets how can I invoke that the background of the LHS on these page also appears white?:unsure:

Just does not look right as it is.

URL https://www.frnt.org/zencart

Just hit the login button and you can see what I mean.

Thanks in advance

Frank

15 Feb 2010, 2:14 AM
#2878
frank18 avatar

frank18

Deceased

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

Re: Cherry Zen Template Support Thread

All good - changed the sidebox background image to white which renders the sideboxes white on a global basis.

Thanks anyway

23 Feb 2010, 12:07 AM
#2879
golden_synergy avatar

golden_synergy

Zen Follower

Join Date:
Aug 2009
Location:
Westland, Michigan
Posts:
107
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Golden Synergy:

I would like to have my logo on my Invoice and order forms. What do I need to do to remove Powered by Zencart logo, and put my logo there?

Thank You.
Mark

https://www.classic-flatware.com.

Does anybody have a fix for this ?:huh:
Can I add my logo on the Invoice? I really don't care if Zencart logo is there, I just think if my logo is there the customer would not be confused.

https://www.classic-flatware.com

Mark

23 Feb 2010, 10:08 AM
#2880
daymobrew avatar

daymobrew

New Zenner

Join Date:
Oct 2008
Posts:
48
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Golden Synergy:

Does anybody have a fix for this ?:huh:
Can I add my logo on the Invoice? I really don't care if Zencart logo is there, I just think if my logo is there the customer would not be confused.

https://www.classic-flatware.com I went to the Zen Cart Tutorials/FAQ and searched for "logo". I got 7 articles.
These 5 look most relevant:
https://www.zen-cart.com/tutorials/index.php?article=256
https://www.zen-cart.com/tutorials/index.php?article=158
https://www.zen-cart.com/tutorials/index.php?article=125
https://www.zen-cart.com/tutorials/index.php?article=112
https://www.zen-cart.com/tutorials/index.php?article=126