2017 © Pedro Peláez
 

magento2-module magento-base-module

Magento Base Module by outer/edge

image

outeredge/magento-base-module

Magento Base Module by outer/edge

  • Tuesday, May 8, 2018
  • by outeredge
  • Repository
  • 5 Watchers
  • 2 Stars
  • 2,844 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 19 Versions
  • 9 % Grown

The README.md

outer/edge Magento Base Module

This module provides the following useful features for Magento 2:, (*1)

Admin

  • Additional widget types
    • Image picker
    • Text field
  • Enabled anchor button in WYSIWYG
  • Banner images for CMS pages - adds an option to upload a banner image to all page in Content > Pages which can be pulled through to the frontend.
  • Create section in admin menu for quick actions:
    • Create new order
    • Create product
  • Enforces media URL seen by the admin to be NULL always (i.e. so CDN isn't used)

SEO

  • Canonical URL improvements
    • Add canonical URL for all CMS pages
    • Include pagination in category canonical URLs as per Google Recommendation
  • Set robots meta tag to NOINDEX/NOFOLLOW for:
    • Common query strings such as list ordering, limit, store codes etc
    • Search results
    • Product review list
  • Forces a 404 HTTP response for placeholder images
  • Adds preconnect headers for google.com/gstatic.com

Cookiebot & Termly

  • Don't move cookiebot tags to footer when move JS to footer is enabled
  • Block YouTube cookies unless Cookiebot has given consent (Enabled by default)
  • Cookiebot declaration template for use on cookie policy CMS page
  • Import Termly generated Cookie Policy for use on cookie policy CMS page

API

  • /rest/V1/site_status/get - To remotely obtain recent config changes and indexer statuses

Developer Tools

  • Helper classes:
    • Asset helper - get assets
    • Image helper - get media images and resize, crop etc.
    • Config helper - get values from Magento config
  • Console commands
    • outeredge:nuke for removing all cache and static files
    • outeredge:config lists all recent config changes
  • Adds support for newer version of MariaDB
  • Disables jQuery mutate console messages

Console Commands

Command Description
$ bin/magento outeredge:config Show recent core_config_data changes
$ bin/magento outeredge:nuke Remove generated + static files and flushes cache)

Cookiebot Declaration

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:, (*2)

{{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:, (*3)

{{block class="Magento\Framework\View\Element\Template" template="OuterEdge_Base::termly/cookie-policy.phtml"}}

Multistore projects

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:, (*4)

  • Add to composer.json :
    "autoload": {
        "files": [
            "vendor/outeredge/magento-base-module/multistore.php",
            ...
  • Then create individual env.php files for each, naming them env.php.STORE_CODE replacing STORE_CODE as applicable.

The Versions

08/05 2018

dev-master

9999999-dev

Magento Base Module by outer/edge

  Sources   Download

MIT OSL-3.0 AFL-3.0

The Requires

 

The Development Requires

08/05 2018

2.1.8

2.1.8.0

Magento Base Module by outer/edge

  Sources   Download

MIT

The Requires

 

The Development Requires

08/05 2018

2.1.7

2.1.7.0

Magento Base Module by outer/edge

  Sources   Download

MIT

The Requires

 

The Development Requires

12/04 2018

2.1.6

2.1.6.0

Magento Base Module by outer/edge

  Sources   Download

MIT

The Requires

 

The Development Requires

10/04 2018

2.1.5

2.1.5.0

Magento Base Module by outer/edge

  Sources   Download

MIT

The Requires

 

The Development Requires

09/04 2018

2.1.4

2.1.4.0

Magento Base Module by outer/edge

  Sources   Download

MIT

The Requires

 

The Development Requires

08/12 2017

2.1.3

2.1.3.0

Magento Base Module by outer/edge

  Sources   Download

MIT

The Requires

 

The Development Requires

08/11 2017

2.1.2

2.1.2.0

Magento Base Module by outer/edge

  Sources   Download

MIT

The Requires

  • php 7.0.2|7.0.4|~7.0.6|~7.1.0

 

The Development Requires

06/11 2017

2.1.1

2.1.1.0

Magento Base Module by outer/edge

  Sources   Download

MIT

The Requires

  • php 7.0.2|7.0.4|~7.0.6|~7.1.0

 

The Development Requires

05/10 2017

2.1.0

2.1.0.0

Magento Base Module by outer/edge

  Sources   Download

MIT

The Requires

  • php 7.0.2|7.0.4|~7.0.6|~7.1.0

 

The Development Requires

14/08 2017

2.0.4

2.0.4.0

Magento Base Module by outer/edge

  Sources   Download

MIT

The Requires

  • php 7.0.2|7.0.4|~7.0.6|~7.1.0

 

The Development Requires

10/03 2017

2.0.3

2.0.3.0

Magento Base Module by outer/edge

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • php ~5.5.0|~5.6.0|~7.0.0

 

10/10 2016

2.0.2

2.0.2.0

Magento Base Module by outer/edge

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • php ~5.5.0|~5.6.0|~7.0.0

 

03/10 2016

1.0.3

1.0.3.0

Base Module by outer/edge

  Sources   Download

MIT

The Requires

 

02/06 2016

2.0.1

2.0.1.0

Magento2 Base Module by outer/edge

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

 

02/06 2016

2.0.0

2.0.0.0

Magento2 Base Module by outer/edge

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

 

19/05 2016

1.0.2

1.0.2.0

Base Module by outer/edge

  Sources   Download

MIT

The Requires

 

12/05 2016

1.0.1

1.0.1.0

Base Module by outer/edge

  Sources   Download

MIT

The Requires

 

29/01 2016

1.0

1.0.0.0

Base Module by outer/edge

  Sources   Download

MIT

The Requires