9
I just checked the smarty site and it looks like their codes do accept functions (I'd be surprised if they didn't).
Try this code in your system_block_mainmenu.html file, it is in your system templates (remember to clone from the default set or you will not be able to edit it).
<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}>
<!-- this is where the new bit starts-->
<{if $module.name == '<!-- put the name of your module here-->' }>
<a class="menuMain" href="<!-- put the URL of the page you want to link to here-->" target="_blank"><{$module.name}></a>
<{else}>
<!-- finish of new bit -->
<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}>
<{/if}><!-- you'll need to close the if statement here -->
<{/foreach}>
<!-- end module menu loop -->
</td>
</tr>
</table>
Let us know how you get on.