Skip to content

vavepl/luya-module-portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio Module

A very easy to use Portfolio Module to show latest work or a collection of data.

Installation

Add the Package to your composer file:

composer require vavepl/luya-module-portfolio

Add the portfolio module to the modules section your config:

return [
    'modules' => [
        // ...
        'portfolio' => [
            'class' => 'vavepl\portfolio\frontend\Module',
            'useAppViewPath' => false, // When disabled the predefined views are used, otherwise you have to create your own views.
        ],
        'portfolioadmin' => 'vavepl\portfolio\admin\Module',
        // ...
    ],
];

Initialization

After successfully installation and configuration run the migrate, import and setup command to initialize the module in your project.

1.) Migrate your database.

./vendor/bin/luya migrate

2.) Import the module and migrations into your LUYA project.

./vendor/bin/luya import

Portfolio Groups Portfolio Groups

Portfolio Items Portfolio Items

Portfolio Block Portfolio Block

Portfolio View Portfolio View

Portfolio View on click Portfolio View on click