Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2005
    Posts
    89
    Plugin Contributions
    0

    Default why is this not overriding?

    I am under the understanding that I am supposed to make a custom_template folder wherever I see a "classic" folder correct? Then if I make changes to .php files I am supposed to copy them into the custom_template folder right?

    I'm asking because making changes to:
    store/includes/custom_template/shipping/zones.php does nothing but making changes to: store/includes/modules/shipping/zones.php does something.

    So why is it still reading the core file when I made the override and set it in the admin etc.. Is my path wrong?

    Please help.

  2. #2
    Join Date
    Jan 2004
    Location
    UK
    Posts
    1,231
    Plugin Contributions
    0

    Default Re: why is this not overriding?

    store/includes/modules/shipping/ doesn't have a 'classic' folder in it - and so it isn't an override-able folder.

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

    Default Re: why is this not overriding?

    custom_template folders are created at the locations where the classic folder is.

    What you attempted to do is create a shipping folder fully outside of whare it exists. If there was a a classic folder under shipping...this is where the override folder would be created.
    Zen-Venom Get Bitten
    Get Your Business Found

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,128
    Plugin Contributions
    0

    Default Re: why is this not overriding?

    This might work:
    /includes/modules/custom/shipping/zones.php

    Have similar settings for other functions.

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

    Default Re: why is this not overriding?

    Just a Post Script to what website Rob suggested:

    As there is not a "classic" folder inside of "shipping" these are not available to override...

    I suggest that you make a copy, rename the orig with the extention .orig; make your edits to the copy and load to the original location...

    Keep a log of these core edits so that prior to an upgrade you can preserve any file that also has a .orig copy there.
    Zen-Venom Get Bitten
    Get Your Business Found

 

 

Similar Threads

  1. sideboxes overriding header
    By cshart in forum Basic Configuration
    Replies: 2
    Last Post: 27 Apr 2010, 12:53 PM
  2. Overriding Functions
    By jgamio in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Nov 2006, 06:03 PM
  3. Error Overriding the includes/languages/english.php
    By jeanmichel in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 25 Oct 2006, 02:12 PM
  4. Manufacturers_select.php Not overriding
    By Blitz49 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Sep 2006, 07:02 PM
  5. Flummoxed by Images: logo overriding but not tile_back.jpg
    By gnotapipe in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 16 May 2006, 06:00 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
  •