Fork me on GitHub

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $15.00
Net Balance: $14.11
Left to go: $85.89

Donations
GPboarder  ($15)Jul-13

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse admin Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield Blocks Bootstrap By Captcha cell chronolabs CHUNG Cloud content CĂN demo Digitally download Dresses facebook Fat Food for free Gateway Google Guide herre Honeypot HP Human HỘ IP iPhone jQuery Language Law Legal List Loss mobile module modules Monster new newbb news NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon security Sentry Signed Signup site Smartphone Smarty Solution Spam Studio tag tags tdmcreate The Theme themes userlog web weight Wishcraft xoops Xortify XPayment

New Users

Registering user

# 138253

natalka

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  |  Register To Post



#1 Posted on: 2011/5/27 21:31 cache name
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'];
================

Top

helphelprrr
Joined:
2011/4/21 0:46
Group:
Registered Users
Posts: 4
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]