Results 1 to 3 of 3
  1. #1
    Join Date
    May 2007
    Posts
    95
    Plugin Contributions
    0

    Default additional images block extra br tag

    PHP Code:
       <div class="additionalImages centeredContent back" style="width:100%;">
          <
    script language="javascript" type="text/javascript"><!--
    document.write('<a href="images/large/EAM4300_1_LRG.PNG" rel="lightbox[gallery]" title="FULLY AUTOMATIC ESPRESSO COFFEE MAKERS"><img src="images/EAM4300_1.PNG" alt="FULLY AUTOMATIC ESPRESSO COFFEE MAKERS" title=" FULLY AUTOMATIC ESPRESSO COFFEE MAKERS " width="200" height="78" /></a>');
    //--></script>
          
    <noscript><a href="http://localhost/osx/index.php?main_page=popup_image_additional&amp;pID=8&amp;pic=0&amp;products_image_large_additional=images/large/EAM4300_1_LRG.PNG" target="_blank"><img src="images/EAM4300_1.PNG" alt="FULLY AUTOMATIC ESPRESSO COFFEE MAKERS" title=" FULLY AUTOMATIC ESPRESSO COFFEE MAKERS " width="200" height="78" /></a></noscript></div>
     <
    br class="clearBoth" />
     
    </
    div
    Above is the source generated for my product_info page. I am unable to figure out where this <br class="clearboth"/> is generated from. I checked and re-checked my additional images block in the tpl_product_info_display. It is not there.. I have installed zenlightbox.
    The reason I am concerned with the Br tag is.. It messes up the display in IE.
    Before I installed the zenlightbox... There were no issues... but now the product_info_display page displays unappropriately in IE its all fine in Firefox.

    I know a URL will better explain my situation/problem... Alas!!! i don't have a URL yet.

    Any help will be appreciated.

    Thanks

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: additional images block extra br tag

    tpl_product_info_display.php calls tpl_modules_additional_images, which in turn calls tpl_columnar_display.php. This is what inserts the <br class="clearBoth" />.

    Unfortunately, tpl_columnar_display is also used elsewhere, so you can't just delete that bit. You need to use a conditional statement to skip it for the product info page only. In /includes/templates/your_template/common/tpl_columnar_display.php, find this at the end of the file
    PHP Code:
    <?php
          
    }
        } 
    ?>
    <br class="clearBoth" />
    <?php 
      
    }
    }
    ?>
    and change to this
    PHP Code:
    <?php
          
    }
        }
    if (
    $current_page_base != "product_info") { // for additional images ?>
    <br class="clearBoth" />
    <?php }
      }
    }
    ?>

  3. #3
    Join Date
    May 2007
    Posts
    95
    Plugin Contributions
    0

    Default Re: additional images block extra br tag

    Thanks.. it worked like a charm.

 

 

Similar Threads

  1. v151 Additional product inforamation block
    By line1 in forum General Questions
    Replies: 7
    Last Post: 24 Oct 2012, 12:56 AM
  2. Add a new tag to additional products images
    By Butalezi Brown in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 11 Jan 2010, 05:11 PM
  3. additional images - extra views
    By lukeciw in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Oct 2009, 02:03 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