1
belia
how to put redirect message inside a theme
  • 2008/8/1 2:28

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


how do i put the redirect message in the center of my theme

current layout zetagenesis
i want show the redirect message inside zetagenesis with no left/right block...just the logo header and the redirect message below inside the zetagenesis layout

this is the code in the system_redirect.htm template

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<
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>


thanks

2
snow77
Re: how to put redirect message inside a theme
  • 2008/8/8 3:35

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


You would have to make a copy of your theme.html code into redirect template and replace the $xoops_contents code line(s) with the redirect code, and then eliminate all the unnecessary code you may not need. Mainly you just need the canvas and header areas, then you apply the styles you want to the redirect message.
www.polymorphee.com
www.xoopsdesign.com

Login

Who's Online

193 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 193


more...

Donat-O-Meter

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

Latest GitHub Commits