2
Not sure I know exactly what you want?
If you want to add a link to the MAIN MENU for a page or module and you want it to open in a new page try this:
edit your system_block_mainmenu.html template.
You need to add the text that I have made
Bold <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}>/[i]path to module or html page[/i]" [size=medium][color=990000]target="_blank"[/color][/size]>[i][u]yourtext[/u][/i]a>[/b]
td> tr>
table>
You can add as many links as you want this way, unfortunately they will all go to the bottom of the modules list. (I think - never needed to try it myself)
The key part that I think your after is
target="_blank" the terget="_blank" is the code to open the link in a new window.
Alternativly you could use something like MultiMenu to create a new MAIN MENU you can have any links you want in any order you want and when you setting the links you can choose to have them open in the same window or in a blank window.
MultiMenu:
https://xoops.org/modules/repository/singlefile.php?cid=43&lid=1423Dave