Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $25.00
Net Balance: $23.57
Left to go: $76.43

Donations
Anonymous ($15)Jun-14
Anonymous ($10)Jun-10

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 2013 Abuse admin AntiHarvesting AntiMalUser AntiSpam API Beats billige black Blocks blue Captcha capture Casual cell Checksum Christmas chronolabs Comment content Conversion Debauchosity demo docek download Dresses EC2 editor evden eve facebook floor free herre Honeypot Human Injector IP jQuery kantor klubovi lamps log logger Marquee mobile module modules Monster mulberry MyAlbum-p newbb news newsletter online PageRank pandora Permissions pink Plugin portal Prevention profile project Protector Protocols publisher Rights rmcommon Room sale security Server site Smarty Spam stem Studio tag tags tdmcreate template Theme themes upgrade User userlog website Whitepaper Wishcraft WSDL xoops Xortify XPayment ZendFramework

New Users

Registering user

# 136108

pioacieo

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
Just popping in
Just popping in
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.

[Advanced Search]