Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2007
    Posts
    38
    Plugin Contributions
    0

    Default Sidebox title bar says BOX_HEADING_EDITABLE_SIDEBOX_LIVE_CHAT instead of Live Chat

    Good Evening lovely people :)

    I have installed a new editable sidebox here http://www.ital-dezigns.co.uk and am sure I have followed the instructions properly, have done it twice in fact, but if you look at the top right sidebox, you will see the category title says BOX_HEADING_EDITABLE_SIDEBOX_LIVE_CHAT when it should say 'Live Chat' I have looked everywhere before coming here, but am stumped, and just can not work out how to change it to say Live Chat, I have probably done something stupid loll

    Thank you for your time.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,264
    Plugin Contributions
    3

    Default Re: Sidebox title bar says BOX_HEADING_EDITABLE_SIDEBOX_LIVE_CHAT instead of Live Cha

    Sidebox modules have a language file, so you have either loaded it to the wrong place, or not loaded it at all.
    20 years a Zencart User

  3. #3
    Join Date
    Sep 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Sidebox title bar says BOX_HEADING_EDITABLE_SIDEBOX_LIVE_CHAT instead of Live Cha

    Hi Schoolboy, thanks...I uploaded the whole includes folder to root directory as it said, so not sure if something might have gone wrong

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,264
    Plugin Contributions
    3

    Default Re: Sidebox title bar says BOX_HEADING_EDITABLE_SIDEBOX_LIVE_CHAT instead of Live Cha

    Much will depend on how the author of that sidebox has structured it.

    In the INCLUDES folder of the module, there are probably:

    /includes/languages/
    /includes/modules/
    /includes/templates/

    Folders.

    Inside THOSE will be more foldlers... PROBABLY

    /includes/languages/english/extra_definitions/... ??? (then what? - look at the module and tell me how the rest if this path is structured)
    /includes/modules/sideboxes/... ??? (then what? - look at the module and tell me how the rest if this path is structured)
    /includes/templates/... ??? (then what? - look at the module and tell me how the rest if this path is structured)

    What you are seeing (BOX_HEADING_EDITABLE_SIDEBOX_LIVE_CHAT) is called a LANGUAGE CONSTANT.

    Language Constants must be accompanied by an associated variable:

    define('BOX_HEADING_EDITABLE_SIDEBOX_LIVE_CHAT', 'Chat With Us');

    Your TEMPLATE file for that sidebox is saying: "I see a CONSTANT called BOX_HEADING_EDITABLE_SIDEBOX_LIVE_CHAT, so please go collect its variable from the associated language file."

    If it cant find that language file, or if the CONSTANT is not there, the template will simply return the Constant Text in its own file.
    20 years a Zencart User

 

 

Similar Threads

  1. live chat in sidebox
    By kinembe in forum Addon Sideboxes
    Replies: 10
    Last Post: 17 Jan 2016, 09:58 PM
  2. Remove Categories Sidebox Title Bar
    By ikernbecauseicare in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 20 Nov 2012, 08:04 PM
  3. v139h Refresh live chat sidebox every 10sek?
    By Enpeek in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 17 Mar 2012, 12:13 AM

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