Forums / Templates, Stylesheets, Page Layout / How to display New Products on main page, but not sidebar

How to display New Products on main page, but not sidebar

Locked

Started by memerson on 4 Feb 2009, 1:13 PM · Views: 1,307

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
4 Feb 2009, 1:13 PM
#1
memerson avatar

memerson

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

How to display New Products on main page, but not sidebar

Basically, I want to display the New Products on the front page but I don't want a sidebar heading for it. I've gone into the Admin section and played about a bit with what seems like the correct setting but still nothing shows on the front end. I fear I may have commented out a line in the code by accident and I wondered if anyone can tell me what file it is that determines if the New Products are displayed or not?

Thanks
Michael

4 Feb 2009, 1:55 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to display New Products on main page, but not sidebar

Not really sure what you're asking.

Do you want the New Products to show in the center section, but not in a sidebox?

A link to your site would help, too.

4 Feb 2009, 2:49 PM
#3
memerson avatar

memerson

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

Re: How to display New Products on main page, but not sidebar

Here's the link:

http://paradiseroad.seriousgroup.co.uk/shop/index.php

As you see, the featured products display in the left column which is great, but I want the New Products to show on the front page (under the big picture) but NOT in the column. I went into the Admin section under Configuration menu to select max amount shown and in Tools -> Layout Boxes to turn the New Products module off for the column, but still no joy. What I'm saying is I think I have commented out some of the PHP code that displays these modules because I didn't explore the Admin section fully, and wondered if you knew which file contains the code to display the front page content because I am lost now.

4 Feb 2009, 3:26 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to display New Products on main page, but not sidebar

Turning off whats_new in the Layout Boxes controller should take care of the sidebox.

I don't know exactly where the center column stuff is built, but I'd be surprised if you had accidentally commented it out.

What appears in the center column (other than your define_main_page stuff) is mostly under Admin - Configuration - Index Listing.

Nice job styling the site.

4 Feb 2009, 3:47 PM
#5
memerson avatar

memerson

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

Re: How to display New Products on main page, but not sidebar

Thanks :D

I will have check on the Admin panel at those options.

4 Feb 2009, 4:03 PM
#6
memerson avatar

memerson

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

Re: How to display New Products on main page, but not sidebar

I found the problem!

The file in the modules new_products.php contained the line:

$zc_show_new_products = false;

I remembered I'd done this as a quick fix to clear the front page....anyway, changed it back to "true" and it's all fine.