Hi all,
i have a problem with the submitform redirect in the form.php.
Have an onclick attribute on the related a with " javascript: submitbutton('save'); return false; ", when it save the new item it goes to the edit item page. I want it to go in a joomla article page, i tried everything but:
If i let it do "submitform(pressbutton);" (called in function submitbutton(pressbutton) {code}) it goes to edit item page and save the new item.
If i do "window.location.href = pageUtente+"<?php echo $user->id; ?>";) (for example, just a normal redirect) it go to my page but cannot save the new item...so how can i save the new item and go to another page? Where can i change it?
Thanks...