Zen Cart Logo
Forums / General Questions / how do I add my diy template page?

how do I add my diy template page?

Views: 1,894

Results 1 to 3 of 3
13 Apr 2012, 3:55 AM
#1
linjuming avatar

linjuming

Zen Follower

Join Date:
Apr 2012
Posts:
151
Plugin Contributions:
0

how do I add my diy template page?

I want to add my diy page.
for example:
the page name: tpl_hello.php
page url: index.php?main_page=hello.php

This page will be the same with other template page , such as it can use zencart constants and functions .

How to add this page ?

13 Apr 2012, 3:58 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: how do I add my diy template page?

Download the "About Us" addon. It is a good example of all the pieces required.

13 Apr 2012, 7:40 AM
#3
linjuming avatar

linjuming

Zen Follower

Join Date:
Apr 2012
Posts:
151
Plugin Contributions:
0

Re: how do I add my diy template page?

Thank you very much.