Forums / Cotonti / Support / Ajax pages, lists, etc

tensh
#36494 2012-12-10 12:19

Hmm, I made a test plugin like this:

<?php

/* ====================
[BEGIN_COT_EXT]
Hooks=global
[END_COT_EXT]
==================== */

 
defined('COT_CODE') or die('Wrong URL');

define('COT_AJAX', true);

?>

... yet it still displays the header and footer everywhere. I purged the cache. What am I doing wrong? How to tell Cotonti that something is requested via ajax?