iankov/control-panel-news

There is no license information available for the latest version (v1.0.3) of this package.

News module for iankov/control-panel

v1.0.3 2018-07-19 15:21 UTC

This package is not auto-updated.

Last update: 2024-04-28 05:07:43 UTC


README

  • Install the package

    composer require iankov/control-panel-news
  • Publish migrations

    php artisan vendor:publish --tag=icp_news_migrations
  • Run migrations

    php artisan migrate
  • Add items (news & categories) to icp-menu.php config file

    [
        'icon' => 'th',
        'title' => 'News categories',
        'link' => icp_route('news.categories')
    ],
    [
        'icon' => 'list',
        'title' => 'News',
        'link' => icp_route('news')
    ]

Configuration

You can modify configuration options by adding them to config/icp.php
Package config located in vendor/iankov/control-panel-news/src/config.php
Don't change this file, just use it as an example of what options are configurable.