TODO: Replace sample names and paths (like ‘[ParentClassName]’, ‘[your_template]’, etc.) with real ones You need.
TODO: Uncomment lines You need, add more if needed, delete not required.
TODO: Remove all this TODO comment.
/
$aModule = array(
‘id’ => ‘gkgkfilter’,
‘title’ => array(
‘de’ => ‘[TR - GK Gk Filter]’,
‘en’ => ‘GK Gk Filter’,
),
‘description’ => array(
‘de’ => ‘[TR - GK Gk Filter Module]’,
‘en’ => ‘GK Gk Filter Module’,
),
‘thumbnail’ => ‘out/pictures/picture.png’,
‘version’ => ‘1.0.0’,
‘author’ => ‘Hello User’,
‘url’ => ‘www.google.com’,
‘email’ => ‘[email protected]’,
‘extend’ => array(
\OxidEsales\Eshop\Application\Model\Article::class => OxidEsales\Gk\AttributeFilter\Model\Gkarticle::class,
\OxidEsales\Eshop\Application\Controller\FrontendController::class => OxidEsales\Gk\AttributeFilter\Controller\GkFrontendController::class
),
‘files’ => array(
‘gkgkfiltermodule’ => ‘gk/gkfilter/core/gkgkfiltermodule.php’,
//’[your_class_name]’ => ‘gk/gkfilter/[appropriate_folder]/gkgkfilter[your_class_name].php’,
),
‘templates’ => array(
//’[your_template].tpl’ => ‘gk/gkfilter/views/pages/[theme_folder_path]/gkgkfilter[your_template].tpl’,
),
‘blocks’ => array(
array('template' => 'page/list/list.tpl', 'block' => 'page_list_listhead', 'file' => 'views/blocks/page_list_listhead.tpl')
/*array(
'template' => '[theme_folder]/[theme_template].tpl',
'block' => 'gkgkfilter_[your_block_name]',
'file' => 'views/blocks/gkgkfilter[your_block_name].tpl',
),/
),
‘settings’ => array(
/*array(
‘group’ => ‘gkGkFilter[SettingsGroup]’,
‘name’ => ‘gkGkFilter[SettingName]’,
//TODO: Change type to one You need: ‘bool’, ‘str’, ‘num’, ‘arr’, ‘aarr’, ‘select’. Remove this comment.
‘type’ => ‘str’,
‘value’ => ‘[initial_setting_value]’,
),
),
‘events’ => array(
‘onActivate’ => ‘gkGkFilterModule::onActivate’,
‘onDeactivate’ => ‘gkGkFilterModule::onDeactivate’,
),
);