atom
This commit is contained in:
parent
d3c6eca6de
commit
2c04626b66
@ -5,6 +5,21 @@ include_toc: true
|
||||
|
||||
# AtoM Settings
|
||||
|
||||
## General
|
||||
|
||||
### Preview Images of PDF
|
||||
|
||||
`/etc/ImageMagick-6/policy.xml` die Zeile mit PDF auskommentieren, also so: `<!--<policy domain="coder" rights="none" pattern="PDF" />-->`
|
||||
|
||||
### 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:
|
||||
@ -16,3 +31,30 @@ To increase memory_limit for specific part in code:
|
||||
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/<pluginname>/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 `<?php echo __('Virtual exhibits') ?>` und im `messages.xml` der Eintrag:
|
||||
|
||||
```
|
||||
<trans-unit id="13">
|
||||
<source>Virtual exhibits</source>
|
||||
<target>Virtuelle Ausstellungen</target>
|
||||
</trans-unit>
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user