##Yee CMS - Portfolio Module
####Backend module for managing portfolio
This module is part of Yee CMS (based on Yii2 Framework).
Portfolio module lets you easily create portfolio on your site.
-
Install Yee Media Module if it is not installed yet.
-
Either run
composer require --prefer-dist yiid/yii2-yee-portfolio "*"
or add
"yiid/yii2-yee-portfolio": "*"
to the require section of your composer.json
file.
- Run migrations
yii migrate --migrationPath=@vendor/yiid/yii2-yee-portfolio/migrations/
- In your backend config file
'modules'=>[
'post' => [
'class' => 'yiid\portfolio\PortfolioModule',
],
],
You can use dashboard widget to display short information about recent activity in the module.
Add this code in your control panel dashboard to display widget:
echo \yiid\portfolio\widgets\dashboard\Portfolio::widget();