fritzmg/contao-ajax-layout

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

1.0.2 2017-07-12 10:18 UTC

This package is auto-updated.

Last update: 2020-08-23 01:26:32 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.