Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default ZC Overrides Cheatsheet

    This cheatsheet identifies the override possibilities for various directories in the Zen Cart structure. I thought I'd post it here before submitting it to the Free Software Add-Ons to see if there's any interest and/or suggestions for improvement.

    Just extract the files and then bring up the file zc_overrides_139.htm in your browser window.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Zen Cart Overrides Cheatsheet

    Would be interested in the differences between this and http://www.zen-cart.com/index.php?ma...roducts_id=298
    .

    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.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Zen Cart Overrides Cheatsheet

    DrByte, the add-on you referenced identifies the locations of the template-specific overrides only. My submission attempts to pull together all the override possibilities available in Zen Cart.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Zen Cart Overrides Cheatsheet

    Fair. Was just curious. Hadn't reviewed yours yet.

    NOTES:
    a) /index_filters/YOUR_TEMPLATE/ is also valid since 1.3.9

    b) I would probably add a little emphasis to your comments about copying from template_default that it's *not* necessary to copy the *entire* template_default folder: just the files you want to change.

    c) I would also suggest adding to your comments about header_php.php files that a good reminder would be to NEVER rename any existing header_php.php files for backup purposes. ie: header_php-old.php would STILL get loaded, and could cause all manner of confusion and complicated debugging steps. (Same point is valid for all other auto-inclusion folders, but this one is particularly volatile because of the existing files vs the other folders where usually one is only adding new files.)
    .

    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.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Zen Cart Overrides Cheatsheet

    DrByte, thanks for the comments; I'll incorporate them in my next iteration.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Zen Cart Overrides Cheatsheet

    Here's v1.0.1 of the cheatsheet. I've incorporated DrByte's comments and found another override location.

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Zen Cart Overrides Cheatsheet

    Amazing what you find on random searches through this forum.. BOOKMARKING THIS!!!!
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Zen Cart Overrides Cheatsheet

    This offering is now available in the Plugins area
    http://www.zen-cart.com/downloads.php?do=file&id=1393
    the information is still valid for v1.5.0.

  9. #9
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Zen Cart Overrides Cheatsheet

    Whoo hoo!!!!
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,105
    Plugin Contributions
    11

    Default Re: Zen Cart Overrides Cheatsheet

    BEYOND EXCELLENT.

    As to the renaming of files, I have a small addition to that of DrByte's. Renaming a file to .bak will raise PCI flags. I generally use my initials and rename filename_here.php to filename_here.jet. As long as you are not J.Paul Getty, George I Foxworthy, or Peter H Phillips, etc. there should be no problem. AND, your changes are easily found later with a search.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Overrides
    By logicalstep in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 9 Feb 2011, 02:18 PM

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