1
vat0r
2.2 Redirect template woes.
  • 2006/4/13 0:51

  • vat0r

  • Just popping in

  • Posts: 4

  • Since: 2005/6/8 1


Ok, well I have searched this site, other sites and google and still cannot find an answer. I have been trying to edit the redirect page in 2.2.4 to no avail. Currently my system_redirect template looks like this..

<div style="text-align:center; background-color: transparent; border-top: 0px solid #FFFFFF; border-left: 0px solid #FFFFFF; border-right: 0px solid #AAAAAA; border-bottom: 0px solid #AAAAAA; font-weight : bold;"></div>


But, my redirect page contains the header, left column and footer. All I want is a simple redirect page as in earlier versions.



I'm really confused by this so any help would be most appreciated. I'm creating a theme for xipb and I need the redirects in XOOPS and ipb to look identical. I'm at a stand still till then.

2
davidthomas1
Re: 2.2 Redirect template woes.

maybe try putting a closing </div> tag into the redirect template?

Here's the code for the 2.0.1.x series redirect template:

/modules/system/templates/system_redirect.html

<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>
みんなちがってみんないい。

XOOPS 2.0.13.2

3
vat0r
Re: 2.2 Redirect template woes.
  • 2006/4/13 16:16

  • vat0r

  • Just popping in

  • Posts: 4

  • Since: 2005/6/8 1


The div not being closed was a cut and paste mistake...sorry(fixed it). I tried your suggestion and while it changes the div's appearance it still looks basicly the same. A div wrapped in the header - left column - footer.

You can see it here.
User- Test
Pass- password

Surely there must be a solution for this?

4
vat0r
Re: 2.2 Redirect template woes.
  • 2006/4/15 0:55

  • vat0r

  • Just popping in

  • Posts: 4

  • Since: 2005/6/8 1


Sorry to bump but somebody must have a clue how to do this?

5
davidthomas1
Re: 2.2 Redirect template woes.

ah, sorry, I misunderstood the problem.

Basically, you're redirect page is showing up like a central block on the current page, not in it's own page.

You may want to have a look at GI-JOEs redirect hack.

It probably has the information you need.

http://ftp2.peak.ne.jp/xoops/modules/news/article.php?storyid=66
みんなちがってみんないい。

XOOPS 2.0.13.2

Login

Who's Online

150 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 150


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