Skip to content

Latest commit

 

History

History
72 lines (54 loc) · 1.44 KB

README.md

File metadata and controls

72 lines (54 loc) · 1.44 KB

Component search for SkeekS CMS

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist skeeks/cms-search "*"

or add

"skeeks/cms-search": "*"

Configuration app

'components' =>
[
    'cmsSearch' => [
        'class'     => 'skeeks\cms\search\CmsSearchComponent',
    ],

    'i18n' => [
        'translations' =>
        [
            'skeeks/search' => [
                'class'             => 'yii\i18n\PhpMessageSource',
                'basePath'          => '@skeeks/cms/search/messages',
                'fileMap' => [
                    'skeeks/search' => 'main.php',
                ],
            ]
        ]
    ],

    /*'urlManager' => [
        'rules' => [
            'search'                                => 'cmsSearch/result',
        ]
    ]*/
],

'modules' =>
[
    'cmsSearch' => [
        'class'         => 'skeeks\cms\search\CmsSearchModule',
    ]
]

##Links


skeeks!
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | cms.skeeks.com