fritzmg / contao-ajax-layout
Contao extension to automatically use a different page layout for AJAX requests.
Installs: 1 581
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 1
Type:contao-module
Requires
- php: >=5.2
- contao-community-alliance/composer-plugin: ~2.4 || ~3.0
- contao/core-bundle: ~3.0 || ~4.0
Replaces
- contao-legacy/ajax_layout: 1.0.5
README
Contao AJAX Layout
Contao extension to automatically use a different page layout for AJAX requests.
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.