Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Directly editing the language files is not recommended. These files may be overwritten during module updates, resulting in a loss of any edits you had made.
Instead, it is recommended to use overrides. Overrides allow you to customise the default variables with your own values such that they will be preserved through the update process.

To create an override, copy the language file into the directory /modules/addons/hideproducts/lang/override/  and edit the text you want to change. This file will be not overwritten on a module update.

Some notes on using the overrides:

  • You must not copy the full content of the original language file. Instead you can just copy the variable which you want to override.
  • If you want to add additional language variables, you do not need to edit the original language file either. You can define new language variables in the overrides.
  • Technically, the module loads the language file in the following order: /lang/english.php → /lang/override/english.php

If you have activated the "Block Logins" option, logins from non-permitted countries are not allowed. The module then simply displays a white page.
If you want to display a custom page, or if you want to redirect to another page, you can do this via the file "custom_error_page.php".

To activate this feature, follow these steps:

  1. Navigate into the directory "/modules/addons/adminloginnotify/"
  2. Create the file "custom_error_page.php"
  3. Insert your HTML or PHP code into the file and save it

...