vavepl/luya-module-portfolio

Portfolio.

1.0.0 2018-01-01 22:24 UTC

This package is auto-updated.

Last update: 2024-04-27 01:05:55 UTC


README

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