93 lines
3.9 KiB
PHP
93 lines
3.9 KiB
PHP
<?php
|
|
/**
|
|
* This Software is the property of Data Development and is protected
|
|
* by copyright law - it is NOT Freeware.
|
|
* Any unauthorized use of this software without a valid license
|
|
* is a violation of the license agreement and will be prosecuted by
|
|
* civil and criminal law.
|
|
* http://www.shopmodule.com
|
|
*
|
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
|
* @link http://www.oxidmodule.com
|
|
*/
|
|
|
|
use OxidEsales\Eshop\Application as OxidApplication;
|
|
|
|
/**
|
|
* Metadata version
|
|
*/
|
|
$sMetadataVersion = '2.1';
|
|
|
|
$sModuleId = 'd3contenttabs';
|
|
|
|
/**
|
|
* Module information
|
|
*/
|
|
$aModule = array(
|
|
'id' => $sModuleId,
|
|
'title' =>
|
|
'<svg style="height:1em;width:1em"><image xlink:href="https://logos.oxidmodule.com/d3logo.svg" style="height:1em;width:1em" /></svg> '.
|
|
'Content Tabs',
|
|
'description' => array(
|
|
'de' => 'Dieses Modul bietet die Möglichkeit umfangreiche Artikelinformationen, auf der ' //
|
|
. 'Detailseite, übersichtlich aufzugliedern.<br>Sie sehen dieses Modul auch bei uns im Shop. ' //
|
|
. 'Sie können z.B. bei diesem Modul zwischen den Tabs "Beschreibung", "Features" und ' //
|
|
. '"Downloads" wählen.',
|
|
'en' => '',
|
|
),
|
|
'thumbnail' => 'picture.png',
|
|
'version' => '4.1.1.0',
|
|
'author' => 'D³ Data Development (Inh.: Thomas Dartsch)',
|
|
'url' => 'http://www.shopmodule.com',
|
|
'email' => 'support@shopmodule.com',
|
|
'extend' => array(
|
|
OxidApplication\Component\Widget\ArticleDetails::class => \D3\Contenttabs\Modules\Application\Component\Widget\d3_oxwarticledetails_contenttabs::class,
|
|
OxidApplication\Model\Article::class => \D3\Contenttabs\Modules\Application\Model\d3_oxarticle_longtexts::class,
|
|
),
|
|
'controllers' => array(
|
|
'd3contenttabs_settings' => \D3\Contenttabs\Application\Controller\Admin\settings::class,
|
|
'd3contenttabs_support' => \D3\Contenttabs\Application\Controller\Admin\support::class,
|
|
'd3contenttabs_tablist' => \D3\Contenttabs\Application\Controller\Admin\contentTabList::class,
|
|
'd3contenttabs_tabs' => \D3\Contenttabs\Application\Controller\Admin\contentTabs::class,
|
|
),
|
|
'templates' => array(
|
|
// Admin
|
|
'contentTabsBase.tpl' => 'd3/contenttabs/Application/views/admin/tpl/contentTabsBase.tpl',
|
|
'contentTabs.tpl' => 'd3/contenttabs/Application/views/admin/tpl/contentTabs.tpl',
|
|
'contentTabList.tpl' => 'd3/contenttabs/Application/views/admin/tpl/contentTabList.tpl',
|
|
// Frontend
|
|
'd3contenttabs_tab1.tpl' => 'd3/contenttabs/Application/views/tpl/d3contenttabs_tab1.tpl',
|
|
),
|
|
'events' => array(
|
|
'onActivate' => \D3\ModCfg\Application\Model\Install\d3install::class . '::checkUpdateStart',
|
|
),
|
|
'blocks' => array(
|
|
// azure / flow / wave blocks
|
|
array(
|
|
'template' => 'page/details/inc/tabs.tpl',
|
|
'block' => 'details_tabs_longdescription',
|
|
'file' => 'Application/views/blocks/details_tabs_longdescription.tpl',
|
|
)
|
|
),
|
|
'settings' => array(
|
|
array(
|
|
'group' => 'd3thememapping_module',
|
|
'name' => 'd3custParentThemeMappedToFlow_'.$sModuleId,
|
|
'type' => 'str',
|
|
'value' => ''
|
|
),
|
|
array(
|
|
'group' => 'd3thememapping_module',
|
|
'name' => 'd3custParentThemeMappedToMobile_'.$sModuleId,
|
|
'type' => 'str',
|
|
'value' => ''
|
|
),
|
|
array(
|
|
'group' => 'd3thememapping_module',
|
|
'name' => 'd3custParentThemeMappedToAzure_'.$sModuleId,
|
|
'type' => 'str',
|
|
'value' => ''
|
|
),
|
|
),
|
|
);
|