skeeks/cms-search

Search component for SkeekS CMS

Installs: 6 116

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 2

Type:yii2-extension

3.0.1.1 2024-03-12 16:56 UTC

README

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