1
kenogui
Question need answer by a xoops code guru
  • 2004/2/17 10:34

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


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/viewtopic.php?topic_id=16781&post_id=70584&order=0&viewmode=flat&pid=0&forum=7#forumpost70584

2
ackbarr
Re: Question need answer by a xoops code guru

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

starting with line 218:
le="color: #000000"><?php 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:
le="color: #000000"><?php $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

3
kenogui
Re: Question need answer by a xoops code guru
  • 2004/2/17 15:26

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


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 !!!

4
Mithrandir
Re: Question need answer by a xoops code guru

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

5
kenogui
Re: Question need answer by a xoops code guru
  • 2004/2/17 21:00

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


Done.

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

So please validate it