In the template.tpl of action.default.php:
Code: Select all
$(document).ready(function() {
$("#create-user" ).fancybox({
'title': 'User',
'titlePosition' : 'outside',
'width' : 600,
'height' : 600,
'modal' : 'true',
'type' : 'iframe',
'href' : "{/literal}{root_url}{literal}/modules/mymodule/action.create_user.php"
});
});
and I display them in action.create_user.php's template (".tpl").( like: CreateFrontendFormStart($id,$returnid,'create_user') etc. )
All works fine, but when I submit the form (which is in the iframe and, on my thought, would call back action.create_user.php and show the result in the iframe) I have this error:
Why the form isn't submitted to action.create_user.php?Not Found
The requested URL /modules/mymodule/moduleinterface.php was not found on this server.
Thanks