Forums / General Questions / How to add a new (dynamic) page in zen cart?

How to add a new (dynamic) page in zen cart?

Locked

Views: 2,720

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 Nov 2008, 5:12 PM
#1
seifer987 avatar

seifer987

New Zenner

Join Date:
Nov 2008
Posts:
27
Plugin Contributions:
0

How to add a new (dynamic) page in zen cart?

I want to make an eCommerce site with zen cart that has a dynamic contents (news, gallery, blogs) like this site (check the gallery, course, blogs link):
http://c1.shownearby.com/fg/

So, I think I can do that by adding a new page. I'm searching and
I found out that I can add a new page with EZ Page feature, but unfortunately it only can add a html content (static) page, not php (I need php page to generate the dynamic contents).

Then I explore a little the structure of zen-cart and I found out that it seems I can add a new page in this folder:
"ROOT_FOLDER\includes\modules\pages".

But that folder doesn't have "classic" folder. Is it okay to modify that folder?

If it's not, is there another way to add new dynamic page?

9 Nov 2008, 6:23 PM
#3
seifer987 avatar

seifer987

New Zenner

Join Date:
Nov 2008
Posts:
27
Plugin Contributions:
0

Re: How to add a new (dynamic) page in zen cart?

Thanks for the help.

I hope it can be implemented as built-in feature in the next version of ZC.

9 Nov 2008, 11:56 PM
#4
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: How to add a new (dynamic) page in zen cart?

eval is a very dangerous (and slow) function. It should be avoided as much as possible. This is one of the reasons it is not built-in.

In your situation, using a Define Page is better than EazyPage. There is a module that helps you to create a new one very fast, it is called Define Page Generator. Search for it in download area.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

10 Nov 2008, 5:18 AM
#5
seifer987 avatar

seifer987

New Zenner

Join Date:
Nov 2008
Posts:
27
Plugin Contributions:
0

Re: How to add a new (dynamic) page in zen cart?

yellow1912:

eval is a very dangerous (and slow) function. It should be avoided as much as possible. This is one of the reasons it is not built-in.

In your situation, using a Define Page is better than EazyPage. There is a module that helps you to create a new one very fast, it is called Define Page Generator. Search for it in download area.

Ok, thanks for the recommendation. That also answer my question that can I add a new page in folder 'modules\pages' since define page generator will generate files in that folder.