Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,838
    Plugin Contributions
    31

    Default table.php override does not get picked up by Admin

    Hi,
    I copied this file
    /includes/languages/english/modules/shipping/table.php

    to

    /includes/languages/english/modules/shipping/my_template/table.php

    the file contains
    define('MODULE_SHIPPING_TABLE_TEXT_TITLE', 'Table Rate');
    define('MODULE_SHIPPING_TABLE_TEXT_DESCRIPTION', 'Table Rate');
    define('MODULE_SHIPPING_TABLE_TEXT_WAY', 'Best Way');

    Changed text in the override table.php file shows up in the shop checkout-shipping options as expected but the changes of _TITLE and _DESCRIPTION are ignored in the admin-modules-shipping section.
    Admin continues to pick up these two strings from the original file, not the ones in the override directory.

    So any extra table modules have to go in the original directory to allow their descriptions to be seen in Admin.
    Otherwise it shows
    MODULE_SHIPPING_TABLE2_TEXT_TITLE instead of what you have called it.

    This does not seem in keeping with the upgrade/override mantra or have I missed something?

    regards
    Steve

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

    Default Re: table.php override does not get picked up by Admin

    The Admin does not have overrides at this time.
    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
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,838
    Plugin Contributions
    31

    Default Re: table.php override does not get picked up by Admin

    OK thanks,

    I understood that the Admin files cannot themselves be overridden, but this is a case of a legitimate override file being ignored by Admin which I though was a different scenario,

    thanks
    Steve

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

    Default Re: table.php override does not get picked up by Admin

    Files in /includes/ do not apply to admin. The /admin/includes/ files handle things for the admin side.

 

 

Similar Threads

  1. index.php not being picked up
    By LizzyB in forum General Questions
    Replies: 2
    Last Post: 9 Apr 2009, 07:15 AM
  2. Replies: 0
    Last Post: 16 Aug 2007, 04:39 AM
  3. Host does not have PHP MY Admin
    By chief_wiggum in forum General Questions
    Replies: 2
    Last Post: 8 Feb 2007, 12:46 PM
  4. Does Configure.php need to be saved as override?
    By mlm2005 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 4 Jul 2006, 04:33 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