4
Hi, I'm talking to clear the cache of a specific page not all of them.
However after some tests I found this command:
include_once XOOPS_ROOT_PATH.'/class/template.php';
$xoopsTpl = new XoopsTpl();
$xoopsTpl->clear_cache(null,null,'12514');
where the number 12514 is the field
tpl_id in the table
xoops_tplfilewith a little extra work you can customize your admin part of the module to 'clear' the cache for a specific pages.
Furthermore if you want to 'clear' all the cache of your website it is enough to run:
include_once XOOPS_ROOT_PATH.'/class/template.php';
$xoopsTpl = new XoopsTpl();
$xoopsTpl->clear_all_cache();
carlo