b13/authorized-preview

Generate URLs to preview hidden languages without a backend login

Installs: 25 411

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 4

Forks: 4

Open Issues: 3

Type:typo3-cms-extension

4.0.0 2024-06-25 10:54 UTC

This package is auto-updated.

Last update: 2024-10-25 12:08:19 UTC


README

authorized_preview is an extension for TYPO3. It adds the functionality to preview disabled languages through generated preview URLs without the need for a backend login.

Requirements

  • TYPO3 v12 LTS (For earlier versions of TYPO3 use v2 or v3)

Installation and Setup

Install the extension via your preferred way. The extension will add one database table to the database. No further setup is required. The extension works out of the box.

What is does

The extension adds a backend module called "Preview". The module lists all disabled languages ("Show in frontend" = false) for each Site. For each disabled language a lifetime can be configured and a preview URL can be generated, that can then be sent to colleagues (e.g. for proof reading).

Within their lifetime the preview URLs enable access to a disabled language without a backend login. For any other website visitor the disabled languages is still not accessible.

How it works

The Preview URLs are pointing to the configured bases of the languages. They also contain a specific GET parameter.

This parameter is stored in the Database alongside the configured lifetime for the URL. As long as this lifetime is not expired a PSR-15 middleware recognizes the GET parameter and grants access to the language. The parameter is stored in a Cookie so that the GET parameter is not needed on every request.

Made by b13 with ♥

Find more TYPO3 extensions we have developed that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.