If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!
Since dub_if_ajax is no longer up for grabs: here’s jdw_if_ajax .
This plugin is based off dub_if_ajax (no longer available) by Jamie Wilkinson. It uses the x-requested-with header to deliver different content to Ajax calls.
Addition of a new tag: jdw_if_not_ajax.
jdw_if_ajaxContainer tag. When the page or form is requested by ajax, content will show.
<txp:jdw_if_ajax> // code for ajax goes here <txp:else /> //other code goes here </txp:jdw_if_ajax>
Container tag. When the page or form is requested by ajax, content won’t show.
<txp:jdw_if_not_ajax> // skipped by ajax </txp:jdw_if_not_ajax>