Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / define_main_page.php doesn't show up as home page

define_main_page.php doesn't show up as home page

Locked

Views: 1,116

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
22 Oct 2010, 1:37 AM
#1
tech_no_babble avatar

tech_no_babble

New Zenner

Join Date:
Aug 2010
Location:
21115 Glendale Ave Port Charlotte FL 33952
Posts:
17
Plugin Contributions:
0

define_main_page.php doesn't show up as home page

I am building this site for a client using my domain to test the build out. You can see the results at http://www.technobabble.us/client-access/store. I have searched the Zen Cart site and Google for a few hours. I have replaced files that I have modified with new ones from the fresh download.

I have created our own template override using tnb_designs as the folder name. Basic CSS and minor HTML additions have been done at this point.

The page I want to show when you click the above link, is the efine_main_page.php which is located here, store/includes/languages/english/html_includes/tnb_designs/define_main_page.php. From a few posts, I found that I should have the html_includes in the tnb_designs folder.

I have changed to the classic template and you still can't get to the correct home page.

I am at loss to which php I could have messed up since I have created template overrides for each file I am working in.

Any help would be helpful.

Thanks,

Alex

22 Oct 2010, 2:39 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: define_main_page.php doesn't show up as home page

It looks like you either have 1 Product that is not in a Category ... or that you have the site setup to display a particular Category and that Category has only 1 Product in it ...

Settings are in the Configuration ... Layout Settings ...

Categories - Always Show on Main Page
Always Show Categories on Main Page
0= off
1= on
Default category can be set to Top Level or a Specific Top Level

Main Page - Opens with Category
0= Top Level Categories
Or enter the Category ID#
Note: Sub Categories can also be used Example: 3_10

Categories with 1 Product are, be default, setup to Skip the Product Listing ...

Skip 1-prod Categories
Skip single-product categories
If this option is set to True, then if the customer clicks on a link to a category which only contains a single item, then Zen Cart will take them directly to that product-page, rather than present them with another link to click in order to see the product.
Default: True

23 Oct 2010, 6:02 PM
#3
tech_no_babble avatar

tech_no_babble

New Zenner

Join Date:
Aug 2010
Location:
21115 Glendale Ave Port Charlotte FL 33952
Posts:
17
Plugin Contributions:
0

Re: define_main_page.php doesn't show up as home page

Thank you so much Linda. Fixed that using the 3rd method!.

I then had to do the fix for html showing in main define page.

I then deleted the product and created a category for the product to be in.

All is well, now to tidy up, move the breadcrumb bar and adjust colors.

Thanks for you help!

Alex