Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.63 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.63 KB

Mage2 Module Nadeem ProfilePicture

``nadeem/module-profilepicture``

Main Functionalities

Magento2 extension to set customer profile picture.

Installation

* = in production please use the --keep-generated option

Type 1: Zip file

  • Unzip the zip file in app/code/Nadeem
  • Enable the module by running php bin/magento module:enable Nadeem_ProfilePicture
  • Apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Type 2: Composer

  • Make the module available in a composer repository for example:
    • private repository repo.magento.com
    • public repository packagist.org
    • public github repository as vcs
  • Add the composer repository to the configuration by running composer config repositories.repo.magento.com composer https://repo.magento.com/
  • Install the module composer by running composer require nadeem/module-profilepicture
  • enable the module by running php bin/magento module:enable Nadeem_ProfilePicture
  • apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Configuration

Specifications

  • Controller

    • frontend > customer/account/index
  • Helper

    • Nadeem\ProfilePicture\Helper\Data

Attributes

  • Customer - customer_profile_picture (customer_profile_picture)