elefant/app-search

Search app for the Elefant CMS

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 4

Forks: 0

Open Issues: 2

Type:elefant-app

1.1.2 2014-04-23 22:58 UTC

This package is auto-updated.

Last update: 2024-11-25 07:09:19 UTC


README

This is a site search app written for the Elefant CMS powered by ElasticSearch or IndexTank.

To install:

1. Unzip it into your apps folder

2. Duplicate the file apps/search/conf/config.php to conf/app.search.config.php then edit that file and add your ElasticSearch servers or IndexTank credentials.

3. Add the following hooks to your global conf/config.php:

admin/add[] = search/add
admin/edit[] = search/add
admin/delete[] = search/delete
blog/add[] = search/add
blog/edit[] = search/add
blog/delete[] = search/delete

Other apps may also have additional hooks that enable them to be added to the search, such as:

events/add[] = search/add
events/edit[] = search/add
events/delete[] = search/delete

wiki/edit[] = search/add

4. Either add a search box to your template with this tag:

{! search/index !}

Or add it to a page on your site by clicking the Dynamic Objects button in the wysiwyg editor and choosing "Search: Search Box".

IndexTank hosts

Here are some companies that provide hosted IndexTank services to make it easier to get started: