Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
srenon committed May 23, 2019
1 parent 752fd75 commit 2a5f38a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 19 deletions.
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,17 @@ Lazy Load extension for Magento 2 only load images within the customer viewpoint

## Installation

#### Step 1
##### Using Composer (recommended)

```
composer require magepal/magento2-cataloglazyload
```

## Documentation

##### Manual Installation
To install Lazy Load for Magento2
* Download the extension
* Unzip the file
* Create a folder {Magento root}/app/code/MagePal/CatalogLazyLoad
* Copy the content from the unzip folder
* Flush cache
[How to Installing Catalog Images Lazy Load for Magento2](https://www.magepal.com/help/docs/magento-lazy-load-images/#installation)

#### Step 2 - Enable Lazy Load for Magento2
* php -f bin/magento module:enable --clear-static-content MagePal_CatalogLazyLoad
* php -f bin/magento setup:upgrade

#### Step 3 - Config Lazy Load for Magento2
Log into your Magento Admin, then goto Stores -> Configuration -> MagePal -> Catalog Lazy Load
[How to setup Catalog Images Lazy Load for Magento2](https://www.magepal.com/help/docs/magento-lazy-load-images/#configuration)

Contribution
---
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"magento/framework": "100.0.*|100.1.*|101.0.*|102.0.*"
},
"type": "magento2-module",
"version": "1.6.2",
"version": "1.6.3",
"license": [
"proprietary"
],
Expand Down
36 changes: 32 additions & 4 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,39 @@
<label>About MagePal Catalog Lazy Load Image</label>
<attribute type="expanded">1</attribute>
<comment>
<![CDATA[
<strong>Copyright © 2019 <a href="https://www.magepal.com" target="_blank">www.magepal.com</a> / <a href="mailto:[email protected]">[email protected]</a></strong><br />
Discover other must have extensions at <a href="https://www.magepal.com" target="_blank">www.magepal.com</a>. Thanks for choosing MagePal Extensions.<br/><br/>
<![CDATA[
<div id="magepal-info">
Copyright © 2019 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=cataloglazyload&utm_medium=admin" target="_blank">MagePal, LLC</a>
<a href="https://www.magepal.com/help/docs/magento-lazy-load-images/?utm_source=cataloglazyload&utm_medium=admin#documentation" target="_blank">Documentation</a>
<a href="https://www.magepal.com/help/docs/magento-lazy-load-images/?utm_source=cataloglazyload&utm_medium=admin#support">Support</a>
<a href="https://www.magepal.com/help/docs/magento-lazy-load-images/?utm_source=cataloglazyload&utm_medium=admin#current_version" target="_blank">Latest Version</a>
<a href="https://www.magepal.com/lazy-load.html?utm_source=cataloglazyload&utm_medium=admin" target="_blank">Extension Detail</a>
<a href="https://www.magepal.com/magento2/extensions.html?utm_source=cataloglazyload&utm_medium=admin" target="_blank">More Extensions</a>
</div>
<div id="magepal-promo">
Quickly preview alternative images of your products, learn more about our new
<a href="https://www.magepal.com/catalog-hover-image-for-magento.html?utm_source=cataloglazyload&utm_medium=admin" target="_blank">Catalog Hover Image for Magento</a> extension.
</div>
<hr style="border-top: 1px solid #e3e3e3" />
]]>
<style>
#magepal-info a {
font-weight: bold;
border-left: 2px solid #e3e3e3;
padding-left:10px;
padding-right:10px;
color: #ef7e1e;
}
#magepal-info a:first-child {
padding-left: 5px;
border-left: none;
}
#magepal-info {
padding-bottom: 5px;
}
</style>
]]>
</comment>
<field id="module_version" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Module Version</label>
Expand Down

0 comments on commit 2a5f38a

Please sign in to comment.