fatchip-gmbh / plugin_oxid6_srcinject
An Oxid Module for sourcecode injection
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:oxideshop-module
Requires
- php: >=7.3
This package is auto-updated.
Last update: 2024-11-25 17:10:00 UTC
README
OXID Module for sourcecode injection
With this module you can add additional content such as
CSS snippets or tracking codes, fed directly into the source code through the admin page.
Installation
Installation with Composer
- In your console, navigate to the root directory of your shop
- Use the following command to install the module:
composer require fatchip-gmbh/plugin_oxid6_srcinject
Manual Installation
- Copy the content into source/modules of the shop installation
- In the composer.json file in the base folder of the shop add the autoload configuration or extend if already existing:
"autoload-dev": {
"psr-4": {
"FATCHIP\\fcsrcinject\\": "./source/modules/fc/fcsrcinject"
}
},
- Connect to the webserver with a console, navigate to the shop base folder and execute the following command:
vendor/bin/composer dump-autoload
- If your OXID Version >= 6.2, execute the following command
vendor/bin/oe-console oe:module:install-configuration source/modules/fc/fcsrcinject
- Log in to the shop admin area go to the module
- Enable the module
- In the module settings
- Set Head injection if needed
- Set Body injection if needed
Author
FATCHIP GmbH | https://www.fatchip.de | support@fatchip.de