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

define_main_page.php doesn't show on home page

Locked

Views: 2,285

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
29 Apr 2010, 7:32 PM
#1
crystalnaples avatar

crystalnaples

New Zenner

Join Date:
Oct 2007
Posts:
18
Plugin Contributions:
0

define_main_page.php doesn't show on home page

I have been working on my site and tried to add entry for my home page from define_main_page.php. Tthe file is cmod to 666 and i add the text i wanna display and saved the file but there is noting showing on the home page.

the site is https://www.amcoso.com/cart

please help

29 Apr 2010, 7:40 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,178
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

Cy,
Make sure the define_main_page.php is in your override file, then edit..

includes/ languages/ english/ html_includes/ ZC03C00261/ define_main_page.php

29 Apr 2010, 7:48 PM
#3
crystalnaples avatar

crystalnaples

New Zenner

Join Date:
Oct 2007
Posts:
18
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

haredo:

Cy,
Make sure the define_main_page.php is in your override file, then edit..

includes/ languages/ english/ html_includes/ ZC03C00261/ define_main_page.php

i did that it was no folder so i created inside of html_include new folder called ZC03C00261 then copy all the define pages from html_include inside of the
includes/ languages/ english/ html_includes/ ZC03C00261/

and still not working :(

29 Apr 2010, 7:51 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,178
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

Cr,
admin panel/ tools/ template selection

  1. edit and switch back to Classic Contemporary Green
  2. See if it does not show up
29 Apr 2010, 8:06 PM
#5
crystalnaples avatar

crystalnaples

New Zenner

Join Date:
Oct 2007
Posts:
18
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

haredo:

Cr,
admin panel/ tools/ template selection

  1. edit and switch back to Classic Contemporary Green
  1. See if it does not show up

define pages under classic shows properly .

29 Apr 2010, 8:49 PM
#6
crystalnaples avatar

crystalnaples

New Zenner

Join Date:
Oct 2007
Posts:
18
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

Any Help ?

30 Apr 2010, 12:17 AM
#7
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

Well - from looking at your site I'd say you bought a bad template. When you view source on it , there isn't even a call to the define page that I can see.

The fact that it works in Classic template and not in your custom template further proves that.

I'd ask the template creator why they broke it...

30 Apr 2010, 1:48 PM
#8
crystalnaples avatar

crystalnaples

New Zenner

Join Date:
Oct 2007
Posts:
18
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

TinaS:

Well - from looking at your site I'd say you bought a bad template. When you view source on it , there isn't even a call to the define page that I can see.

The fact that it works in Classic template and not in your custom template further proves that.

I'd ask the template creator why they broke it...

i don't know but all the other define pages working perfect just the define_main_page.php.

Can i enter anything in there any code to make it work ??

30 Apr 2010, 3:31 PM
#9
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

Without looking at the exact code of the template I can't tell you what exactly needs to be changed code-wise.

I would take a default tpl_main_page and compare it using beyond compare or winmerge to the one in your template. That will tell you what differences in code there are between your page and the default page.

Hope that helps!

30 Apr 2010, 3:34 PM
#10
crystalnaples avatar

crystalnaples

New Zenner

Join Date:
Oct 2007
Posts:
18
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

if you want i can send you the template source files . check your pm

30 Apr 2010, 3:39 PM
#11
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

Got it hun - gimme a sec to take a peek ;)

30 Apr 2010, 3:48 PM
#12
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

HOLY COW - This isn't something that I am willing to fix on the forum. This template is all table based and has all kinds of stuff added to it and the content main page doesn't seem to be in it.

Back to my original response, contact the ppl where you bought the template and ask them to fix it.

Sorry
:(

30 Apr 2010, 3:51 PM
#13
crystalnaples avatar

crystalnaples

New Zenner

Join Date:
Oct 2007
Posts:
18
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

ok is there is any other way to insert a page on the home main page ?

30 Apr 2010, 6:15 PM
#14
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: define_main_page.php doesn't show on home page

Not without editing the code on the tpl_main_page.php