Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
public:faqyellowmap_ox7 [2023/07/20 09:36] markusmichalski |
public:faqyellowmap_ox7 [2024/04/11 10:15] (aktuell) markusmichalski |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | {{public:faq:smartmaps:smartmaps.png?nolink&400|}}\\ | + | {{public:faq:smartmaps:smartmaps.png?nolink&400|}}\\ \\ |
- | Installations-und Konfigurationsanleitung für OXID ab Version 7.0 \\ | + | **Installations-und Konfigurationsanleitung für OXID ab Version 7.0.x - 7.1.x \\ |
- | YellowMap AG - CAS-Weg 1-5 - 76131 Karlsruhe\\ | + | YellowMap AG - CAS-Weg 1-5 - 76131 Karlsruhe\\** |
Das Plugin im OXID Solution Hub: https://solutionhub.oxid-esales.com/address-autocomplete-und-verification/ \\ | Das Plugin im OXID Solution Hub: https://solutionhub.oxid-esales.com/address-autocomplete-und-verification/ \\ | ||
Zeile 13: | Zeile 13: | ||
===== Installation ===== | ===== Installation ===== | ||
==== Composer ==== | ==== Composer ==== | ||
- | == manuelle Bearbeitung der composer.json == | + | Verbinden Sie sich mit einer Konsole mit dem Webserver, navigieren Sie zum Basisordner des Shops (wo sich die composer.json-Datei befindet) \\ |
- | Öffnen Sie die Datei **composer.json** im Stammverzeichnis Ihres Shops und fügen Sie das Repository hinzu oder vervollständigen Sie die vorhandene Konfiguration: \\ | + | Führen Sie das folgende Kommando aus \\ |
- | <code yaml> | + | composer require yellowmap/addressverification-plugin-oxid-v7 |
- | "repositories": [ | + | Aktivieren Sie das OXID Plugin mit folgendem Befehl: |
- | { | + | vendor/bin/oe-console oe:module:activate ymaddressverification |
- | "type": "vcs", | + | ==== Manuell ==== |
- | "url": "https://github.com/FATCHIP-GmbH/plugin-oxid-yellowmap" | + | |
+ | Erstellen Sie im Verzeichnis //{shoproot}/vendor// die Ordner **yellowmap/addressverification-plugin-oxid-v7**.\\ | ||
+ | Extrahieren Sie die das Plugin-Zip-Paket und laden Sie die Daten aus dem Ordner **addressverification-plugin-oxid-v7-*Versionnummber* ** in den eben erstellten Ordner **addressverification-plugin-oxid-v7**\\ | ||
+ | {{public:faq:smartmaps:230731_ym_man_inst.png?nolink&800|}} | ||
+ | - Aktualisieren Sie die composer.json im Shoproot des Shops. Fügen Sie den folgenden Block hinzu:\\ | ||
+ | <code> | ||
+ | "autoload": { | ||
+ | "psr-4": { | ||
+ | "YellowMap\\YMAddressVerification\\": "./vendor/yellowmap/addressverification-plugin-oxid-v7" | ||
} | } | ||
- | ] | + | } |
</code> | </code> | ||
- | == Bearbeitung der composer.json über Command Line == | + | Installieren Sie das Plugin mit folgendem Befehl: \\ |
- | Melden Sie sich per SSH an dem Server an, auf dem sich die Shop-Installation befindet, und navigieren Sie zu dem Verzeichnis, in dem sich der Source- und Vendorornder befinden.\\ | + | vendor/bin/oe-console oe:module:install vendor/yellowmap/addressverification-plugin-oxid-v7 |
- | Führen Sie folgenden Befehl aus, um das Repository zur composer.json hinzuzufügen | + | Installieren Sie die Modul Assest mit folgendem Befehl: \\ |
- | Führen Sie folgenden Befehl aus, um das Plugin zu installieren | + | vendor/bin/oe-console oe:module:install-assets |
- | composer config repositories.fatchip-gmbh/plugin-oxid-yellowmap vcs https://github.com/FATCHIP-GmbH/plugin-oxid-yellowmap | + | Generieren Sie die autoload-Dateien neu, indem Sie nachfolgenden Befehl ausführen \\ |
- | Beachten Sie, dass der genaue Aufruf des Composers für Ihre konkrete OXID-Installation abweichen kann. \\ | + | composer dump-autoload |
- | == Installation des Plugins == | + | Aktivieren Sie das OXID Plugin mit folgendem Befehl: |
- | Nach erfolgter Ergänzung der Datei //composer.json// können Sie da Plugin installieren.\\ Melden Sie sich per SSH an dem Server an, auf dem sich die Shop-Installation befindet, und navigieren Sie zu dem Verzeichnis, in dem sich der Source- und Vendorornder befinden.\\ | + | vendor/bin/oe-console oe:module:activate ymaddressverification |
- | Führen Sie folgenden Befehl aus, um das Plugin zu installieren | + | |
- | composer require fatchip-gmbh/plugin-oxid-yellowmap --update-no-dev | + | |
- | Beachten Sie, dass der genaue Aufruf des Composers für Ihre konkrete OXID-Installation abweichen kann. \\ | + | |
- | == Aktivierung des Plugins == | + | |
- | Führen Sie folgenden Befehl aus, um das Plugin zu aktivieren | + | |
- | vendor/bin/oe-console oe:module:activate fcyellowmapac | + | |
- | ==== Manuell ==== | + | |
- | + | ||
- | Erstellen Sie im Verzeichnis //{shoproot}/source/modules// die Ordner **fc/fcyellowmapac**.\\ | + | |
- | Extrahieren Sie die das Plugin-Zip-Paket und laden Sie die Daten aus dem Ordner **plugin-oxid-yellowmap-*Versionnummber* ** in den eben erstellten Ordner **fcyellowmapac**\\ | + | |
- | {{public:faq:smartmaps:221012_SmartMaps_Datentransfer.png?nolink&800|}} | + | |
- | + | ||
- | === Einlesen der Modulkonfiguration === | + | |
- | Melden Sie sich per SSH an dem Server an, auf dem sich die Shop-Installation befindet, und navigieren Sie zu dem Verzeichnis, in dem sich der Source- und Vendorornder befinden. Führen Sie die folgenden Befehle aus:\\ | + | |
- | <code>vendor/bin/oe-console oe:module:install-configuration source/modules/fc/fcyellowmapac | + | |
- | vendor/bin/oe-console oe:module:apply-configuration </code> | + | |
- | Bei erfolgreichem Einlesen/Import erscheint die Nachricht\\ | + | |
- | **Module configuration has been installed** | + | |
===== Nach der Installation ===== | ===== Nach der Installation ===== | ||
Zeile 60: | Zeile 49: | ||
Aktivieren Sie das SmartMaps Plugin im OXID Administrationsbereich unter //**Erweiterungen** --> **Module** -> **SmartMaps Address Autocomplete & Verification**//, falls Sie dies noch nicht über die Command Line gemacht haben. \\ | Aktivieren Sie das SmartMaps Plugin im OXID Administrationsbereich unter //**Erweiterungen** --> **Module** -> **SmartMaps Address Autocomplete & Verification**//, falls Sie dies noch nicht über die Command Line gemacht haben. \\ | ||
- | {{public:faq:smartmaps:221012_SmartMaps_Activate.png?nolink&800|}} | + | {{public:faq:smartmaps:230731_ym_ox7_activiation.png?nolink&800|}} |
===== Konfiguration ===== | ===== Konfiguration ===== |