kiltau/multisite-preview

Multisite preview button for the Neos backend. Useful for multisites with a data site to manage the content of multiple sites and thus having a possibility to open the preview of the current site in the corresponding frontend.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:neos-package

1.0.3 2025-02-15 21:31 UTC

This package is auto-updated.

Last update: 2025-05-15 21:56:57 UTC


README

This package provides a multisite preview button for the Neos backend. Useful for multisites with a data site to manage the content of multiple sites and thus having a possibility to open the preview of the current site in the corresponding frontend.

Usage

Default Configuration

1. Add the following to your preview reference node type, e.g. homepage superTypes:

  Kiltau.MultisitePreview:PreviewReference: true

This will allow you to select the preview references for your document node type. This is usually the homepage of a site.

2. Add the following to your Document node type, e.g. blog post superTypes:

  Kiltau.MultisitePreview:PreviewButton: true

This will allow you to select the preview references for your document node type and change the preview button into a dropdown.

Configuration Override

If you don't want to use the default configuration, you can override the property name in your configuration.

Neos:
  Neos:
    Ui:
      frontendConfiguration:
        'Kiltau.MultisitePreview':
          previewReferences: 'yourPropertyName'