fritzmg/contao-ajax-layout

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

1.0.5 2023-02-15 15:35 UTC

This package is auto-updated.

Last update: 2024-10-15 19:15:48 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.