1
Zirafka
Redirect page
  • 2009/12/23 9:46

  • Zirafka

  • Just popping in

  • Posts: 70

  • Since: 2008/8/9 1


Hi all,

I write little module for XOOPS and have problem

In my module I want to use "system redirect page". I know must use "redirect_handler" function. It´s OK.

This code is functional:

redirect_header('index.php'3'test');


What´s problem?

My module show:

Resized Image


but system on another module show:

Resized Image


What´s wrong?

Thanks

2
Dylian
Re: Redirect page
  • 2009/12/23 9:54

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


remove the loadModuleAdminMenu(); function call before the redirect_header(); function call and it should work alright.

Greets Dylian.

3
Zirafka
Re: Redirect page
  • 2009/12/23 10:18

  • Zirafka

  • Just popping in

  • Posts: 70

  • Since: 2008/8/9 1


Thanks,but I can not find loadModuleAdminMenu() function on my module

4
Zirafka
Re: Redirect page
  • 2009/12/23 11:35

  • Zirafka

  • Just popping in

  • Posts: 70

  • Since: 2008/8/9 1


Thanks

Wrong:

xoops_cp_header();
....
redirect_header('index.php', 3, 'test');

Corect:

redirect_header('index.php', 3, 'test');
...
xoops_cp_header();

Happy Xoopsing

Login

Who's Online

350 user(s) are online (264 user(s) are browsing Support Forums)


Members: 0


Guests: 350


more...

Donat-O-Meter

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

Latest GitHub Commits