images on home page

Locked

Started by matt_smith on 28 Dec 2008, 11:46 AM · Views: 967

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Dec 2008, 11:46 AM
#1
matt_smith avatar

matt_smith

Zen Follower

Join Date:
Oct 2008
Posts:
108
Plugin Contributions:
0

images on home page

Hi

Been trying to get only certain images to show on home page, but with no luck.

I have 4 main categories of products, but only want images from one of these categories on the home page. In fact i want to show images of 2 of the products from this category on the main page as these are my main products.

Can I do this?

Thanks

matt

28 Dec 2008, 12:58 PM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: images on home page

Make the products you wish to show on main page, featured
products, then activate center box for featured products.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

28 Dec 2008, 4:47 PM
#3
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: images on home page

Misty has indicated one way to do what you want. There are others. You might, for example, insert a PHP statement into the main page's code which makes sure those products are the only ones that appear.

I used a different method on both my sites (see links below in my sig). I hard-coded the entire centercolumn content of the main page using the admin/tools/Define Pages Editor, selecting define_main_page as the file to edit. Using that I entered the html to display my main image, and headings I wanted, and the body text in two columns below that. Include classes in your divs and paragraphs and you can add those class definitions to your stylesheet and push things around as required. (That's how I got the two columns for the text.)

My method is not something you'd want to use for dynamic or regularly changing content, because you have to manually update it to change the image. I do that only seasonally, so it's not a problem.

Rob

Breakfast: the most important donut of the day.

28 Dec 2008, 5:40 PM
#4
matt_smith avatar

matt_smith

Zen Follower

Join Date:
Oct 2008
Posts:
108
Plugin Contributions:
0

Re: images on home page

Thanks for your help

misty - I have now activated the featured products box and great they are there, but it is still below the main category images - how do I remove those??

Thanks

matt

29 Dec 2008, 5:14 AM
#5
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: images on home page

Matt Smith:

Thanks for your help

misty - I have now activated the featured products box and great they are there, but it is still below the main category images - how do I remove those??

Thanks

matt
Admin> Configuration> Layout Settings> Always Show Top Level Categories on Main Page - Disable it

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others