You can easily add new page in zencart (customized) in a minute see how! Just follow the simple instruction bellow:
1st :
yourdomain/includes/templates/template_default/templates and create a page and named
“tpl_mypage_default.php” without quote. Instead of “mypage” use your desire name (like photos, our_team).
2nd :
Go to “yourdomain/includes” and edit “filenames.php” without quote with favorite editor and place the line finds
“define(‘FILENAME_DEFINE_PAGE_4’, ‘define_page_4’);”
bellow this add
“define(‘FILENAME_DEFINE_mypage, ‘define_mypage’);”
also find
“define(‘FILENAME_PAGE_4’, ‘page_4’);”
and add bellow “define(‘FILENAME_MYPAGE, mypage);”
without quote and save the file in the same directory.
3rd :
Go to “yourdomain/includes/languages/English”
create a page and named “mypage.php” without quote.
4th :
Go to “yourdomain/includes/languages/English/html_includ”
create “define_mypage.php”
5th :
Go to “yourdomain/includes/modules/pages” and create a directory (folder) and named “mypage” inside this folder create “header.php” without quote.
Now go to the admin > Tools > Define Pages Editor > Click drop down and select your created mypage and put your content and click save.
Rename an existing page:
As you know how to create or add new page in zencart you can easily rename any existing pages in zencart just follow the instructions bellow. Go to
yourdomain/includes/templates/template_default/templates
via filezilla or ftp and rename your desire page say tpl_mypage_default.php this to tpl_somethingelse_default.php
Then edit yourdomain/includes/filenames.php put somethingelse instead of mypge in two line.
Now go to yourdomain/includes/languages/English via ftp and renamed the mypage.php to somethingelse.php
Then go to yourdomain/includes/languages/English/html_includ and renamed define_mypage.php to define_somethingelse.php
Now yourdomain/includes/modules/pages and rename the directory (folder) mypage to somethingelse and all done enjoy.
N.B
Be careful it’s all about php close all the file accurately. Do not miss anything.