1
LashaeTR
Redirection page
  • 2004/6/15 20:31

  • LashaeTR

  • Just popping in

  • Posts: 11

  • Since: 2004/6/5 2


Hi,
i want to edit redirection pages (Ex: Welcome user, you are being redirected to where you come, if redirection fails click here.) but i couldn't find them. I found one, located at modules/system, called system_redirect.html; i edited it, but still the original redirection page shows up. I'm stuck! Any help will be appreciated, thanks.
Lashae-

2
Stewdio
Re: Redirection page
  • 2004/6/15 21:35

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Performing a search on this topic will yeild numerous results.

You need to do two things;

First go back to your templates and clone the default then set the new clone to your default in admin preferences. After this, your changes will be saved. You can not save any changes to the default template, which is why you need to clone it first.

You can read a tutorial on cloning and editing the templates at DC Dezines, the link is in my signature.

3
Arowana
Re: Redirection page
  • 2004/9/22 18:37

  • Arowana

  • Friend of XOOPS

  • Posts: 323

  • Since: 2004/8/6 2


If you dont want to clone it go into your database

find your table "tplsource"

Look for item 105

Copy the code you have created for it making sure you have not over written the XOOPS Variables

Example:
<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>
</head>
<body background="/themes/montisblack/images/pc_bg.gif"><br><br><br><br><br><br>
<div style="text-align:center; background-color: #000000; border-top: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight : bold;">
<FONT SIZE="3" COLOR="FFFFFF"><{$message}><br><br><{$lang_ifnotreload}></FONT></p>
</div>
</body>


now save it and you are done. no extra themes to worry about nice and neat. I dont know if you can do this by the license, but since this is free open source I am sure you can edit the code anyway you see fit. Someone Please correct me if I am wrong

Thanks for your time.....and I hope this helps......

4
tjnemez
Re: Redirection page
  • 2004/9/22 21:30

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


you may want to do the cloning thing as you will likely be editing more than just your redirect.

5
Ronaldus
Re:Redirection page
  • 2004/10/24 8:48

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


Thanks guys,

I will experiment with both options !!

Ronaldus

6
Ronaldus
Re:Redirection page
  • 2004/10/24 12:26

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


This is the contsnt of my item 105 in table tpl_source in y database.
Where should I insert the the new HTML make-up code?

Greetings,
Ronaldus

<{$contactform.javascript}>
<form name="<{$contactform.name}>" action="<{$contactform.action}>" method="<{$contactform.method}>" <{$contactform.extra}>>
<table class="outer" cellspacing="1">
<tr>
<th colspan="2"><{$contactform.title}></th>
</tr>
<!-- start of form elements loop -->
<{foreach item=element from=$contactform.elements}>
<{if $element.hidden != true}>
<tr>
<td class="head"><{$element.caption}></td>
<td class="<{cycle values="even,odd"}>"><{$element.body}></td>
</tr>
<{else}>
<{$element.body}>
<{/if}>
<{/foreach}>
<!-- end of form elements loop -->
</table>
</form>

Login

Who's Online

202 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 202


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