Skip to content

Module Structure

The admin dashboard is split into 2 main modules: one for the framework, one for a set of dashboard widget types. When installing Hyvä Commerce, the hyva-themes/commerce-module-admin-dashboard Composer package is responsible for installing these modules.

Admin Dashboard Framework

The Hyva_AdminDashboardFramework module contains the code responsible for establishing the admin dashboard and widget system framework. This is where you will find all the controllers, base models, repositories, database table definitions, setup scripts, system configuration files, utility classes, and the core set of templates.

Widgets

The Hyva_AdminDashboardWidgets module contains the definitions and implementations for a set of widget types. The complete list is available here.

Advanced Widgets

In this context, the term "Advanced" or "Custom" widgets refers to the Hyvä-published widget types which exist in their own standalone modules. This is typically done when there are dependencies on other third-parties, including ourselves, or the implementation is sufficiently complicated to warrant the separation.