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:
include("/mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
?>
[b]HTML GOES HERE[/b]
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:
<{foreach item=module from=$block.modules}> <{$module.name}> <{foreach item=sublink from=$module.sublinks}>
<{/foreach}> <{/foreach}>
|
You add your own links like so:
<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}>a>
<{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}>
[b]<a class="menuMain" href="<{$xoops_url}>/">yourtexta>[/b]
[i][b]<a class="menuMain" href="<{$xoops_url}>/whatever.php">Whatevera>[/b][/i]
td> tr>
table>