helphelprrr helphelprrr
  • Just popping in
  • Just popping in
  • Joined: 2011/4/21 1:46
  • Group: Registered Users
  • Posts: 4
  • Posted on: 2011/5/27 22:31
cache name #1
if i write the following content in block to return the block content by method "echo" instead of returning the content to template file, the cache name will become starting with system-default-default-xxxx. May I know if there is any way to control the cache name / cache prefix?

================
include '../../../mainfile.php';
include_once XOOPS_ROOT_PATH."/class/template.php";
include_once XOOPS_ROOT_PATH.'/modules/mytabs/include/functions.php';

$GLOBALS['xoopsTpl'] =& new XoopsTpl();

$tab_blocks = mytabsblock_show($_GET['pageid'], $_GET['tabid'],'',$_GET['o']);
echo $tab_blocks[0]['content'];
================
How to effectively post a question in the Xoops forums? - Read here...
Design by: XOOPS UI/UX Team