Zen Cart Logo
Forums / General Questions / Question about "define_main_page.php"

Question about "define_main_page.php"

Locked

Views: 662

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 Sep 2008, 3:10 AM
#1
lioncity avatar

lioncity

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Question about "define_main_page.php"

Hi all,

I am new to Zen Cart, please excuse me if the following question is too simple... ;-)

I edit the "define_main_page.php" as in the following:
includes/languages/english/html_includes/define_main_page.php

I thought the main page will be updated accordingly, however, nothing new could be seen after I modified the file.

Because I use a template, does this take the control of the main page by its /templates/tpl_index_default.php?

Please kindly advise what I've missed out, thank you.

Best regards,
lioncity

23 Sep 2008, 4:00 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Question about "define_main_page.php"

You should copy all files from:
includes/languages/english/html_includes

to your templates and overrides directory:
includes/languages/english/html_includes/your_template_dir

Then set them to 777 if you want to edit them from your Zen Cart Admin ...

NOTE: if you have already done that do not do it again, as you will overwrite your changes ...

When editing them in the Tools ... Define Page Editor ... you should see something similar to:
Editing file:
/home/your_user_name/public_html/your_directory_name/includes/languages/english/html_includes/your_template_dir/define_main_page.php

If should not you see:
/home/your_user_name/public_html/your_directory_name/includes/languages/english/html_includes/classic/define_main_page.php

if you do, then you have not made templates and overrides but are using the default template ...