2017 © Pedro Peláez
 

yii2-extension yii2-menu

Menu module for you site

image

kriptograf/yii2-menu

Menu module for you site

  • Sunday, October 1, 2017
  • by kriptograf
  • Repository
  • 1 Watchers
  • 2 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Menu module

Menu module for you site, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

composer require --prefer-dist kriptograf/yii2-menu "*"

or add, (*4)

"kriptograf/yii2-menu": "*"

to the require section of your composer.json file., (*5)

Add the following code to config file Yii2, (*6)

'modules' => [
    'menu' => [
        'class' => '\kriptograf\menu\Module',
    ],
]

Add the following code to config file Yii2 for settings module kartik-v gridview, (*7)

    'modules' => [
       'gridview' =>  [
            'class' => '\kartik\grid\Module'
            // enter optional module parameters below - only if you need to  
            // use your own export download action or custom translation 
            // message source
            // 'downloadAction' => 'gridview/export/download',
            'i18n' => [
                'class' => 'yii\i18n\PhpMessageSource',
                'basePath' => '@kvgrid/messages',
                'forceTranslation' => true
            ]
        ]
    ];

Configuration

1. Create database schema

Make sure that you have properly configured db application component and run the following command:, (*8)

$ php yii migrate/up --migrationPath=@vendor/kriptograf/yii2-menu/migrations

2. Getting started for admin

/menu/creator

Usage

Once the extension is installed, simply use it in your code by :, (*9)

'placement_you_code'])?>

The Versions

01/10 2017

dev-master

9999999-dev

Menu module for you site

  Sources   Download

MIT

The Requires

 

by Avatar kriptograf

extension yii2 menu