1
MasterJacK
Change background colour
  • 2007/11/17 6:35

  • MasterJacK

  • Just popping in

  • Posts: 10

  • Since: 2007/10/8


I'm building my web site with mwa_lotr theme as a base. Unfortunately, there is a little bug in it:

When a user logs in, instead of a visible message:"Thank you for logging in, user. If the page does not automatically reload, please click here"

I only see "here", the rest is white text on white background.

Does anybody know where I can change the background colour to black?

2
Will_H
Re: Change background colour
  • 2007/11/17 20:20

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Do you have your system_redirect set up with template override?

Sounds like you are using the default system_redirect.

<html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" />
<
title><{$xoops_sitename}></title>
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
</
head>
<
body>
<
div style="text-align:center; background-color: #EBEBEB; border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight : bold;">
  <
h4><{$message}></h4>
  <
p><{$lang_ifnotreload}></p>
</
div>
<{if 
$xoops_logdump != ''}><div><{$xoops_logdump}></div><{/if}>
</
body>
</
html>


If you wanna continue to use this then just do the following.

create a new folder in your theme folder called "modules"

inside of that create a folder called "system"

in that create a file called "system_redirect.html"

paste in this and save.

<html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" />
<
title><{$xoops_sitename}></title>
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
</
head>
<
body>
<
div style="text-align:center; background-color: #000; border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight : bold;">
  <
h4><{$message}></h4>
  <
p><{$lang_ifnotreload}></p>
</
div>
<{if 
$xoops_logdump != ''}><div><{$xoops_logdump}></div><{/if}>
</
body>
</
html>


You may need to clear templates_c

3
kris_fr
Re: Change background colour
  • 2007/11/17 20:55

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi,

Look in the theme morphogenesis 2.0 for system redirection perzonalisation

@ +

4
Will_H
Re: Change background colour
  • 2007/11/17 21:04

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


pretty much any modern theme. I would suggest a theme other than morpho, as it is tableless and you are more than likely using tabled.

Aphex does custom, and so do I.

5
kris_fr
Re: Change background colour
  • 2007/11/17 22:30

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


By using the overload of the theme (see article on this site), you can do this to personalise the template redirection :
<html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" />
<
title><{$xoops_sitename}></title>
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
</
head>
<
body id="xo-redirection">
<
div class="message">
  <
h4><{$message}></h4>
  <
p><{$lang_ifnotreload}></p>
</
div>
<{if 
$xoops_logdump != ''}><div class="logdump"><{$xoops_logdump}></div><{/if}>
</
body>
</
html>

and in the style sheet of your theme, you can add this (for example) :
body#xo-redirection {whatyouwant}
#xo-redirection .message {
background-color#EBEBEB;
text-align:center;
font-weight bold;
border-top1px solid #fff;
border-left1px solid #fff;
border-right1px solid #aaa;
border-bottom1px solid #aaa;}
#xo-redirection h4 {whatyouwant}
#xo-redirection p {whatyouwant}
#xo-redirection .logdum {whatyouwant}


@++

6
Bleekk
Re: Change background colour
  • 2007/11/21 13:23

  • Bleekk

  • Theme Designer

  • Posts: 940

  • Since: 2002/12/14


because i have now chance to start a topic while redirecting me to the search module I will explain my problem here.

After I deleted a theme there is only a blank page. Lool here:
http://bleekk.com/projekte/theme-demo/
I'm able to enter the admin system

7
Bleekk
Re: Change background colour
  • 2007/11/21 13:31

  • Bleekk

  • Theme Designer

  • Posts: 940

  • Since: 2002/12/14


ok now I only can use this theme, after deleting it the blank page apears. It is also now possible to change the theme

After deleting the theme I get this
Warning: Smarty error: unable to read resource: "/themes/atomohost/theme.html" in file /class/smarty/Smarty.class.php line 1095
Warning: Smarty error: unable to read resource: "/themes/atomohost/theme.html" in file /class/smarty/Smarty.class.php line 1095

8
Bleekk
Re: Change background colour
  • 2007/11/21 13:43

  • Bleekk

  • Theme Designer

  • Posts: 940

  • Since: 2002/12/14


fixed

Login

Who's Online

291 user(s) are online (197 user(s) are browsing Support Forums)


Members: 0


Guests: 291


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits