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>

Login

Who's Online

95 user(s) are online (67 user(s) are browsing Support Forums)


Members: 0


Guests: 95


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits