Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Problem with BOX_INFORMATION_SHIPPING Displaying on Site Map

    I wonder if anyones know what's causing the text BOX_INFORMATION_SHIPPING to display on my site map structure instead of the Shipping and Returns link?

    I was editing a custom page not found page when I noticed it but not sure how long it's been like that.


    ***huge screenshot removed***
    Last edited by Kim; 5 Feb 2009 at 06:31 PM. Reason: Please reduce the size of images before posting on the forum

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Problem with BOX_INFORMATION_SHIPPING Displaying on Site Map

    .

    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
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with BOX_INFORMATION_SHIPPING Displaying on Site Map

    Hi,

    I was aware of the the cause, just wondered if anyone might know which file to check?

    There are 3 files being highlighted in the admin Developers Toolkit but the fact that these three files contain the text, does that mean those are NOT the culprits as they haven't had this entry deleted?


    /home/content/d/y/s/dystynction/html/includes/modules/sideboxes/information.php

    Line #14 : $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';

    /home/content/d/y/s/dystynction/html/includes/templates/template_default/templates/tpl_page_not_found_default.php

    Line #45 : <li><?php echo '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>'; ?></li>

    /home/content/d/y/s/dystynction/html/includes/templates/template_default/templates/tpl_site_map_default.php

    Line #49 : <li><?php echo '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>'; ?></li>

  4. #4
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with BOX_INFORMATION_SHIPPING Displaying on Site Map

    The fact that this capitalized text appears on the redirect page and is contained in the site map, does that give you any clues as to which files I need to sleuth into and compare with the originals?

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

    Default Re: Problem with BOX_INFORMATION_SHIPPING Displaying on Site Map

    Please re-read the FAQ - https://www.zen-cart.com/tutorials/index.php?article=95

    Hint: you are looking for a language file.
    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.

  6. #6
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with BOX_INFORMATION_SHIPPING Displaying on Site Map

    I wonder which one? Which language file would output the text, "Shipping and Returns" or "Shipping & Returns"

  7. #7
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Problem with BOX_INFORMATION_SHIPPING Displaying on Site Map

    Probably english.php:
    Code:
      define('BOX_INFORMATION_SHIPPING', 'Shipping &amp; Returns');
    If you compare your customized version of that file against your edited override version of the file, you'll see what alterations you've made to break it.
    Then again, if you're editing language/template files directly instead of using the override infrastructure for your customizations, you won't have that luxury.
    There are several articles on the "override" system in the FAQ area.
    .

    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.

  8. #8
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with BOX_INFORMATION_SHIPPING Displaying on Site Map

    Nope, that was the first file I checked. Original and existing are identical on line 140 they both say, "define('BOX_INFORMATION_SHIPPING', 'Shipping &amp; Returns');"

  9. #9
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with BOX_INFORMATION_SHIPPING Displaying on Site Map

    I've now replaced all possible candidates in my includes/languages/english folder with the original files from the install folders and none of them cure this annoying CAPS_TEXT. I've tried shippinginfo.php + site_map.php + page_not_found.php + privacy.php (as I'd edited this earlier and wanted to be sure) + of course english.php

    Anyone have any more clues as the this annoying culprit?

  10. #10
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Problem with BOX_INFORMATION_SHIPPING Displaying on Site Map

    could someone please do me a favour, search the word "returns" in their Developers Toolkit and see which files contain this text? I only have three files which contain "returns" so if you guys had 4 then this would certainly point to the culprit :-)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 19
    Last Post: 3 May 2015, 06:02 PM
  2. v139f Displaying the site map in 3 columns
    By aspapi in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 15 Dec 2012, 11:59 PM
  3. Problem with ezpages on site map
    By Halollet in forum General Questions
    Replies: 0
    Last Post: 15 Aug 2010, 07:31 PM
  4. EI Site Map Problem!!!
    By Mogensen Moccasin Co in forum General Questions
    Replies: 2
    Last Post: 18 Mar 2009, 06:52 AM
  5. Problem with site map
    By death1 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 13 Jun 2006, 03:22 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