I’m trying to create new module for freepbx and it’s working well but i have some simple issue.
My module have many pages like page.module.php it has a form in it and a submit button that POST to other php page.
When the user press the submit button the results appear but in new page, and not in same freepbx window in template with freepbx menus around results.
What should i do so my other pages don’t lunch in new windows, and lunch in same window in freepbx template.
When i click module name in freepbx menu it appear first page in freepbx template, but when i press submit at this page a new page appear with results but without freepbx template (menus, bars etc.)
Please help me and tell me what to write. (at least one little hint)
< form action=‘config.php?type=tool&display=configedit’ method=‘POST’ >
What should i write at display= ? cause just test is a menu item not test2 the second page.
If i need to put some javascript please help me i am not so good at java script.