Hi all,
I am working with modal frame to create a new node..
I have construct the form and while i proceed with checking server side validation it brings all the whole page inside the modal frame.
For example:
- Consider i created a form and displaying it in modal frame.
- When i click on the submit button the whole site is displaying inside the modal frame.
- My requirement is to display only the form with error messages
- How can i override this and achieve my requirement...
thanks in advance....
Expecting your valuable guidance... :)
Comments
Comment #1
gnugetThis doesn't seems to be a bug of modalframe module. you still have the problem?
in your child page (where you are building you form) you need execute the function:
And inside of the module folder exists a file called modalframe-page.tpl.php just copy that file into your theme and delete cache, after that any request inside in a child window will be displayed with that tpl instead to render your whole theme.
I will change the category of this issue from "bug report" to "support request" and the status to "closed (works as designed)" if you continue with problem feel free to re-change the status.