Compare commits

..

No commits in common. "master" and "v1.0.0" have entirely different histories.

4 changed files with 37 additions and 43 deletions

View File

@ -12,7 +12,7 @@
* You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/> * You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>
*/ */
namespace AlfredBez\HtmlMin\Modules\Core; namespace AlfredBez\HtmlMin\Core;
class UtilsView extends UtilsView_parent { class UtilsView extends UtilsView_parent {

View File

@ -2,33 +2,23 @@ HTML minify
============================= =============================
Enables Smarty 'trimwhitespace' Outputfilter to minify HTML Code Enables Smarty 'trimwhitespace' Outputfilter to minify HTML Code
Versions
------------
| OXID eShop Version | Module Version |
|------|------|
| v5.x | v0.x |
| v6.x | v1.x |
Download Download
------------ ------------
first you need [composer](https://getcomposer.org/download/) first you need [composer](https://getcomposer.org/download/)
add the module to your composer.json add the module to your composer.json
* via command line ```composer require alfredbez/ab_htmlmin:"^1.0"``` * via command line ```composer.phar require alfredbez/ab_htmlmin dev-master```
* OR * OR
* manually * manually
``` ```
{ {
"require": { "require": {
"alfredbez/ab_htmlmin": "^1.0"" "alfredbez/ab_htmlmin": "dev-master"
} }
} }
``` ```
This will install the OXID-v6 module. If you need the module for an older shop just use `v0.1` instead of `v1.0`.
---- ----
**Don't forget to activate module in the OXID backend** **Don't forget to activate module in the OXID backend**

View File

@ -4,7 +4,7 @@
"keywords": ["oxid", "modules", "eShop"], "keywords": ["oxid", "modules", "eShop"],
"description": "entfernt unnötige Whitespaces aus dem HTML-Code", "description": "entfernt unnötige Whitespaces aus dem HTML-Code",
"require": { "require": {
"oxid-esales/oxideshop-ce": "7.0 - 7.0" "oxid-esales/oxideshop-ce": "^v6.0"
}, },
"authors": [ "authors": [
{ {
@ -12,10 +12,14 @@
"email": "alfred.bez@gmail.com" "email": "alfred.bez@gmail.com"
} }
], ],
"extra": {}, "extra": {
"oxideshop": {
"target-directory": "ab/htmlmin"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"AlfredBez\\HtmlMin\\": "" "AlfredBez\\HtmlMin\\": "../../../source/modules/ab/htmlmin"
} }
}, },
"minimum-stability": "dev" "minimum-stability": "dev"

View File

@ -9,7 +9,7 @@
/** /**
* Metadata version * Metadata version
*/ */
$sMetadataVersion = '2.1'; $sMetadataVersion = '2';
/** /**
* Module information * Module information
@ -20,9 +20,9 @@ $aModule = [
'description' => 'entfernt unnötige Whitespaces aus dem HTML-Code', 'description' => 'entfernt unnötige Whitespaces aus dem HTML-Code',
'version' => '2.0', 'version' => '2.0',
'author' => 'Alfred Bez', 'author' => 'Alfred Bez',
'url' => 'https://www.alfredbez.de', 'url' => 'http://www.alfredbez.de',
'email' => 'alfred.bez@gmail.com', 'email' => 'alfred.bez@gmail.com',
'extend' => [ 'extend' => [
\OxidEsales\Eshop\Core\UtilsView::class => \AlfredBez\HtmlMin\Modules\Core\UtilsView::class, \OxidEsales\Eshop\Core\UtilsView::class => \AlfredBez\HtmlMin\Core\UtilsView::class,
], ],
]; ];