1
I'm customizing the default theme. One of the things I have done is add the items from the user menu block to a top menu within the default theme. I added a table row under the logo area and added the menu items to the cells.
I used the code from the user menu template to create the links. The Admin link works, it is only visible if you have admin rights as it should. All the links work except for one aspect of the inbox link. When a new message arrive the inbox link usually adds the number of new messages to the right of the link. For example:
Inbox (1)When I add the code
<{if $block.new_messages > 0}>
<a class="highlight" href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}> (<span style="color:#ff0000; font-weight: bold;"><{$block.new_messages}>span>)a>
<{else}>
<a href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}>a>
<{/if}>
It just displays "Inbox" even if there are new messages. It will not display the number of messages. Anyone know how to get this to work in the new theme menu?