Skip to content

Adds niceartisan package to TypiCMS admin for superuser

Notifications You must be signed in to change notification settings

ludmanp/typicms-niceartisan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TypiCMS Nice Artisan

Integrates bestmomo/nice-artisan into TypyCMS admin

Installation

Begin by installing the package through Composer. Run the following command in your terminal:

$ composer require ludmanp/typicms-niceartisan

Once done, add the following line in your providers array of config/app.php:

\TypiCMS\Modules\NiceArtisan\Providers\ModuleProvider::class,

before TypiCMS Core Service Provider

and alias

'nice_artisan' => \TypiCMS\Modules\NiceArtisan\Http\Middleware\NiceArtisan::class,

Last copy the package config to your local config with the publish command:

php artisan vendor:publish --tag=niceartisan:config

You can change options and commands in config/commands.php. The menu is dynamically created with this config.

Now it is available in TypiCMS admin menu for superadmin or user with appropriate permissions.

To open Nice Artisan in new window change view/vendor/sidebar/item second line adding

@if($item->target_blank??false)target="_blank"@endif

before closing a tag

About

Adds niceartisan package to TypiCMS admin for superuser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages