fritzmg/contao-ajax-layout

Contao extension to automatically use a different page layout for AJAX requests.

Maintainers

Package info

github.com/fritzmg/contao-ajax-layout

Homepage

Forum

Type:contao-module

pkg:composer/fritzmg/contao-ajax-layout

Statistics

Installs: 2 205

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 1

1.0.5 2023-02-15 15:35 UTC

This package is auto-updated.

Last update: 2026-02-15 22:30:58 UTC


README

Contao AJAX Layout

Contao extension to automatically use a different page layout for AJAX requests.

screenshot

When this option is enabled in your page layout, all AJAX request to pages with this layout will generate the page under a different, minimal layout, with only the regular article module. By default, only the content of the main columdn will be returned. This helps reduce the processing time for generating the page and reduces the amount of data sent to the client via AJAX.

You can also set another page layout to be used as your AJAX layout for this page layout.