2
Yes, this is actually pretty easy to do provided you don't mind the link either being the first or last link in the menu. You can view the results of the following code at
MyWebResource.
First, you'll need to clone your default template set, if you haven't done so already. Set your new template set as active and set "Update module template .html files from themes/your theme/templates directory?" to Yes.
Go into the Template Set Manager, go to System under your new template set and edit the system_block_mainmenu.html template.
Here's my code as an example:
<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}>
[color=FF0000]<{if $xoops_isuser}>
td>
<{else}>
<a class="menuMain" href="http://mywebresource.com/user.php" style="color:#DD0000;font-weight:bold;">Member Logina>
td>
<{/if}>[/color]
tr>
table>
After you're done making your changes, set "Update module template .html files from themes/your theme/templates directory?" to No and enjoy.
Best Regards,
James
Insanity can be defined as "doing the same thing over and over and expecting different results."
Stupidity is not a crime. Therefore, you are free to go.