Zen Cart Logo
Forums / Basic Configuration / How do i add a new page?

How do i add a new page?

Locked

Views: 4,514

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
9 May 2006, 11:19 PM
#1
shrooki avatar

shrooki

New Zenner

Join Date:
May 2006
Posts:
9
Plugin Contributions:
0

How do i add a new page?

I want to add more pages to my zen-cart... like favorite links or informatino about corp discounts.. etc. etc.

I want to be able to add more pages to my zen cart.

how do i do it? I added some links to my information.php for the sidebox.. and i edited the language file.. and they show up.. except... when i click on it.. it takes me right back to the index page.

what do i do? thanks.

9 May 2006, 11:29 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: How do i add a new page?

If you are using zen 1.3
go into admin-> tools -> ez-pages

9 May 2006, 11:36 PM
#3
shrooki avatar

shrooki

New Zenner

Join Date:
May 2006
Posts:
9
Plugin Contributions:
0

Re: How do i add a new page?

thanks so much for the quick reply...

i ahve the latest of 1.2 though.

9 May 2006, 11:45 PM
#4
shrooki avatar

shrooki

New Zenner

Join Date:
May 2006
Posts:
9
Plugin Contributions:
0

Re: How do i add a new page?

I tried this out from another post:

What i did was basically copy the 'contact_us' folder in 'includes/modules/pages' and renamed it to 'my_page'.

Then went into '/includes/templates/template_default/templates' and coppied 'tpl_contact_us_default.php' and renamed it to 'tpl_my_page_default.php'.

And now when i load up 'index.php?main_page=my_page' it loads the data from within 'tpl_my_page_default.php'.

The link for that post is:
http://www.zen-cart.com/forum/showthread.php?t=33312&highlight=adding+page

I did everything... but it didn't work... what i ended up getting was the following error:

Fatal error: main(): Failed opening required '' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/local/lib/php/netpbm') in /home/inkmypap/public_html/cart/includes/templates/tm006/templates/tpl_school_default.php on line 41

10 May 2006, 12:29 AM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: How do i add a new page?

I would sugest you upgrade and then you won't have to jump through hoops to add extra pages.

10 May 2006, 1:41 PM
#6
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: How do i add a new page?

In the mean time, the specified error message above means that you did not uploaded your tpl_school_default.php file under your includes/templates/<your_template>/templates folder. ;)