Skip to main content

Search Plugin for django CMS

Project description

A Search plugin for django CMS. Could be inserted with a form itself into CMS placeholders. Uses Aldryn-search (Django-Haystack) for indexing of titles and pages.

Installation

This plugin requires django CMS 3.0 or higher to be properly installed and configured.

  • In your projects virtualenv, run pip install djangocms-search.

  • Add djangocms_search' to your INSTALLED_APPS setting.

  • If using Django 1.7 add 'djangocms_search': 'djangocms_search.migrations_django', to MIGRATION_MODULES (or define :code:`MIGRATION_MODULES` if it does not exists); when django CMS 3.1 will be released, migrations for Django 1.7 will be moved to the standard location and the south-style ones to south_migrations.

  • Run manage.py migrate djangocms_search.

Settings

Setting you could define in your main project settings.py is:

COMMON_PAGINATOR_PAGINATE_BY = [Paginate your search results by this number of entries]

Example (default setting):

COMMON_PAGINATOR_PAGINATE_BY = 10

Children

This plugin does not support child plugins.

Translations

Not Yet…

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page