xoops forums

xuanyuu

Just popping in
Posted on: 2010/3/30 3:48
xuanyuu
xuanyuu (Show more)
Just popping in
Posts: 53
Since: 2009/8/15
#1

theme not working

dear guys,
1. i want to use the "xd_moments " by snow77, but when i apply, the theme is not working. what is actually wrong? i amusing the XOOPS 2.4.4.

2. is it xt- conteudo not working with XOOPS 2.4.4? how come i cannot add page? when i click on it, nothing happen.
please help.

thank you

Burning

Theme Designer
Posted on: 2010/3/30 10:58
Burning
Burning (Show more)
Theme Designer
Posts: 1163
Since: 2006/8/22
#2

Re: theme not working

hi'

Not problem for me :

1. xd_moments

2. ... I have no theme called xt- conteudo

ghia

Community Support Member
Posted on: 2010/3/30 13:14
ghia
ghia (Show more)
Community Support Member
Posts: 4954
Since: 2008/7/3 1
#3

Re: theme not working

1 Check correct alignment of the files /themes/xd_moments/theme.html

2 it's a module (Security leak: Don't use SPAW! Erase all files of it)

xuanyuu

Just popping in
Posted on: 2010/3/31 2:10
xuanyuu
xuanyuu (Show more)
Just popping in
Posts: 53
Since: 2009/8/15
#4

Re: theme not working

ghia, can u tell me what is SPAW? and how to delete it?
thanks...

2. can i add response time in xoops? how then?

thank you

ghia

Community Support Member
Posted on: 2010/3/31 5:41
ghia
ghia (Show more)
Community Support Member
Posts: 4954
Since: 2008/7/3 1
#5

Re: theme not working

SPAW is a WYSIWYG editor that comes with the module.
Erase its directory in /admin.
If this is a fresh install, consider a more recent version of the module.
Quote:
can i add response time in xoops? how then?
Don't understand what you mean.

xuanyuu

Just popping in
Posted on: 2010/3/31 7:42
xuanyuu
xuanyuu (Show more)
Just popping in
Posts: 53
Since: 2009/8/15
#6

Re: theme not working

ghia,
the response time is like the photo attached.Resized Image
the one i mark in red box. can i add that response time for each page that i go to?

thank you.

sugar

Just popping in
Posted on: 2010/3/31 8:24
sugar
sugar (Show more)
Just popping in
Posts: 26
Since: 2003/8/24
#7

Re: theme not working

you mean page dump time?

function xoops_dumptime() {
        global 
$xoopsLogger;
        
$xoopsLogger->activated true;
        
$time number_format($xoopsLogger->dumpTime(), 5'.''');
        return 
$time;
    }


assign to template
$xoopsTpl->assign('xoops_dumptime'xoops_dumptime());


theme.html
<{$xoops_dumptime}>

xuanyuu

Just popping in
Posted on: 2010/4/1 3:49
xuanyuu
xuanyuu (Show more)
Just popping in
Posts: 53
Since: 2009/8/15
#8

Re: theme not working

hello sugar,
sorry to ask again, what is template? cause i can't find the template file. and for the function, in which file and which section that i have to add it?
Thank you.