7
This repository has been archived on 2023-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
2016-11-07 11:58:34 +01:00
2016-11-28 15:20:10 +01:00
2016-11-07 11:42:06 +01:00
2016-12-13 14:26:45 +01:00
2016-11-30 17:24:13 +01:00
2016-11-28 15:20:10 +01:00
2016-11-07 11:42:06 +01:00
2016-12-29 12:57:36 +01:00
2016-12-29 14:16:49 +01:00
2016-11-28 15:20:10 +01:00

.. image:: logo.png

Wagtail personalisation
=======================
Wagtail personalisation enables simple content personalisation through segmenting for Wagtail.


Instructions
------------
To install the package with pip::

    pip install wagtail-personalisation

Next, include the ``personalisation`` and ``wagtail.contrib.modeladmin`` app in your project's ``INSTALLED_APPS``:

.. code-block:: python

    INSTALLED_APPS = [
        # ...
        'wagtail.contrib.modeladmin',
        'personalisation',
        # ...
    ]

Make sure that ``django.contrib.sessions.middleware.SessionMiddleware`` has been added in first, this is a prerequisite for this project.

Changing segments adapter
-------------------------
To change the segments adapter, first make a new one based on the ``BaseSegmentsAdapter``

.. code-block:: python

    class YourSegmentsAdapter(BaseSegmentsAdapter):
        # Add your own logic here

Add the ``PERSONALISATION_SEGMENTS_ADAPTER`` setting to your settings.py and choose your own adapter.

Roadmap
-------------------------
.. image:: roadmap.png
Description
Rule-based personalisation for Wagtail CMS maintained by cavemanon for RocksForMedia.
Readme 2.7 MiB
Languages
Python 87.3%
HTML 9%
SCSS 1.9%
JavaScript 1.4%
Makefile 0.4%