Type
magento2-module
Magento 2 Base Module by outer/edge
magento2-module
MIT
None
None
None
None
This module provides the following useful features for Magento 2:
anchor
button in WYSIWYGContent > Pages
which can be pulled through to the frontend.Create
section in admin menu for quick actions:
NOINDEX/NOFOLLOW
for:
/rest/V1/site_status/get
- To remotely obtain recent config changes and indexer statusesouteredge:nuke
for removing all cache and static filesouteredge:config
lists all recent config changesCommand | Description |
---|---|
$ bin/magento outeredge:config |
Show recent core_config_data changes (use --save to save differences shown to config.php and --force to overwrite any existing config) |
$ bin/magento outeredge:nuke |
Remove generated + static files and flushes cache) |
$ bin/magento outeredge:eav-clean |
Removes non-existent types from EAV attributes |
To add the Cookiebot cookie declaration form into your cookie policy CMS page, add the following snippet into the CMS page in the Magento admin:
{{block class="Magento\Framework\View\Element\Template" template="OuterEdge_Base::cookiebot/declaration.phtml"}}
To add the Termly cookie policy into your cookie policy CMS page, add the following snippet into the CMS page in the Magento admin:
{{block class="Magento\Framework\View\Element\Template" template="OuterEdge_Base::termly/cookie-policy.phtml"}}
Add multistore.php
to the top of the composer.json
autoload/files section to allow separate config files (and thus databases) per store on the same instance/repository:
composer.json
: "autoload": {
"files": [
"vendor/outeredge/magento-base-module/multistore.php",
...
env.php.STORE_CODE
replacing STORE_CODE
as applicable.