If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / how to tackle main page

how to tackle main page

Locked

Started by rcallan515 on 12 Jun 2007, 12:56 AM · Views: 790

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 Jun 2007, 12:56 AM
#1
rcallan515 avatar

rcallan515

New Zenner

Join Date:
Jun 2006
Posts:
71
Plugin Contributions:
0

how to tackle main page

What is the best way to start looking into the PHP code? I know you guys don't want us touching this but i feel that i need to learn it in order to really get a grasp on the capabilities of zen-cart. Is there any webpage anyone knows about with a tutorial or way to get started? For example, i would like to change the mainpage (center column) and build with my own HTML within. I don't want to use the generic Featured Products and New Products" that bless 90% of the pages out there.

the site is http://www.truesoho.com/shop

Thanks in advance.

13 Jun 2007, 4:13 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: how to tackle main page

If it's the home page you want to change, you can write your own raw HTML in the HTML editing program of your choice, and then paste the HTML into the Admin->Tools->Define Pages Editor for define_main_page.php

You can then turn off the centerboxes that you don't want to use simply by setting the appropriate settings to 0 in Admin->Configuration->Index Listing (these affect the Home Page specifically).

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

13 Jun 2007, 8:27 AM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: how to tackle main page

BTW. Nothing wrong with tweaking the PHP, especially in the templates. But there's often a better way via the Admin, stylesheet or other Zen Cart features (such as define pages) that's worth looking at first.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)