Page 1 of 1

About Reservation Module - Show result in Another Page.

Posted: Mon Aug 13, 2007 2:57 pm
by CNBorn
I'm trying to modify reservation Module to fit my needs.

One problem appears when I come to deal with it. I need to show results which from a form submitted ( In Reservation Module, It is theĀ  "function DisplayReservationStep1") in a whole different page, not the page where the form appears.

Can I do something such as to send a detailpage param the let the next step ( In Reservation Module , which would be DisplayResevationStep2 ) know that the result will be shown in another page ?

Hoping your Module Master can give me some help, Thanks.

Re: About Reservation Module - Show result in Another Page.

Posted: Tue Aug 14, 2007 8:03 am
by CNBorn
Kinda like this ' Implement Detailpage in a Module'
http://forum.cmsmadesimple.org/index.ph ... 443.0.html

But I want to use a detailpage function within a form submit.

I know the Search Module can do such a thing. But I am kinda new to php. I read the Search Module code, knowing something about that in (Search Module's) action.default.php, But I can't find anything about detailpage in action.doSearch.php

Can somebody give me some point about that?

Re: About Reservation Module - Show result in Another Page.

Posted: Tue Aug 14, 2007 8:18 am
by RonnyK
The FormBuilder has such a feature. If you check the Tab "Form submission" in a Form, you'll see that you can redirect to a page after submission.

Ronny