Contributors Thanked: 12 times
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?