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 :blush: loll
Thank you for your time.
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.
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 :lookaroun
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.