Page 28 of 28 FirstFirst ... 18262728
Results 271 to 276 of 276
  1. #271
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Column Divider Pro (CDP) Contrib - Official Thread

    Quote Originally Posted by petergy View Post
    Well, thanks for checking. I played with the image dimensions a bit, but I do not see it centered in any of the browsers as you saw and took the screenshot. I guess I will need to live with it.
    not knowing for sure if it is the template...this code is from a few posts earlier that you can try to do---remember to work off a duplicate of the stylesheet

    in the stylesheet delete the following and see if that helps

    Code:
    {
    .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .specialsListBoxContents {
        border-bottom: 1px solid #EEEEEE;
        border-right: 1px solid #EEEEEE;
        height: 186px;
        margin: 0 !important;
        padding: 18px 18px 12px;
        width: 150px !important;
    }

  2. #272
    Join Date
    Sep 2012
    Posts
    65
    Plugin Contributions
    0

    Default Re: Column Divider Pro (CDP) Contrib - Official Thread

    I have that already out.

  3. #273
    Join Date
    May 2010
    Posts
    83
    Plugin Contributions
    0

    Default Re: Column Divider Pro (CDP) Contrib - Official Thread

    Hi, is this module on the plugin page still compatible with the latest zen cart v1.5.1?

  4. #274
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Column Divider Pro (CDP) Contrib - Official Thread

    Hi,

    I don't know if it's officially marked as compatible but it works fine on my site after upgrading to 1.5.1

    I hope this helps.

  5. #275
    Join Date
    May 2010
    Posts
    83
    Plugin Contributions
    0

    Default Re: Column Divider Pro (CDP) Contrib - Official Thread

    Thank you.

  6. #276
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Column Divider Pro (CDP) Contrib - Official Thread

    Need help with an issue.. I've run into an issue with the tables used to create the grids in this file includes/templates/custom_template/common/tpl_columnar_display.php

    I need to convert the tables to a CSS grid. The tables are a bit of a bear to deal with in responsive templates..

    I've made some progress, but I'm not quite there yet.. I have incorporated the Column Divider Pro module with SNAF, and the dividers are not behaving EXACTLY as they should with the CSS tables and I'm puzzled how to fix it.. The horizontal divider is repeated 4 times, and I cannot get the vertical dividers to work JUST in between the inner cells.. (I am aware that my current edit only displays them on the left -- I commented out the code which is supposed to display it between cells because it didn't work) You can see my progress here:
    http://eitestsite(dot)eyeitalia(dot)com/shop/index.php?main_page=products_all

    Could use a set of eyes to point out how to get this working correctly..

    Here's my modified includes/templates/custom_template/common/tpl_columnar_display.php file and the CSS to support my changes:
    Supporting CSS
    Code:
    .vDotLine
    {
        background-color: transparent;
        background-image: url(../images/delim_v.gif);
        background-repeat: repeat-y;
        background-attachment: scroll;
        width: 20px;
        /*font-size: 1px;*/
    }
    
    .hDotLine
    {
        background-image: url(../images/delim_v.gif);
        padding:1px 0;
    }
    
    .tabTable {display: table;padding-left: 20px;/*font-size: 8pt;*/}
    .trRow {display: table-row;}
    .tdContent {display: table-cell;padding: 5px 8px;}
    tpl_columnar_display.php changes
    Code:
    <?php
    /**
     * Common Template - tpl_columnar_display.php
     *
     * This file is used for generating tabular output where needed, based on the supplied array of table-cell contents.
     *
     * @package templateSystem
     * @copyright Copyright 2003-2006 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_columnar_display.php 3157 2006-03-10 23:24:22Z drbyte $
     */
    
    ?>
    <?php
      if ($title) {
      ?>
    <?php echo $title; ?>
    <?php
     }
     ?>
      <div class="centerBoxWrapperContents">
    <div class="tabTable">
    
    <?php
    if (is_array($list_box_contents) > 0 ) {
    
    $MaxCol=0;
     for($row=0;$row<sizeof($list_box_contents);$row++) {
        $params = "";
        //if (isset($list_box_contents[$row]['params'])) $params .= ' ' . $list_box_contents[$row]['params'];
    ?>
    <div class="trRow">
    <?php
        for($col=0;$col<sizeof($list_box_contents[$row]);$col++) {
          $r_params = "";
          if (isset($list_box_contents[$row][$col]['params'])) $r_params .= ' ' . (string)$list_box_contents[$row][$col]['params'];
         $r_params = str_replace(" back", "", $r_params);
         $r_params = str_replace("50", "100", $r_params);
         $r_params = str_replace("33", "100", $r_params);
         
         // bof: Replace all widths with 100% for Column Divider Pro
         $startpos = strpos($r_params, "width:");
         if ($startpos != false) {
            $endpos = strpos($r_params, ";", $startpos);
            $res = substr($r_params, $startpos, ($endpos - $startpos ));
            $r_params = str_replace($res, "width:100%", $r_params);
         }
         // eof: Replace all widths with 100% for Column Divider Pro
         
         if (isset($list_box_contents[$row][$col]['text'])) {
    ?>
        <?php 
        echo '<div class="tdContent vDotLine" style="width:'.  (intval($col_width) - 0.5) .'%">' .  $list_box_contents[$row][$col]['text'] .  '</div>' . "\n";
         ?>
        <?php if ($row == 0 && $col < (sizeof($list_box_contents[$row]) - 1)) {
    //            echo '<div class="tdContent vDotLine"></div>' . "\n";
                  $MaxCol += 1;
              }
    
          }
        }
    ?>
    
    </div> <!--end trRow-->
    
    <?php 
        if ($row < (sizeof($list_box_contents)-1)) {?>
    <div class="trRow">
        <?php    for($col=0;$col<($MaxCol + 1);$col++) {
          echo '<div class="tdContent hDotLine"></div>';
        } ?>
    </div> <!--end trRow-->
    <?php    }
        ?>
    
    
    <?php
      }
    }
    ?>
    </div> <!--end table-->
     </div>
    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.

 

 
Page 28 of 28 FirstFirst ... 18262728

Similar Threads

  1. Tabbed Products Pro (TPP) Contrib - Official Thread
    By qhome in forum All Other Contributions/Addons
    Replies: 2216
    Last Post: 8 Feb 2024, 12:43 PM
  2. Main Image Replacer (MIR) Contrib - Official Thread
    By qhome in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 5 Aug 2017, 02:47 AM
  3. HoverBox 3 - Official Thread
    By testuser in forum All Other Contributions/Addons
    Replies: 217
    Last Post: 23 Jun 2017, 01:30 PM
  4. Content issue post install of column divider pro
    By matchlock in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 23 Jul 2011, 11:12 AM
  5. Column Divider Pro Alignment off on products
    By DigitalGuard in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 14 Jul 2008, 12:23 AM

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