1
jaylach
User menu template in box modification
  • 2010/8/27 16:30

  • jaylach

  • Just popping in

  • Posts: 7

  • Since: 2010/8/24


I wanted to have the private message in box in my user menu but without sub options. However I also wanted a display of the number of new messages.

I also wanted separate user menu listings for in box and pm.

First I made the pm module not visible. Then I added the following lines to my user menu template. It works great and only displays the new message count if there are actually unread messages.

<a href="http://my.jaylach.com/modules/pm">Messaging</a>

<
a href="<{xoAppUrl viewpmsg.php}>" title="<{$block.lang_inbox}>"><{$block.lang_inbox}><{if $block.new_messages 0}>&nbsp;(<{$block.new_messages}>&nbsp;unread)<{/if}></a>