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

Column Divider Pro (CDP) Contrib - Official Thread

Views: 56,336

Results 21 to 40 of 276
24 Jan 2008, 8:12 PM
#21
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Column Divider Pro (CDP) Contrib - Official Thread

Update attached!

Fixed:

  • Added code to always keep the inner width = 100% to avoid skinny text.
    Files changed:
    /common/tpl_columnar_display.php

This should work for all zc versions.

24 Jan 2008, 9:05 PM
#22
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

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

qhome:

Update attached!

Fixed:

  • Added code to always keep the inner width = 100% to avoid skinny text.
    Files changed:
    /common/tpl_columnar_display.php

This should work for all zc versions.

Uploaded this new update and worked great! Im just wondering, how do I decrease the space above the product image and below the price? I tried changing the css file but that didn't do a thing.

Thanks!!!

24 Jan 2008, 9:11 PM
#23
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

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

Ignore my last post. I seem to have done what I wanted by changing the cell spacing. Thanks again for this mod!!!

24 Jan 2008, 9:30 PM
#24
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Berserker:

Ignore my last post. I seem to have done what I wanted by changing the cell spacing. Thanks again for this mod!!!

yep. I probably should put that in the stylesheet instead of hardcoding it in the tpl_columnar_display file.

24 Jan 2008, 9:35 PM
#25
sgflowers avatar

sgflowers

Totally Zenned

Join Date:
Jan 2004
Posts:
508
Plugin Contributions:
0

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

thanks for the quick fix works great!

another quick ? there seems to be some padding on the right hand side - i want to remove most of it to reduct the size of the boxes

what file would drive that?

25 Jan 2008, 12:04 AM
#26
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

sgflowers:

thanks for the quick fix works great!

another quick ? there seems to be some padding on the right hand side - i want to remove most of it to reduct the size of the boxes

what file would drive that?

That appears to be a feature of the category rows. If it came with its own stylesheet, it would be something in there. Look for categoryListBoxContents section in the css.

25 Jan 2008, 1:51 AM
#27
xman888 avatar

xman888

Zen Follower

Join Date:
Jan 2007
Posts:
226
Plugin Contributions:
0

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

Hello qhome,

I have uploaded the 1.38 version of product_listing.php and the lastest tpl_columnar_display file that you have posted in this thread, however there still seems to be something funny occuring when I click on a category. As you will see in the link below, the images are spaced out all wrong:

http://xmanhosting.com.au/shop/index.php?main_page=index&cPath=1

Any ideas what would be causing this?

Kind regards,
Anthony

25 Jan 2008, 2:56 AM
#28
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

xman888:

Hello qhome,

I have uploaded the 1.38 version of product_listing.php and the lastest tpl_columnar_display file that you have posted in this thread, however there still seems to be something funny occuring when I click on a category. As you will see in the link below, the images are spaced out all wrong:

http://xmanhosting.com.au/shop/index.php?main_page=index&cPath=1

Any ideas what would be causing this?

Kind regards,
Anthony

I don't see my code loading on your page. I see some

<tr><th> stuff ... and some table properties like id="cat1Table" and stuff for that page.

Mine has <tr><td> and i haven't added an id yet.

25 Jan 2008, 3:03 AM
#29
xman888 avatar

xman888

Zen Follower

Join Date:
Jan 2007
Posts:
226
Plugin Contributions:
0

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

Hello qhome,

Thanks for the reply.

Maybe when I uploaded it, it didn't upload properly.

It is only my test site anyway (I do all mods on this one first, before doing it on my main site).

If re-uploading doesn't work, I might just start all over again afresh and see if that works.

Kind regards,
Anthony

3 Feb 2008, 3:54 AM
#30
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

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

Does this mod or should I say mod "combo" (including the column one) work on v1.37, or you need to back up a version on each to use it on earlier versions than v1.38?

thank you,

betty

3 Feb 2008, 4:31 AM
#31
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

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

Im thinking of installing Column Grid Layout but I already have this installed. Should I uninstall this and then install Column Grid Layout then install it again? Or will it work just fine?

3 Feb 2008, 6:07 AM
#32
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

bettysue:

Does this mod or should I say mod "combo" (including the column one) work on v1.37, or you need to back up a version on each to use it on earlier versions than v1.38?

thank you,

betty

In the modules folder I included one for 1.3.7 and one for 1.3.8. Upload the one needed for your site. The rest of the files are universal.

3 Feb 2008, 6:17 AM
#33
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

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

qhome:

In the modules folder I included one for 1.3.7 and one for 1.3.8. Upload the one needed for your site. The rest of the files are universal.

thank you !

betty

17 Feb 2008, 3:29 AM
#34
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

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

Hi qhome,

Thanks so much for your great mods! They are all very useful and practical.

Can you tell me what code I need to add to your mod to allow a quantity box to be added next to or above the add to cart button? I have tried using quantity box code from other parts of the cart but haven't had any success. I would greatly appreciate any advice or code to get this working.

Thanks again!

Matt


Zen Cart and it's community are the best!!

17 Feb 2008, 7:11 PM
#35
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

lankeeyankee:

Hi qhome,

Thanks so much for your great mods! They are all very useful and practical.

Can you tell me what code I need to add to your mod to allow a quantity box to be added next to or above the add to cart button? I have tried using quantity box code from other parts of the cart but haven't had any success. I would greatly appreciate any advice or code to get this working.

Thanks again!

Matt

Well the add to cart stuff is actually going to be part of another contrib to replace the old "Designer Monthly Boxes" contrib. I'm keeping the divider stuff separate from that functionality.

But at this point, it only does the "Buy Now" or "More Info". Are you saying you'd also like me to try adding the qty box too (for products that don't have attributes)?

17 Feb 2008, 8:41 PM
#36
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

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

qhome:

Well the add to cart stuff is actually going to be part of another contrib to replace the old "Designer Monthly Boxes" contrib. I'm keeping the divider stuff separate from that functionality.

But at this point, it only does the "Buy Now" or "More Info". Are you saying you'd also like me to try adding the qty box too (for products that don't have attributes)?

Yes, we sell some products that would always be bought in multiple quantities so it would be more intuitive and user friendly to have a quantity box with the buy now button so we can capture sales directly off of the index page.

It would be really awesome if you can add the quantity box, or the ability to turn it on or off in the script.

I have tried again last night for a couple of hours to use various quantity box variables from other pages but I am in PHP 201, I know enough to do some modifications and a few basic things but not quite enough yet to figure out why the code that I am trying to insert isn't working. I can get the quantity box to show up but it won't actually add the inputted quantity into the cart and I can't see why.

Thanks!

Matt


Zen Cart and it's community are the best!!

17 Feb 2008, 9:21 PM
#37
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

lankeeyankee:

Yes, we sell some products that would always be bought in multiple quantities so it would be more intuitive and user friendly to have a quantity box with the buy now button so we can capture sales directly off of the index page.

It would be really awesome if you can add the quantity box, or the ability to turn it on or off in the script.

I have tried again last night for a couple of hours to use various quantity box variables from other pages but I am in PHP 201, I know enough to do some modifications and a few basic things but not quite enough yet to figure out why the code that I am trying to insert isn't working. I can get the quantity box to show up but it won't actually add the inputted quantity into the cart and I can't see why.

Thanks!

Matt

I'll take a look. I think i should be able to add it.

18 Feb 2008, 1:33 AM
#38
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

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

qhome:

I'll take a look. I think i should be able to add it.

Thanks qhome! Would you mind posting the code here when you complete it? I'd like to be able to add it asap, even if you plan on releasing another mod with this included.

Thanks again!!

Matt


Zen Cart and it's community are the best!!

18 Feb 2008, 2:30 AM
#39
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

lankeeyankee:

Thanks qhome! Would you mind posting the code here when you complete it? I'd like to be able to add it asap, even if you plan on releasing another mod with this included.

Thanks again!!

Matt

Well it will be an override file that you can just drop-in to override the existing new/featured/special products

23 Feb 2008, 11:56 PM
#40
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

Qhome, great work as usual. I am experiencing problem with this mod. This is the error message:
Warning: strpos(): Offset not contained in string in /includes/templates/custom/common/tpl_columnar_display.php on line 43

Line 43 is:

$startpos = strpos($r_params, "width:", 1);

Thanks!