--- gitea: none include_toc: true --- # AtoM Settings ## General ### Preview Images of PDF `/etc/ImageMagick-6/policy.xml` die Zeile mit PDF auskommentieren, also so: `` ### Add Full Hierarchy to menu - Set "Show browse hierarchy page" to "yes" in `https://localhost:8484/index.php/settings/treeview` - Go to https://localhost:8484/index.php/menu/list and add https://localhost:8484/index.php/browse/hierarchy ## Logout timeout - in `atom/config/factories.yml` ## PHP Settings To increase memory_limit for specific part in code: - In `/etc/opt/remi/php72/php-fpm.d/atom.conf` change `php_admin_value[memory_limit] = 2048M` to `php_value[memory_limit] = 2048M`, so that It can be overridden - somewhere in the code, for example in a plugin, get and set it with: ``` echo ini_get('memory_limit'); ini_set('memory_limit', '4096M'); echo ini_get('memory_limit'); exit; ``` ## Language Settings ### Default Language In file: `atom/apps/qubit/config/settings.yml` ### GUI Add/remove languages here: http://10.10.10.10/settings/language Benutzeroberfläche kann, wenn als Admin eingeloggt, unten rechts über "Übersetze die Benutzeroberfläche", angepasst werden. Die Änderungen haben Einfluss auf `atom/apps/qubit/i18n/de/messages.xml`, sie werden dort gespeichert. Siehe https://www.accesstomemory.org/en/docs/2.5/user-manual/translate/translate-interface/#translate-interface ### Eigene Templates Übersetzungen für eigene Template-Parts werden unter `atom/plugins//i18n/de/messages.xml` abgespeichert. Die ID kann (glaube ich) individuell frei gewählt werden. Bsp. Im arArchivesCanada Theme, gibt es unter `modules/staticpage/templates/homeSuccess.php` ein Platzhalter für `` und im `messages.xml` der Eintrag: ``` Virtual exhibits Virtuelle Ausstellungen ```