Forums / All Other Contributions/Addons / Column Divider Pro (CDP) Contrib - Official Thread

Column Divider Pro (CDP) Contrib - Official Thread

Views: 56,336

Results 261 to 276 of 276
19 Apr 2012, 4:54 AM
#261
icecube avatar

icecube

New Zenner

Join Date:
Apr 2012
Posts:
6
Plugin Contributions:
0

Column Divider Pro (CDP) Contrib - Official Thread

Hi all, first time with Zen Cart and I have to say I have never done so much reading to try and figure things out as I have with this.

I have tried to find the solution to my issue throughout these forums, but I have not succeeded.

So continuing with this topic of CDP. I installed it and it seems to be fine except for 1 thing. For some reason it is pushing my right side bar outside of the border.

You can see here what I mean.

http://babiesbigandtall.com/shop/index.php?main_page=index&cPath=48_50

Actually if you go to the home page, I have the same issue with the banner.

For some reason I am not sure how I can bring the center column a little more narrow, if that will help I am not sure either.

I am using version 1.5. This wasn't an upgrade, I just started to use it.

Please help :cry:

19 Apr 2012, 5:19 AM
#262
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

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

Icecube:

Hi all, first time with Zen Cart and I have to say I have never done so much reading to try and figure things out as I have with this.

I have tried to find the solution to my issue throughout these forums, but I have not succeeded.

So continuing with this topic of CDP. I installed it and it seems to be fine except for 1 thing. For some reason it is pushing my right side bar outside of the border.

You can see here what I mean.

http://babiesbigandtall.com/shop/index.php?main_page=index&cPath=48_50

Actually if you go to the home page, I have the same issue with the banner.

For some reason I am not sure how I can bring the center column a little more narrow, if that will help I am not sure either.

I am using version 1.5. This wasn't an upgrade, I just started to use it.

Please help :cry:

It is the border within the border that is causing the problem on most pages.
If you delete the code below from the Stylesheet it fixes it:

{
.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;
}

I think the banner is effecting the homepage as well. Someone with more template/code experience may be able to help you more.

19 Apr 2012, 6:29 AM
#263
icecube avatar

icecube

New Zenner

Join Date:
Apr 2012
Posts:
6
Plugin Contributions:
0

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

You are a genius. That was exactly the problem for the side bar.

Although the banner didn't change on the home page. I am happy at least one problem resolved.

Thanks a bunch :D

19 Apr 2012, 6:34 AM
#264
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

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

Icecube:

You are a genius. That was exactly the problem for the side bar.

Although the banner didn't change on the home page. I am happy at least one problem resolved.

Thanks a bunch :D

If you use Firefox, download Firebug. It will enable you to play with your stylesheet without effecting the live version. It has helped me many times.

23 Apr 2012, 3:54 PM
#265
andy_c27 avatar

andy_c27

Zen Follower

Join Date:
Oct 2010
Location:
United Kingdom
Posts:
477
Plugin Contributions:
0

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

Hi Is this contribution going to be upgraded to 1.5 as this is exactly what I need ...I have been told it might not be compatible

thanks

30 Mar 2013, 3:05 PM
#266
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

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

Hello,

Just installed column divider pro in my new ZC. I am also using Dr. Byte's layout grid mod. (I enabled the products layout php as it was instructed)

Two issues that I can not solve:

  1. The vertical line is not in the center. (I looked in the firebug and it seems like the line has a 15px right margin, but I can not figure why. It is not in the css).

  2. In the new products, featured.... there is a huge space above and under each product.

Anyone has a solution? Please see at https://www.impex12.com

Thank you,
Peter

30 Mar 2013, 3:31 PM
#267
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

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

petergy:

Hello,

Just installed column divider pro in my new ZC. I am also using Dr. Byte's layout grid mod. (I enabled the products layout php as it was instructed)

Two issues that I can not solve:

  1. The vertical line is not in the center. (I looked in the firebug and it seems like the line has a 15px right margin, but I can not figure why. It is not in the css).

  2. In the new products, featured.... there is a huge space above and under each product.

Anyone has a solution? Please see at www.impex12.com

Thank you,
Peter

I just took a look at your store and it looks centered in all aspects on each page. Have you tried making the promo a bit larger. That is the way, I believe, that this mod works....the extra space around....to make the store look nice, which by the way your store looks wonderful.

30 Mar 2013, 4:03 PM
#268
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

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

Thank you for your reply and comment. I will look my site on a different computer, but I am actually seeing the same on my phone. The only detail bothers me is that the left side of the horizontal line has a larger space between the end of the line and the vertical line than the right side.
Do you see the same on your screen?

30 Mar 2013, 4:46 PM
#269
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

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

petergy:

Thank you for your reply and comment. I will look my site on a different computer, but I am actually seeing the same on my phone. The only detail bothers me is that the left side of the horizontal line has a larger space between the end of the line and the vertical line than the right side.
Do you see the same on your screen?

this is weird, unless you increased the size of the promos...I assume this is 1.5 store, not sure which template but probably template monster???

that could be the trouble too because

as i said I had just gone in to view the store using both google chrome and Firefox (both latest versions), your store looked perfect no distortions.

NOW although it is off on the right side, see images of compared one that looked like yours did a few ago and yours now

31 Mar 2013, 2:42 AM
#270
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

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

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.

31 Mar 2013, 3:24 AM
#271
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

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

petergy:

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

{
.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 Apr 2013, 4:23 AM
#272
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

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

I have that already out. :no:

13 Aug 2013, 5:31 PM
#273
waterbender avatar

waterbender

New Zenner

Join Date:
May 2010
Posts:
84
Plugin Contributions:
0

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?

13 Aug 2013, 7:31 PM
#274
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

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.

14 Aug 2013, 12:58 AM
#275
waterbender avatar

waterbender

New Zenner

Join Date:
May 2010
Posts:
84
Plugin Contributions:
0

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

Thank you.

3 Nov 2013, 6:44 AM
#276
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

.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

<?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.