1
Anonymous
redirect page color and message
  • 2003/12/29 23:47

  • Anonymous

  • Posts: 0

  • Since:


Okay, I have not been able to figure this out yet.


What controls the color of the message/redirect banner that appears after a person logs in or posts a new story etc.

I know that somewhere someone has done it but I am not sure where to look. Is that a theme specific thing or what.

Thank you.


2
qbertz
Re: redirect page color and message
  • 2003/12/30 2:28

  • qbertz

  • Just popping in

  • Posts: 13

  • Since: 2003/12/30


There is a guy who wrote a fix for that. It outlines how to customize the redirect pages.

You can download it from me at this link

click here

Note: The file is in .rar format.

Good Luck.

3
Stewdio
Re: redirect page color and message
  • 2003/12/30 3:40

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


I can't remember where I've posted this before, but I'll repost it here for you. I'll be darned if I can find any of the many posts I've made around this

To change how the redirect looks, you can look in Admin >>Templates>>System>>system_redirect.html

Remember, you will need to clone your template in order to edit it. Once cloned, your' free to do as you wish, otherwise, you will only be able to 'view' your template files through the XOOPS Admin CP

The default system_redirect.html looks like this
<html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=<{$charset}>" />
<
meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" />
<
title><{$sitename}></title>
</
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>
</
body>
</
html>


This can be changed in anyway that you wish. If you mess up, head back here for the default, or reupload from your machine. (Just run a search in your local folders, you'll find it)

Mine looks like this
<html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=<{$charset}>" />
<
meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" />
<
title><{$sitename}></title>

<
style type="text/css">
  
body font-familyTahomataipeisans-serif;
             
font-weightnormal;
             
color#222222;
             
font-size12px;
           }
  
hr color#8CA9C1;
         
height1px;
         
width95%;
      }
  .
redirect width100%;
 
margin110px;
 
text-aligncenter;
 
padding15px; }
  .
redirect a:link text-decorationnone;
 
font-weightbold;
  
color#466884;}
  
.redirect a:visited {text-decorationnone;
 
font-weightbold;}
  .
redirect a:hover text-decorationunderline;
 
font-weightbold;
 
color#FF9966;}
</style>
</
head>
<
body>
<
div align="center">
<
div class="redirect">
<
span stylealign="center" "font-size: 14px; font-weight: bold;"></span>
<
div align="center"><img src="/images/aniplanetsmall_full.gif"></div>
  <
h4><{$message}></h4>
  <
hr>
  <
p><{$lang_ifnotreload}></p>
</
div>
</
div>


</
body>
</
html>


As you can see, you can do just about anything you want with the redirect, just so long as you keep <{$message}> and <{$lang_ifnotreload}> in there somewhere. You can see it in action here. You will notice I used <style type text/css> in the redirect so that I could maintain the same look and feel throughout the rest of my site, making things appear more seemless.

To change what text is output on a redirect page, you will need to modify the language files for that particular module. Each module is configured to output something unique. I've customised my weBLog output for redirects and other variables as well. Feel free to experiment and play around a bit. You can always fall back on your orignal installation files for a backup if something should go wrong.

Good Luck and happy Xoop'ing
Cheers!

4
YourHelp
Re: redirect page color and message
  • 2003/12/30 4:53

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


Great Work Stew thanks for that

5
CBlue
Re: redirect page color and message

Yes, thank you Stew!

6
Anonymous
Re: redirect page color and message
  • 2003/12/30 21:12

  • Anonymous

  • Posts: 0

  • Since:


Thanks Stewdio! I knew there was a template or something in there I just couldn't see it


7
Stewdio
Re: redirect page color and message
  • 2003/12/30 21:22

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


No problem

8
qbertz
Re: redirect page color and message
  • 2003/12/30 21:26

  • qbertz

  • Just popping in

  • Posts: 13

  • Since: 2003/12/30


Hey what about me? Did the file i linked help??

Boo hoo...

(P.S.) I like yours too Stew


9
Stewdio
Re: redirect page color and message
  • 2003/12/30 21:39

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Actually, CBlue is taking a look at it Q.

10
Anonymous
Re: redirect page color and message
  • 2003/12/30 23:55

  • Anonymous

  • Posts: 0

  • Since:


DoH!! Yes, thank you for the file. I have not tried either yet actually.

I thank and appreciate your time!


Login

Who's Online

141 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 141


more...

Donat-O-Meter

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

Latest GitHub Commits