Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2012
    Posts
    151
    Plugin Contributions
    0

    Default how to construct a web site with a lot of secondary developments?

    I am new to my company now, my company site has been created based on 1.3.8a, and there are lot of zencart core files changed , and a lot of new secondary developed files added . now my boss want to update the company site to zencart 1.5.1, and want to construct the site starting from scratch, the new verson of company site should be clear in structure and easy to update.

    can any good people give some suggestions ? and any good theads telling about that ?

    some thoughts of mine:
    1.if new classes files added ,should be placed in includes/classes/jy_class.xxx.php (jy is my company name);
    2.if new includes/modules/pages/xxx/header_php.php ,should be placed in includes/modules/jy/pages/xxx/header_php.php
    3.if new functions ,should be placed in includes/functions/extra_functions/jy_functions_xxx.php

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: how to construct a web site with a lot of secondary developments?

    1 and 3, yes. 2, no, because /includes/modules/pages/ files are not overrideable - there is no processing structure to use a "template" copy of these. At least some of the filenames are also fixed, so you probably cannot prefix them with your company tag. You can and should note your name, date and relevant comments in the file contents, though.

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: how to construct a web site with a lot of secondary developments?

    There are some other override folders as well, for deeper structures, two at least named simply /overrides/:
    /includes/autoloaders/overrides/
    /includes/init_includes/overrides/

    The wiki should have some articles about using these and others.

  4. #4
    Join Date
    Apr 2012
    Posts
    151
    Plugin Contributions
    0

    Default Re: how to construct a web site with a lot of secondary developments?

    good advices,thank gjh42

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: how to construct a web site with a lot of secondary developments?

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

 

 

Similar Threads

  1. v151 Using an exisiting "customised" web site as the basis for a 2nd and 3rd web site
    By 500N in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 May 2014, 12:30 AM
  2. Sure seems like a lot of $ for a lot of work...
    By runfrombears in forum General Questions
    Replies: 9
    Last Post: 15 Mar 2013, 08:13 AM
  3. secondary site
    By stitchnkitty in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 6 May 2011, 09:47 PM
  4. Secondary Site pop up
    By peesfull1 in forum General Questions
    Replies: 0
    Last Post: 12 May 2008, 12:12 AM
  5. How do I add a Web Poll to my site?
    By tkjazz in forum General Questions
    Replies: 3
    Last Post: 16 Feb 2008, 06:14 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