Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to create a new page?

How to create a new page?

Locked

Views: 8,619

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
5 Feb 2008, 6:35 PM
#1
artcoder avatar

artcoder

Zen Follower

Join Date:
Jan 2007
Posts:
166
Plugin Contributions:
0

How to create a new page?

I want to create a new page at say ...

http://www.example.com/catalog/index.php?main_page=info_sendgift

where "info_sendgift" is my new page that is similar to the existing "info_shopping_cart"

So I created new folder "info_sendgift" in the "template_default" folder as well as in my override template folder. Inside these folder I have the "tpl_main_page.php" file.

But when I try it, the system is giving me the "page not found" page instead -- almost as if the system is not aware of my new page.

What step am I missing to create a new page analogous to the "info_shipping_cart" page?

5 Feb 2008, 6:55 PM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: How to create a new page?

Search download section for: Define Page Generator

6 Apr 2008, 8:38 AM
#3
scupoli avatar

scupoli

New Zenner

Join Date:
Mar 2006
Location:
USA
Posts:
77
Plugin Contributions:
0

Re: How to create a new page?

That meta-module didn't work for me. Any suggestions? I went to the wiki and made sure it added the appropriate files. The page doesn't appear. Should I activate a sidebox or something?

6 Apr 2008, 8:52 AM
#4
scupoli avatar

scupoli

New Zenner

Join Date:
Mar 2006
Location:
USA
Posts:
77
Plugin Contributions:
0

Re: How to create a new page?

Anyway, I don't even see it on the define page status link. You think it doesn't work with the latest revision of ZC? Any help would be appreciated.

6 Apr 2008, 10:01 AM
#5
scupoli avatar

scupoli

New Zenner

Join Date:
Mar 2006
Location:
USA
Posts:
77
Plugin Contributions:
0

Re: How to create a new page?

Ok, after adding an SQL entry, I now see it in the "define page status". But it doesn't do anything. Is there another entry I need to make in order to show on my site?

Can someone help please?

8 Apr 2008, 2:31 AM
#7
scupoli avatar

scupoli

New Zenner

Join Date:
Mar 2006
Location:
USA
Posts:
77
Plugin Contributions:
0

Re: How to create a new page?

You got to love the support you get around here.

8 Apr 2008, 11:10 AM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to create a new page?

I do love the support I get around here.

It's been my experience that if you don't get replies to your questions, it's usually because you haven't asked the question properly, or haven't included enough information.

"It doesn't do anything" or "It doesn't work" doesn't give us much to work with.

A link to the page you created might give somebody a place to start.

Also, when someone posts that he "followed these instructions and it didn't work", when those instructions seem to work for everyone else, I assume he didn't follow the instructions. Might want to try those again.

8 Apr 2008, 11:19 AM
#9
scupoli avatar

scupoli

New Zenner

Join Date:
Mar 2006
Location:
USA
Posts:
77
Plugin Contributions:
0

Re: How to create a new page?

Hmmmm let me see.....

I asked direct questions that were even ignored by you. It seems people are more looking to flame someone then help them.

Here are my questions.

"Should I activate a sidebox or something?"

"Is there another entry I need to make in order to show on my site?"

"You think it doesn't work with the latest revision of ZC?"

"Can someone help please?"

Have a great day!

8 Apr 2008, 11:45 AM
#10
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to create a new page?

"Should I activate a sidebox or something?"

Shouldn't have to, no.

"Is there another entry I need to make in order to show on my site?"

If you mean SQL insert, I would think that whatever is supplied with the mod should be good.

"You think it doesn't work with the latest revision of ZC?"

You might want to read through this thread: http://www.zen-cart.com/forum/showthread.php?t=81483 It does mention that the mod works with the current version.

"Can someone help please?"

I'm trying...

8 Apr 2008, 11:51 AM
#11
scupoli avatar

scupoli

New Zenner

Join Date:
Mar 2006
Location:
USA
Posts:
77
Plugin Contributions:
0

Re: How to create a new page?

And your a gentlemen. Thanks for the help!

3 Mar 2009, 10:08 PM
#12
southpacific avatar

southpacific

New Zenner

Join Date:
Feb 2009
Location:
Sydney, Australia
Posts:
44
Plugin Contributions:
0

Re: How to create a new page?

I am looking to add an extra page under the "My Account Section" called "Track Orders".

I copied tpl_account_default.php and called it tpl_account_track_orders.php I also created a language file and folder/files under ../modules/pages/account_track_orders/

I also added account_track_orders to ../includes/filesnames.php

When I go to ../index.php?main_page=account_track_orders it shows my website but doesn't show the content from: tpl_account_track_orders.php

Is there anything else I need to add to make it work?

Thank you in advance for any help or suggestions!

4 Mar 2009, 12:34 AM
#13
southpacific avatar

southpacific

New Zenner

Join Date:
Feb 2009
Location:
Sydney, Australia
Posts:
44
Plugin Contributions:
0

Re: How to create a new page?

I found this: http://www.zen-cart.com/wiki/index.php/Creating_new_pages

& created an extra file in ../includes/extra_datafiles/ but still no luck, my breadcrumb shows and the page title at the top of the browser shows but no content shows up in class="columnLeft".

I only have some sample text in the page under ../templates