Commits vergleichen
Keine gemeinsamen Commits. "master" und "rel_1.x" haben vollständig unterschiedliche Historien.
@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace D3\Removegooglefonts\Application\Model;
|
||||
|
||||
|
||||
class Constants
|
||||
{
|
||||
public const OXID_MODULE_ID = 'removegooglefonts';
|
||||
}
|
@ -4,11 +4,7 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased](https://git.d3data.de/D3Public/RemoveGoogleFonts/compare/2.0.0.0...rel_2.x)
|
||||
|
||||
## [2.0.0.0](https://git.d3data.de/D3Public/RemoveGoogleFonts/releases/tag/2.0.0.0) - 2024-04-11
|
||||
### Added
|
||||
- OXID 7 compatibility
|
||||
## [Unreleased](https://git.d3data.de/D3Public/RemoveGoogleFonts/compare/1.0.0.0...rel_1.x)
|
||||
|
||||
## [1.0.0.0](https://git.d3data.de/D3Public/RemoveGoogleFonts/releases/tag/1.0.0.0) - 2022-08-31
|
||||
### Added
|
||||
|
14
README.en.md
14
README.en.md
@ -35,20 +35,10 @@ This package requires an OXID eShop installed with Composer in a version defined
|
||||
Open a command line and navigate to the root directory of the shop (parent directory of source and vendor). Execute the following command. Adapt the path details to your installation environment.
|
||||
|
||||
```bash
|
||||
php composer require d3/removegooglefonts:^2.0
|
||||
php composer require d3/removegooglefonts:^1.0
|
||||
```
|
||||
Console:
|
||||
// let shop read the module ( necessary! )
|
||||
php vendor/bin/oe-console oe:modules:install vendor/d3/removegooglefonts
|
||||
|
||||
// activate the module
|
||||
php vendor/bin/oe-console oe:modules:activate removegooglefonts
|
||||
|
||||
// deactivate the module
|
||||
php vendor/bin/oe-console oe:modules:d3activate removegooglefonts
|
||||
|
||||
Activation && Deactivation also possible in Shop-Admin:
|
||||
Activate the module under "Extensions -> Modules".
|
||||
Activate the module in Shopadmin under "Extensions -> Modules".
|
||||
|
||||
## Changelog
|
||||
|
||||
|
16
README.md
16
README.md
@ -35,20 +35,10 @@ Dieses Paket erfordert einen mit Composer installierten OXID eShop in einer in d
|
||||
Öffnen Sie eine Kommandozeile und navigieren Sie zum Stammverzeichnis des Shops (Elternverzeichnis von source und vendor). Führen Sie den folgenden Befehl aus. Passen Sie die Pfadangaben an Ihre Installationsumgebung an.
|
||||
|
||||
```bash
|
||||
php composer require d3/removegooglefonts:^2.0
|
||||
```
|
||||
Console:
|
||||
// Einlesen ( nötig! )
|
||||
php vendor/bin/oe-console oe:modules:install vendor/d3/removegooglefonts
|
||||
php composer require d3/removegooglefonts:^1.0
|
||||
```
|
||||
|
||||
// Aktivierung
|
||||
php vendor/bin/oe-console oe:modules:activate removegooglefonts
|
||||
|
||||
// Deaktivierung
|
||||
php vendor/bin/oe-console oe:modules:d3activate removegooglefonts
|
||||
|
||||
Aktivierung && Deaktivierung auch im Shop-Admin möglich:
|
||||
Navigieren Sie zu "Erweiterungen > Module".
|
||||
Aktivieren Sie das Modul im Shopadmin unter "Erweiterungen -> Module".
|
||||
|
||||
## Changelog
|
||||
|
||||
|
@ -1,85 +0,0 @@
|
||||
/* raleway-200 - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 200;
|
||||
src: local(''),
|
||||
url('raleway-v27-latin-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('raleway-v27-latin-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-regular - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local(''),
|
||||
url('raleway-v27-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('raleway-v27-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-600 - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: local(''),
|
||||
url('raleway-v27-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('raleway-v27-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-700 - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local(''),
|
||||
url('raleway-v27-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('raleway-v27-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-200italic - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: italic;
|
||||
font-weight: 200;
|
||||
src: local(''),
|
||||
url('raleway-v27-latin-200italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('raleway-v27-latin-200italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-italic - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local(''),
|
||||
url('raleway-v27-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('raleway-v27-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-600italic - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
src: local(''),
|
||||
url('raleway-v27-latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('raleway-v27-latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-700italic - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local(''),
|
||||
url('raleway-v27-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('raleway-v27-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
body {
|
||||
font-family:Raleway,"Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-size:14px;
|
||||
line-height:1.42857143;
|
||||
}
|
@ -21,12 +21,21 @@
|
||||
"GPL-3.0-or-later"
|
||||
],
|
||||
"require": {
|
||||
"php": "8 - 8.1",
|
||||
"oxid-esales/oxideshop-ce": "7 - 7.0.3"
|
||||
"oxid-esales/oxideshop-ce": "^6.2"
|
||||
},
|
||||
"extra": {
|
||||
"oxideshop": {
|
||||
"blacklist-filter": [
|
||||
"*.md",
|
||||
"composer.json"
|
||||
],
|
||||
"source-directory": "/src",
|
||||
"target-directory": "d3/removegooglefonts"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"D3\\Removegooglefonts\\": ""
|
||||
"D3\\Removegooglefonts\\": "../../../source/modules/d3/removegooglefonts"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
2
src/Application/views/blocks/layout/d3_base_style.tpl
Normale Datei
2
src/Application/views/blocks/layout/d3_base_style.tpl
Normale Datei
@ -0,0 +1,2 @@
|
||||
[{$smarty.block.parent}]
|
||||
[{oxstyle include=$oViewConf->getModuleUrl('removegooglefonts', 'out/src/css/d3_fonts.css')}]
|
@ -20,11 +20,9 @@
|
||||
* Metadata version
|
||||
*/
|
||||
|
||||
use D3\Removegooglefonts\Application\Model\Constants as Constants;
|
||||
$sMetadataVersion = '2.0';
|
||||
|
||||
$sMetadataVersion = '2.1';
|
||||
$sModuleId = Constants::OXID_MODULE_ID;
|
||||
$sLogo = '<img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="height:1em;width:1em"> ';
|
||||
$sModuleId = 'removegooglefonts';
|
||||
|
||||
/**
|
||||
* Module information
|
||||
@ -32,27 +30,25 @@ $sLogo = '<img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="h
|
||||
|
||||
$aModule = [
|
||||
'id' => $sModuleId,
|
||||
'title' => $sLogo.' Google Fonts lokal einbinden',
|
||||
'title' => '<img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="height:1em;width:1em"> Google Fonts lokal einbinden',
|
||||
'description' => [
|
||||
'de' => 'Bindet Google Fonts lokal ein',
|
||||
'en' => '',
|
||||
],
|
||||
'version' => '2.0.0.0',
|
||||
'version' => '1.0.0.0',
|
||||
'author' => 'D³ Data Development (Inh.: Thomas Dartsch)',
|
||||
'email' => 'support@shopmodule.com',
|
||||
'url' => 'http://www.oxidmodule.com/',
|
||||
'blocks' => [
|
||||
[
|
||||
'template' => 'layout/base.tpl',
|
||||
'block' => 'base_style',
|
||||
'file' => 'views/smarty/blocks/layout/d3_base_style.tpl',
|
||||
'position' => 10
|
||||
'template' => 'layout/base.tpl',
|
||||
'block' => 'base_style',
|
||||
'file' => '/Application/views/blocks/layout/d3_base_style.tpl'
|
||||
],
|
||||
[
|
||||
'template' => 'layout/base.tpl',
|
||||
'block' => 'base_fonts',
|
||||
'file' => 'views/smarty/blocks/layout/d3_base_fonts.tpl',
|
||||
'position' => 10
|
||||
'template' => 'layout/base.tpl',
|
||||
'block' => 'base_fonts',
|
||||
'file' => '/Application/views/blocks/layout/d3_base_fonts.tpl'
|
||||
]
|
||||
],
|
||||
];
|
85
src/out/src/css/d3_fonts.css
Normale Datei
85
src/out/src/css/d3_fonts.css
Normale Datei
@ -0,0 +1,85 @@
|
||||
/* raleway-200 - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 200;
|
||||
src: local(''),
|
||||
url('../fonts/raleway-v27-latin-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/raleway-v27-latin-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-regular - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local(''),
|
||||
url('../fonts/raleway-v27-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/raleway-v27-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-600 - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: local(''),
|
||||
url('../fonts/raleway-v27-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/raleway-v27-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-700 - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local(''),
|
||||
url('../fonts/raleway-v27-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/raleway-v27-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-200italic - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: italic;
|
||||
font-weight: 200;
|
||||
src: local(''),
|
||||
url('../fonts/raleway-v27-latin-200italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/raleway-v27-latin-200italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-italic - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local(''),
|
||||
url('../fonts/raleway-v27-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/raleway-v27-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-600italic - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
src: local(''),
|
||||
url('../fonts/raleway-v27-latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/raleway-v27-latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* raleway-700italic - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local(''),
|
||||
url('../fonts/raleway-v27-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/raleway-v27-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
body {
|
||||
font-family:Raleway,"Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-size:14px;
|
||||
line-height:1.42857143;
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
[{$smarty.block.parent}]
|
||||
[{assign var="d3ViewConfObject" value=$oView->getViewConfig()}]
|
||||
[{oxstyle include=$d3ViewConfObject->getModuleUrl('removegooglefonts', 'out/src/css/d3_fonts.css')}]
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren