Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Sep 2006
    Posts
    13
    Plugin Contributions
    0

    Default Adding a module to a zen store

    Hello,

    I am working with an already created Zen Cart store that is fully upgraded. There was a previous version of this store using an old version of zen cart and I would like to use some modules that were made for that store in this new store. How (within the php code) can you link new pages to your Zen Store and also what types of things should I look for when "upgrading" these pages to the new zen cart version.

    Thank you for your help!

    -Patrick

  2. #2
    Join Date
    Sep 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Adding a module to a zen store

    I guess to clarify my question a little, I am not trying to override a specific page as much as attach a custom page that I have already made. Does anyone have any suggestions on how to link in this custom page and possibly what I should look for in updating the code from this custom page to the upgraded Zen Cart version?

    Thank you,
    Pat

  3. #3
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,039
    Plugin Contributions
    31

    Default Re: Adding a module to a zen store

    A lot of MOD used in previous versions have been upgraded to work with version 1.3.+ check the downloads section

  4. #4
    Join Date
    Sep 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Adding a module to a zen store

    Thank you Clyde...

    Do you know how to link in new pages? I know I can't just put an absolute link in the code on one page, so I'm wondering if you know which file contains all the links that are built in to each page?

    Thank you in advance...

    -Pat

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,039
    Plugin Contributions
    31

    Default Re: Adding a module to a zen store

    That will depend on which modules were included in the older version of Zen Cart.

    If you have that information you could just check in the database for that information add the updated modules to your new install and then import the module specific information from the old database.

  6. #6
    Join Date
    Aug 2005
    Posts
    26,014
    Plugin Contributions
    9

    Default Re: Adding a module to a zen store

    I am not trying to override a specific page as much as attach a custom page that I have already made. Does anyone have any suggestions on how to link in this custom page and possibly what I should look for in updating the code from this custom page to the upgraded Zen Cart version
    Sorry, but your post is very vague???

    What version was the old ZenCart?

    What version is the new ZenCart?

    What modules are you talking about?

    Custom Page is coded how? html, php or??

    If html and depending on the old version...look at the new Zencart and to ezpages...can be a link to this "CustomPage" or included as an ezpage.
    Zen-Venom Get Bitten
    Get Your Business Found

  7. #7
    Join Date
    Jan 2004
    Posts
    58,246
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Adding a module to a zen store

    Kobra's right. Kinda vague.

    I'm not sure if you're talking about when you say "link to" these "additional pages".

    The "About Us" contribution is a good example of creating additional core pages and the readme talks about how to add a link for them into the "information" sidebox.
    However, since you didn't say "where" you want to "put" these links, nor what kind of content these additional pages contain, etc, it's hard to help you much more than this.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Sep 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Adding a module to a zen store

    Ok, I am sorry I guess that was quite vague.

    More specifically, do you know where the tID values and other values that you need to set such as main_page are located?

    This would be very helpful.

    Thank you again.

    -Pat

  9. #9
    Join Date
    Aug 2005
    Posts
    26,014
    Plugin Contributions
    9

    Default Re: Adding a module to a zen store

    Ok, I am sorry I guess that was quite vague.

    More specifically, do you know where the tID values and other values that you need to set such as main_page are located?
    Again, a bit vague in the respect if "ID values and other values that you need to set"....Set for what???

    If you are referring to setting a reference to the page(s)...when you load the page in the address bar of you browser is information similar to this and this is the reference to that page or in this instance "index sitemap"
    Code:
    http://www.your_domain.com/index.php?main_page=site_map
    But if you are referring to div tags or table tags of items on your page...get FireFox and the web developers tools as this will allow you to determine each elements tag or value.
    Zen-Venom Get Bitten
    Get Your Business Found

  10. #10
    Join Date
    Sep 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Adding a module to a zen store

    Thank you for the reply and sorry again about being vague, I guess I just don't know enough about the program to know what to be specific about yet.

    The address bar reads:

    ...index.php?main_page=index&cPath=6&tID=5

    now, does that mean that somehow the class "site_map" is connect to "index" and also, where would the possible values for main_page (i.e. index) be stored? Are they in a table, in the code...?

    Also, I believe the "tID" refers to a template ID number and I'm not sure if that is something that one of our programmers built in or if that is part of the zencart package.

    Thank you again, your answers are very helpful!

    Regards,
    Pat

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Google Checkout module for ZC 1.3.x (beta)
    By jacob13moon in forum Addon Payment Modules
    Replies: 3932
    Last Post: 16 Aug 2012, 02:04 AM
  2. Store Pickup module
    By scrapperstoolbox in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 30 Aug 2006, 12:47 PM
  3. Zen cart on yahoo store
    By sanjeevg in forum General Questions
    Replies: 2
    Last Post: 10 Jul 2006, 11:52 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
  •