This topic is locked

Report can start from a search page??

9/1/2009 8:10:18 AM
PHPRunner General questions
S
sickacid author

Hi, i've do a Report but it require many times for build de page,and

when i press it on the link page it start to recharge again.

It's possible to redirect report directly to the search page when

i press the link in the menu??

D
danaci 9/1/2009

after login event

header("location: reportname_search.php");

exit();

S
sickacid author 9/1/2009

i've do this code in BeforeProcess Report

i can see the search page but it don't works..
//** Custom code ****

// put your custom code here
header("location: Report___Presenze_Adv_search.php");

exit();

Sergey Kornilov admin 9/1/2009

Simone,
you should use approached recommended by danaci.
If you use BeforeProcessReport event for this purpose you'll stuck in infinite loop if you try to search for something.

S
sickacid author 9/3/2009



Simone,
you should use approached recommended by danaci.
If you use BeforeProcessReport event for this purpose you'll stuck in infinite loop if you try to search for something.


Yes, but it isn't very nice, all user must to do a search after login in this case..

I would rather that only users who use the report start from screen Research.

Sergey Kornilov admin 9/3/2009

You can change the menu link that points to report. Use Menu builder to point it to report search page.