fsuter/workspace-preview-test

Workspace preview bug test extension

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

dev-main 2022-03-11 07:22 UTC

This package is auto-updated.

Last update: 2024-12-11 13:31:38 UTC


README

This extension is designed to test a bug when trying to combine the backend preview feature of TYPO3 with the workspaces preview.

Setup

Create a page and place the preview plugin on it.

On the root page of your site, add the following Page TSconfig:

options.workspaces.previewPageId = xxx
TCEMAIN.preview {
    tx_workspaceextensiontest_foo {
		previewPageId = xxx
		fieldToParameterMap {
			uid = tx_workspacepreviewtest_preview[uid]
		}
		additionalGetParameters {
            tx_workspacepreviewtest_preview.table = tx_workspaceextensiontest_foo
		}
	}
    tx_workspaceextensiontest_bar {
		previewPageId = xxx
		fieldToParameterMap {
			uid = tx_workspacepreviewtest_preview[uid]
		}
		additionalGetParameters {
            tx_workspacepreviewtest_preview.table = tx_workspaceextensiontest_bar
		}
	}
}

where xxx is the uid of the page where the preview plugin resides.

Create a folder page and create at least one record from each test table. Test the preview.

Create one workspace and modify the test table records. Test the preview.