Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2011
    Posts
    13
    Plugin Contributions
    0

    Default Override vs Overwrite for modules/pages files

    Just a quick question on doing over-rides. I am trying to install the following addon - "Contact_Us - Subject Mod V2". One of the files that I need to install has the following format :
    includes/modules/pages/contact_us/header_php.php


    I think this file should be installed as an override and I should not overwrite the original file. Actually, I did try an override and placed it in the following folder:
    includes/modules/YOUR_TEMPLATE/pages/contact_us/header_php.php


    This didn't seem to work. I believe the correct placement should be the following:
    includes/modules/YOUR_TEMPLATE/header_php.php


    Just wondering if someone with experience can verify this for me. I did purchase the Zen Cart manual and have been pouring over it for the last few days. Its instructions and those that came with the manual haven't been explicit enough to assist me with the particular problem. So any help would be much appreciated.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Override vs Overwrite for modules/pages files

    Scroll down to the bottom of this page and check out the similar threads - I believe you will find your answer.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jun 2011
    Posts
    13
    Plugin Contributions
    0

    Default Re: Override vs Overwrite for modules/pages files

    Non-answers are frustrating. I will look, but I've used the search function, read through the manual, and spent quite a bit of time framing my question. If you've read a topic where my question could be answered, at least give a link.

    Thank you for at least replying to my question. I do not mean to be rude.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Override vs Overwrite for modules/pages files

    Short answer: No. There are no overrides for /includes/modules/pages/ files/folders.
    .

    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
    Jun 2011
    Posts
    13
    Plugin Contributions
    0

    Default Re: Override vs Overwrite for modules/pages files

    Thank you Dr. Byte. I do have a copy of the original Zen Cart on my computer, so I have a copy of the original file. I will have to come up with a good system for keeping track of the Add On files that I install so I can put them back in place in case of an upgrade. I appreciate your time.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Override vs Overwrite for modules/pages files

    If you read the threads below, as Kim suggested, you'll see approaches others have taken to handle that.
    Indeed I'm sure that's why she answered as she did, since reading those threads will give you the information I did as well as what you seek.
    .

    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.

  7. #7
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Override vs Overwrite for modules/pages files

    It's also true, though puzzling, that the "engine" that produces the Similar Threads links below is better at finding related threads than the search function in the forum. Perhaps this is because the auto-search that finds those Similar Threads is using all of the text in your post rather than just the few terms you'd be likely to use in a search. More than once I've posted a question only to find the answer under Similar Threads, even though I searched for it myself before asking, as you did.

    Rob

  8. #8
    Join Date
    Jun 2011
    Posts
    13
    Plugin Contributions
    0

    Default Re: Override vs Overwrite for modules/pages files

    Thank you rtstevenson. And my sincere apologies to Kim. I completely missed the box at the bottom of this page titled "Similar Threads". Now that I now to look for it, I'm sure it will help me quite a bit in the future.

    I thought Kim was telling me to go back to the main page and look for other threads, rather than at the bottom of THIS page. Knowing that threads will move up and down as they are answered, I thought it was an inconsiderate response and was not helpful. I'm eating crow now.

    Setting up this website for my wife is my nighttime job, and although I thoroughly enjoy learning new information, it does get frustrating trying to find the right answers with the overwhelming amount of information that is available. I learned something new thanks to rtstevenson and wish I had understood what Kim tried telling me earlier.

    Again thanks to all for your help.

 

 

Similar Threads

  1. Override of includes/modules/pages
    By sfatula in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 6 Apr 2010, 05:21 PM
  2. Override for includes/modules/pages?
    By dbrewster in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 27 Jan 2007, 04:51 PM
  3. Trouble With The Override For 'modules/pages'
    By jimmy_jazz in forum General Questions
    Replies: 3
    Last Post: 25 Oct 2004, 05:44 AM

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