2
If you do a search on this site you should find links to modules which can wrap HTML for you.
However, if you don't want another module for a single or a couple of html pages you can do this:
<?php
include("/mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
?>
<HTML>
[b]HTML GOES HERE[/b]
</HTML>
<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>
Save as whatever.php and then link to it with the main menu or however you plan to link to it.
Dave
EDIT:
I know you didn't ask, but whilst on the subject, here is how you would edit your main menu:
First you need to have a cloned template set, then in the cloned template set you need to go to
system and then
system_block_mainmenu.html and you will see something like this:
Quote:
<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- start module menu loop -->
<{foreach item=module from=$block.modules}>
<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a> <{foreach item=sublink from=$module.sublinks}>
<a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->
</td> </tr>
</table>
You add your own links like so:
<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- start module menu loop -->
<{foreach item=module from=$block.modules}>
<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a> <{foreach item=sublink from=$module.sublinks}>
<a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->
[b]<a class="menuMain" href="<{$xoops_url}>/">yourtext</a>[/b]
[i][b]<a class="menuMain" href="<{$xoops_url}>/whatever.php">Whatever</a>[/b][/i]
</td> </tr>
</table>