Page 287 of 326 FirstFirst ... 187237277285286287288289297 ... LastLast
Results 2,861 to 2,870 of 3251
  1. #2861
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default 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/showpo...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)

    Code:
    <?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):

    Code:
    <?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>
    Last edited by Crunch; 13 Jan 2010 at 01:03 AM.

  2. #2862
    Join Date
    Jan 2010
    Location
    England
    Posts
    4
    Plugin Contributions
    0

    Default 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

  3. #2863
    Join Date
    Aug 2009
    Location
    Westland, Michigan
    Posts
    106
    Plugin Contributions
    0

    Default Logo for Orders and Invoices.

    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

    www.classic-flatware.com.
    "I shoot an arrow into the air, where it lands I do not care: I get my arrows wholesale!” Curly Howard

  4. #2864
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default Re: Cherry Zen Template Support Thread

    SO, I take it no one uses Cherry Zen and Zen Lightbox?????? Really?! Very strange indeed.

  5. #2865
    Join Date
    Jan 2010
    Posts
    12
    Plugin Contributions
    0

    red flag 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.

  6. #2866
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by luxurylives View Post
    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:
    Code:
    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.
    Last edited by Crunch; 31 Jan 2010 at 05:51 PM.

  7. #2867
    Join Date
    Jan 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by Crunch View Post
    I think the issue is with the name of your Cherry Zen folder as it has spaces between characters.

    Your current path to stylesheets:
    Code:
    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?

  8. #2868
    Join Date
    Jan 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by luxurylives View Post
    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

  9. #2869
    Join Date
    Jan 2010
    Posts
    12
    Plugin Contributions
    0

    help question 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?

  10. #2870
    Join Date
    May 2008
    Posts
    52
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by Crunch View Post
    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

 

 

Similar Threads

  1. Simple Zen Template - Support Thread
    By jettrue in forum Addon Templates
    Replies: 461
    Last Post: 27 Apr 2013, 01:33 AM
  2. Fresh Zen -- JellyFish Template Support Thread
    By magicbox in forum Addon Templates
    Replies: 93
    Last Post: 11 Apr 2012, 08:54 AM
  3. Free Template "Future Zen" v1.2 Support Thread
    By kuroi in forum Addon Templates
    Replies: 69
    Last Post: 16 Jul 2010, 06:00 AM
  4. Mix Cherry Zen Template with Default template
    By Globie in forum General Questions
    Replies: 1
    Last Post: 31 Oct 2008, 08:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR