Skip to content

skeeks-cms/cms-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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