1
kizun4
Redirect page..
  • 2006/9/11 17:57

  • kizun4

  • Just popping in

  • Posts: 49

  • Since: 2006/9/11


The redirect page that i mean, as example like this..
- when we login, it will appear "Thanks for login"
- when we post something, it will appear "Thanks for your submission"
- etc...

I don't want to use that redirect page, can i do that?

2
davidl2
Re: Redirect page..
  • 2006/9/11 18:04

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Please see this post

3
zyspec
Re: Redirect page..
  • 2006/9/11 18:14

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I think I'd try to modify the /system/templates/system_redirect.html file. You'll need to clone the system templates first and then edit the cloned template.

Rather than "hacking the core" I'd just edit line 5 and change it from:

<meta http-equiv="Refresh" content="[d][b][color=CC0000]<{$time}>[/color][/b][/d]; url=<{$url}>" />


to:
<meta http-equiv="Refresh" content="[b][color=0000FF]0[/color][/b] url=<{$url}>" />


and then update your system module to clear the template. The "danger" of this (as McNaz states in the other post davidl2 pointed to above) is that some browsers don't support redirect and so your site will appear to "hang".

4
kizun4
Re: Redirect page..
  • 2006/9/11 18:17

  • kizun4

  • Just popping in

  • Posts: 49

  • Since: 2006/9/11


Oh, i see now..
actually it's no problem with me..
Just sometimes the redirection url doesn't work & it just freeze like that if i don't clik "clik here"

Never mind.. btw thx for the information

5
davidl2
Re: Redirect page..
  • 2006/9/11 18:23

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


It's worth checking out

Actually customising the system templates should be easier on XOOPS 2.0.14 & 2.0.15

If you copy the template from:
/system/templates/system_redirect.html

to:

www.yoururl.com/themes/yourthemename/templates/system_redirect.html

then you should be able to customise this to whatever you wish

(I haven't tried this, but i'm sure that's correct )

6
Djiman
Re: Redirect page..
  • 2006/9/11 18:35

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


I think on this sitehttp://www.peak.ne.jp/xoops, there is a hack for redirecting.
It takes you directly to the page, without redirecting.

But can't really remember the url.
Make a search there, may be y'll be lucky enough.

when you are over there, hit ! user login without entering a login or pw.
will get an idea what it is about.

7
kizun4
Re: Redirect page..
  • 2006/9/11 18:44

  • kizun4

  • Just popping in

  • Posts: 49

  • Since: 2006/9/11


I've tried zyspec recommendation & still didn't change anything..
May I know how to update my system module to clear the template like you said before..??

Login

Who's Online

171 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 171


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