>>
Site Map
>>
Forums
>>
Themes 6x
Forum module - topics in forum:
Themes 6x - Discussions regarding PHP-Nuke Themes.
how do i take off footer and header from a module
i want the page to show only the module, no blocks no footer and no header.
i already know how to take off the blocks, but i dont know how to take off the footer and header from the module.
thanks to all the helpers

hmm dunno why you would want to but
to remove them open the index.php file in the module and rem or remove these lines
| Code: : |
include("header.php");
include("footer.php"); |
Don't actually think that'll work, although I don't know how either. 
nope, i tried that, it doesnt show the modul at all..
and the reason i want to do it is to put the module inside an iframe.
By not calling the headder it doesnt include a ot of functions for example the OpenTable() and so on this can casue a lot of problems, perhaps more info on what module you are trying to put in an iframe and where this iframe is going.
u need to look in the footer.php and header.php files and take out all the info like i.e.:
header.php images links
things like that but footer has the copyright so..