[Changed] rework for OXID 7
This commit is contained in:
parent
a826d54f57
commit
a7dfae8c5d
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
@ -6,7 +6,9 @@
|
||||
"oxid",
|
||||
"modules",
|
||||
"eShop",
|
||||
"d3"
|
||||
"d3",
|
||||
"manufacturer",
|
||||
"information"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
@ -24,28 +26,7 @@
|
||||
"proprietary"
|
||||
],
|
||||
"require": {
|
||||
"php": "~7.0 || ~8.0",
|
||||
"oxid-esales/oxideshop-ce": "v6.6.0 - v6.14.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit" : "^9.5",
|
||||
"friendsofphp/php-cs-fixer": "^3.9",
|
||||
"phpstan/phpstan": "^1.8"
|
||||
},
|
||||
"extra": {
|
||||
"oxideshop": {
|
||||
"blacklist-filter": [
|
||||
"*.md",
|
||||
"composer.json",
|
||||
".php-cs-fixer.php",
|
||||
"*.neon"
|
||||
],
|
||||
"target-directory": "d3/manufacturerinformation"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"D3\\ManufacturerInformation\\": "../../../source/modules/d3/manufacturerinformation"
|
||||
}
|
||||
"php": "^8.0",
|
||||
"oxid-esales/oxideshop-ce": "7.0 - 7.1"
|
||||
}
|
||||
}
|
||||
|
18
metadata.php
18
metadata.php
@ -22,22 +22,22 @@ use OxidEsales\Eshop\Application\Model\ManufacturerList as OEManufacturerList;
|
||||
|
||||
$sMetadataVersion = '2.1';
|
||||
|
||||
$sModuleId = Constants::OXID_MODULE_ID;
|
||||
$logo = '<img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="height:1em;width:1em">';
|
||||
|
||||
/**
|
||||
* Module information
|
||||
*/
|
||||
$aModule = [
|
||||
'id' => $sModuleId,
|
||||
'title' => $logo.' Herstellerinformationen',
|
||||
'description' => [
|
||||
'id' => Constants::OXID_MODULE_ID,
|
||||
'title' => [
|
||||
'de' => '(D3) Herstellerinformationen',
|
||||
'en' => '(D3) Manufacturer information',
|
||||
],
|
||||
'description' => [
|
||||
'de' => 'fügt Informationen der Hersteller zur Artikelliste hinzu',
|
||||
'en' => 'adds manufacturer information to the article list',
|
||||
],
|
||||
'thumbnail' => 'image-file.png',
|
||||
'version' => '1.1.0.0',
|
||||
'author' => $logo.' Data Development (Inh.: Thomas Dartsch)',
|
||||
'version' => '2.0.0.0',
|
||||
'author' => '(D3) Data Development (Inh.: Thomas Dartsch)',
|
||||
'email' => 'support@shopmodule.com',
|
||||
'url' => 'https://www.oxidmodule.com/',
|
||||
'controllers' => [
|
||||
@ -48,6 +48,6 @@ $aModule = [
|
||||
OEManufacturerList::class => ManufacturerInfoList::class
|
||||
],
|
||||
'templates' => [
|
||||
'd3manufacturerlongdesc.tpl' => 'd3/manufacturerinformation/Application/views/admin/tpl/d3manufacturer_longdesc.tpl',
|
||||
'@' . Constants::OXID_MODULE_ID . 'admin/d3manufacturerlongdesc.tpl' => 'views/smarty/admin/d3manufacturer_longdesc.tpl',
|
||||
],
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user