1
I want to make a popup in a module because I dont want people to get back and foward buttons each time they want to check this page.
I thought about making a layer (div tags) appear instead of a real popup but because of the limited scrolling capabilities of divs and the code needed to make them scrollable and draggable I decided it was better to take the popup option for portability and user-friendly side.
I use XOOPS 2.2 on a php 4 server (everything works great).
I have found the code to make the popup appear :
javascrixax:openWithSelfMain(url,name,width,height,returnwindow)
but I want an alternative to loading the mainfile.php in my poped file (php file) because it loads the theme with it.
What should I use (is there any object already designed for this in xooops api?). I want the $xoopsModuleConfig and $xoopsDB already loaded or available by using a module handler