Zen Cart Logo

Columns per Row

Locked

Views: 4,896

Results 21 to 40 of 47
This thread is locked. New replies are disabled.
17 Oct 2010, 4:52 AM
#21
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Columns per Row

It says to create a folder for your theme if it's not already there, is this folder supposed to be named a certain name
You already have a theme it is at

includes/templates/pure_black_free/

The files need to be within that structure - you might have to create

includes/templates/pure_black_free/templates/

17 Oct 2010, 6:13 PM
#22
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Columns per Row

You may also want to read more about the template structure to get a better understanding of how Zen works when it comes to customizing:

https://www.zen-cart.com/tutorials/index.php and type "template" in the search field....great basic articles that should help you customize your site....

18 Oct 2010, 11:06 AM
#23
ray_the_otter avatar

ray_the_otter

Zen Follower

Join Date:
Jul 2010
Posts:
278
Plugin Contributions:
0

Re: Columns per Row

Hi, I have just tried this again.

Clean install of 1.3.9g with no other mods. and still the same problem.

In admin>Configuration>Product Listing
Product Listing - Layout Style appears, but i am unable to change it.

The two instances of YOURTEMPLATE were changed to 'Classic'
There were no FTP errors, myself and my hosts have confirmed these files are in the correct location. There were no SQL errors while running the script?

I have looked through the thread for 1.3.8 add-ons compatible with 1.3.9 and it is listed as not compatible.

How did you get it to work on your site?
I have uploaded a print-screen to show what my admin shows. There is a HTML tag appearing in the admin section for this? Could the latest XSS protection be causing a problem?

please help,
Ray :frusty:

18 Oct 2010, 11:22 AM
#24
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Columns per Row

If you are not seeing it in your admin area as an option then the SQL was not uploaded properly....

18 Oct 2010, 11:27 AM
#25
ray_the_otter avatar

ray_the_otter

Zen Follower

Join Date:
Jul 2010
Posts:
278
Plugin Contributions:
0

Re: Columns per Row

There were no error messages returned. In fact The green bar appeared telling me I successfully processed 2 statements.

This is the SQL i used supplied in the .sql file

*INSERT INTO configuration (configuration_title, configuration_key, configuration_value,
configuration_description, configuration_group_id, sort_order,
last_modified, date_added, use_function, set_function)
VALUES ('Product Listing - Layout Style', 'PRODUCT_LISTING_LAYOUT_STYLE', 'rows',
'Select the layout style:<br />Each product can be listed in its own row (rows option)
or products can be listed in multiple columns per row (columns option)', '8', '40', NULL,
now(), NULL, 'zen_cfg_select_option(array("rows", "columns"),');

INSERT INTO configuration (configuration_title, configuration_key, configuration_value,
configuration_description, configuration_group_id, sort_order,
last_modified, date_added, use_function, set_function)
VALUES ('Product Listing - Columns Per Row', 'PRODUCT_LISTING_COLUMNS_PER_ROW', '3',
'Select the number of columns of products to show in each row in the product listing.
The default setting is 3.', '8', '41', NULL, now(), NULL, NULL);
*

jill8026:

If you are not seeing it in your admin area as an option then the SQL was not uploaded properly....

18 Oct 2010, 11:29 AM
#26
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Columns per Row

are you sure your database table does not have a prefix like zen_ or something else?

What is the website?

18 Oct 2010, 11:39 AM
#27
ray_the_otter avatar

ray_the_otter

Zen Follower

Join Date:
Jul 2010
Posts:
278
Plugin Contributions:
0

Re: Columns per Row

It is just some test webspace on my server. I use it for playing with add-ons. This is the first add-on i have struggled with.
I believe the database has a prefix, but this has not caused problems with installing other add-ons.

Im very new to zen cart, does it show?

18 Oct 2010, 11:53 AM
#28
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Columns per Row

You need to check in your database then and make sure you see the mod installed in the CONFIGURATION database.....if there is a prefix it may have not applied to the proper place....if you want to dm me your hosting info I can take a quick peak and let you know what it wrong...

and hey...we were all new once! :-)

18 Oct 2010, 12:03 PM
#29
ray_the_otter avatar

ray_the_otter

Zen Follower

Join Date:
Jul 2010
Posts:
278
Plugin Contributions:
0

Re: Columns per Row

Jill, thanks for the offer. I have a little look at the database via phpMyAdmin and looked at the place you told me to look. I found the problem to be HTML in the set_function area

zen_cfg_select_option(array("rows", "columns")

I removed the HTML " with** "** and it worked.

Do you know why this would happen?
Could this be the XSS protection thing?
I tried both methods by copy and pasting the sql into the admin area and by uploading the file. I also have tried this on test sites with and without the fix by Ajeh in the bugs thread.

But thanks for the offer of looking at my server. I may take you up on that offer with the next mod i struggle with :bigups:

18 Oct 2010, 12:05 PM
#30
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Columns per Row

Actually I never heard of that to be honest! It may be a copy and paste issue adding characters - but I cannot be sure. I have installed this mod at least 30 times and never had one problem! :-)

Either way glad you got it working that's all that matters!!!!! :clap:

19 Oct 2010, 9:15 PM
#31
cchan avatar

cchan

Zen Follower

Join Date:
Oct 2010
Posts:
121
Plugin Contributions:
0

Re: Columns per Row

I still can't get it to work.. I don't get this =(

19 Oct 2010, 11:42 PM
#32
cchan avatar

cchan

Zen Follower

Join Date:
Oct 2010
Posts:
121
Plugin Contributions:
0

Re: Columns per Row

Okay, I finally got it working! I'm not sure how I did it but it's good that it's working. Now the only thing is trying to remove the spaces under the item numbers. Could you please help me with that?

http://oembargain.com/index.php?main_page=index&cPath=1_2

20 Oct 2010, 12:04 AM
#33
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Columns per Row

Add to your stylesheet

.centerBoxContentsProducts br {display: none;}

20 Oct 2010, 12:28 AM
#34
cchan avatar

cchan

Zen Follower

Join Date:
Oct 2010
Posts:
121
Plugin Contributions:
0

Re: Columns per Row

The "tpl_modules_product_listing.php"?

20 Oct 2010, 12:36 AM
#35
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Columns per Row

No, /includes/templates/your_template/css/stylesheet.css.

20 Oct 2010, 12:39 AM
#36
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Columns per Row

cchan:

The "tpl_modules_product_listing.php"?

gjh42:

Add to your stylesheet

.centerBoxContentsProducts br {display: none;}
Read & re-read the suggestions

20 Oct 2010, 12:42 AM
#37
cchan avatar

cchan

Zen Follower

Join Date:
Oct 2010
Posts:
121
Plugin Contributions:
0

Re: Columns per Row

I'm still new to all this, that's why I'm seeking help on these forums. Anyway, thanks.

20 Oct 2010, 1:20 AM
#38
cchan avatar

cchan

Zen Follower

Join Date:
Oct 2010
Posts:
121
Plugin Contributions:
0

Re: Columns per Row

gjh42:

Add to your stylesheet

.centerBoxContentsProducts br {display: none;}

After I added that to my stylesheet, my price and add quantity doesn't have spacing.

Now, it looks like this: http://oembargain.com/index.php?main_page=index&cPath=1_2

Did I do something wrong again? I just added it to the bottom of my stylesheet...

20 Oct 2010, 2:12 AM
#39
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Columns per Row

You changed the display order of the elements. When I tested it before, that rule worked correctly. Now, try

.centerBoxContentsProducts br+br {display: none;}

This will only hide the breaks when there are two or more in a row.

20 Oct 2010, 6:22 PM
#40
cchan avatar

cchan

Zen Follower

Join Date:
Oct 2010
Posts:
121
Plugin Contributions:
0

Re: Columns per Row

Hm, I just did that. It's still doing the same thing, is there a specific spot in my stylesheet that I have to put it?

http://oembargain.com/index.php?main_page=index&cPath=1_2