xoops forums

kenogui

Just popping in
Posted on: 2004/2/17 10:34
kenogui
kenogui (Show more)
Just popping in
Posts: 25
Since: 2004/1/19
#1

Question need answer by a xoops code guru

Maybe I'm wrong, I have posted a question about XOOPS code in the Q & A forum, sorry about this mistake ...

https://xoops.org/modules/newbb/viewto ... =0&forum=7#forumpost70584
Posted on: 2004/2/17 14:02
ackbarr
ackbarr (Show more)
Posts: 1449
Since: 2002/10/2
#2

Re: Question need answer by a xoops code guru

I think what you are looking for is in /header.php

starting with line 218:
if ($xoopsTpl->is_cached($xoopsCachedTemplate$xoopsCachedTemplateId)) {
            
$xoopsLogger->addExtra($xoopsCachedTemplate$xoopsConfig['module_cache'][$xoopsModule->getVar('mid')]);
            
$xoopsTpl->assign('xoops_contents'$xoopsTpl->fetch($xoopsCachedTemplate$xoopsCachedTemplateId));
            
$xoopsTpl->xoops_setCaching(0);
            if (!
headers_sent()) {
                
header ('Content-Type:text/html; charset='._CHARSET);
            }
            
$xoopsTpl->display($xoopsConfig['theme_set'].'/theme.html');


in particular line 220:
$xoopsTpl->assign('xoops_contents'$xoopsTpl->fetch($xoopsCachedTemplate$xoopsCachedTemplateId));

The above line retrieves the cached template and assigns it to the xoops_contents smarty variable.

Hope this information helps

kenogui

Just popping in
Posted on: 2004/2/17 15:26
kenogui
kenogui (Show more)
Just popping in
Posts: 25
Since: 2004/1/19
#3

Re: Question need answer by a xoops code guru

YESSSSS !!!! you're a killer

it works perfectly now, I will start to write a full tuto about my modrewrite and submit it in the news asap ...

thx a lot !!!

Mithrandir

XOOPS is my life!
Posted on: 2004/2/17 16:10
Mithrandir
Mithrandir (Show more)
XOOPS is my life!
Posts: 6320
Since: 2003/6/21
#4

Re: Question need answer by a xoops code guru

Sounds awesome kenogui - looking forward to it.
Thanks for your good work!

kenogui

Just popping in
Posted on: 2004/2/17 21:00
kenogui
kenogui (Show more)
Just popping in
Posts: 25
Since: 2004/1/19
#5

Re: Question need answer by a xoops code guru

Done.

I have submitted a news, with the complete mod and instructions.

So please validate it