Skip to content

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

License

Notifications You must be signed in to change notification settings

Devolicious/KunstmaanNodeSearchBundle

 
 

Repository files navigation

KunstmaanNodeSearchBundle

Build Status Total Downloads Latest Stable Version Analytics

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

Installation

composer.json

    "require": {
        "kunstmaan/node-search-bundle": "*"
    },

AppKernel.php:

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Kunstmaan\NodeSearchBundle\KunstmaanNodeSearchBundle(),
            // ...
        );

Configuration

SearchPage

Extend the AbstractSearchPage and add your new class as a possible child to a page in your website :

    /**
     * @return array
     */
    public function getPossibleChildTypes()
    {
        return array(
            array(
                'name' => 'Search page',
                'class'=> "Acme\DemoBundle\Entity\SearchPage"
            )
        );
    }

Documentation

Find more documentation on how it works here

About

This bundle uses the KunstmaanSearchBundle to search through Nodes from the KunstmaanNodeBundle

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%