1
Hopefully this is the right forum!..
I would like to port a simple DHTML script into Xoops. In essence, the script opens up a pop-up window when clicking on an icon and starts cranking out data. The script works flawlessly outisde of xoops.
I created a module (mod1) with a subdir (code1).
Problems:
1. XOOPS only shows the input field, not the image. Since the smarty variable {$xoops_url} is null, I tried to use absolute referencing (ie file:///.. ) to display the icon w/o success.
2. The url 'Click here!' shows up, but the jscript code does not run.
This is my first attempt at customizing xoops. I tried to adapt some of the code I saw in the FAQ threads but, obviously, some parts of the puzzle ar missing. Thanks for helping me out!
Mark
Procedure used:
a. Created a private module (../modules/mod1) with an index file (../modules/mod1/index.php). Added the following html code:
...
Input date:
....
b. Declared the jscript file in 'theme.html' as follows: