Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Posts
    27
    Plugin Contributions
    0

    Default 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?

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

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


  3. #3
    Join Date
    Nov 2008
    Posts
    27
    Plugin Contributions
    0

    Default 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.

  4. #4
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default 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

  5. #5
    Join Date
    Nov 2008
    Posts
    27
    Plugin Contributions
    0

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

    Quote Originally Posted by yellow1912 View Post
    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.

 

 

Similar Threads

  1. How can i add a page like this on my zen cart?
    By wastaboo in forum General Questions
    Replies: 5
    Last Post: 21 Oct 2010, 04:47 AM
  2. How to add home page banner? - free Zen Cart template
    By BobbyWine in forum Addon Templates
    Replies: 4
    Last Post: 31 Jan 2010, 09:36 PM
  3. how to add the add-to-cart-button to the new products box on the home page?
    By ebloger in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Nov 2008, 10:30 AM
  4. How to add item in the first page of zen cart?
    By sunzhoujian in forum General Questions
    Replies: 21
    Last Post: 2 Jun 2008, 09:07 AM
  5. How do you add a splash page to Zen Cart
    By METOOTECH in forum General Questions
    Replies: 16
    Last Post: 17 Feb 2008, 02:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR