About Reservation Module - Show result in Another Page.

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
CNBorn
Forum Members
Forum Members
Posts: 21
Joined: Tue Feb 27, 2007 7:39 am

About Reservation Module - Show result in Another Page.

Post 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.
CNBorn
Forum Members
Forum Members
Posts: 21
Joined: Tue Feb 27, 2007 7:39 am

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

Post 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?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
Post Reply

Return to “Developers Discussion”