>>
Site Map
>>
Forums
>>
Modules
Forum module - topics in forum:
Modules - Get help on installing any module or add-on here
Module Help
Hey im having some difficulty trying to make my own custom module. I installed something on my site that is not phpnuke related called File Host. Its a script that lets you upload files. Im wanting to keep this script, so to the error part. I have the code working correctly in HTML format but I converted it to a PHPNuke Module by using the PHP-Nuke_Tools on this site. I want it to show as a frame page in the module. The link is
http://www.yahoorelated.com/files/ I want that to show up in a frame on
http://www.yahoorelated.com/modules.php?name=File_Host. I uploaded it on my site but it just does not show the frame. Any suggestions.
Code looks like this
| Code: : |
<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
echo"<HTML>"
. "<frameset cols=100%,* bordercolor=blue>"
. "<frame src=http://www.yahoorelated.com/files/ name=One"
. "scrolling=auto marginwidth=0 marginheight=0 noresize=yes>"
. "</frameset>"
. "<noframes>"
. "You need a frames capable browser to view this page."
. "</noframes>"
. "</HTML>";
CloseTable();
include("footer.php");
?> |
Thanks for your time.
You can't use frames with nuke modules.
Well actually I have seen it done before. Do you know if its possible on older versions of nuke. Im currently using Raven's PHPNuke 7.6 from http://ravenphpscripts.com/ .. I think the site I saw it done on was http://www.ram0na.net/ ..
| Jae_9 Wrote: : |
| You can't use frames with nuke modules. |
I think what she was trying to say was. You can't build a frameset into a module. What that I seriously doubt you have seen a frameset used on a single module, since it's not possible. Putting the entire site in a frameset although possible is a very difficult task and not a recommended configuration. Many things won't work correctly if at all.
You do realize there is about a half dozen already made nuke mods out there that do exactly what you are attempting to do.
Here is just one example