General
From ModulesGarden Wiki
(Difference between revisions)
(→How To Debug Modules) |
(→How To Debug Modules) |
||
Line 53: | Line 53: | ||
|} | |} | ||
{| | {| | ||
− | |style="padding: 0px 0px | + | |style="padding: 0px 0px 20px 15px;"|To disable debug mode, simply call the same parameter but with the value '''''turnoff'''''. For example:<br /> |
yourdomain.com/clientarea.php?'''_debug=turnoff''' | yourdomain.com/clientarea.php?'''_debug=turnoff''' | ||
+ | |} | ||
+ | {| | ||
+ | |style="padding: 0px 0px 20px 15px;"|'''If you will receive the error as shown on the screen below, please make sure that you are using the correct parameter and you have sufficient privileges. | ||
|} | |} |
Revision as of 14:05, 20 March 2013
How To Change Module Language
Please note that not all of our modules have Multi-Language Support.
1. Changing module language is very simple. First of all, go to 'lang' folder located in your module or templates directory (dependant on the module). Now copy 'english.php' file and rename it to your desired language, for example 'spanish.php' . |
![]() |
2. Now you can enter to your newly created file and easily replace particular sentences. For presentation purposes we changed ['manage header'] from 'Manage' to 'Ordenar' . Don't forget to save the changes. |
![]() |
3. Now you can change the language in two ways:
|
![]() |
|
![]() |
4. As you can see on the following screen the header has changed to 'Ordenar' owing to our changes. |
![]() |
That's all, from now on you shouldn't have any problems with changing language in our modules. |
How To Debug Modules
If the procedure described below doesn't work for you, please report this to our Support Team.
When you are experiencing white page or the module is not working as it should, you can enable debug mode that prints all the PHP errors on the screen. |
To do so, enter the URL you are experiencing the issue with and add the additional parameter '_debug=turnon' . For example: yourdomain.com/clientarea.php?action=productdetails&id=81&_debug=turnon |
To disable debug mode, simply call the same parameter but with the value turnoff. For example: yourdomain.com/clientarea.php?_debug=turnoff |
If you will receive the error as shown on the screen below, please make sure that you are using the correct parameter and you have sufficient privileges. |