Hi all,
I wrote my own module. Module is plugin module. This module has on frontend some form. When I fillup it and send it, the form call another action of module. In this action I try write info to user (echo).
But the info si written to home page of website (there is /moduleinterface.php on address line) instead of page, where module is (ie. my-page).
form is in action.default file and action is in action.sendorderemail file
Please help me, where I am doing an error? In older version ie.1.6x it works bot in new versions 1.10.x+ id doesn't.
Thanks
[solved] module output is redirected to bad page
[solved] module output is redirected to bad page
Last edited by bunak on Sat Mar 08, 2014 3:04 pm, edited 1 time in total.
Re: module output is redirected to bad page
To the first you should make a to the current CMSMS API. There are a lot of changes.
After that you can make a look to News module as a reference.
After that you can make a look to News module as a reference.
Re: [solved] module output is redirected to bad page
SOLUTION
issue was with CreateFrontendFormStart.
In older versions of API there is no problem, when returnid is not filled. In new version it must be filled.
issue was with CreateFrontendFormStart.
In older versions of API there is no problem, when returnid is not filled. In new version it must be filled.