1
hello, I wanted to modify the usermenu so that it shows the user avatar.
I made a block that shows the user avatar (successful) and user menu, but the
function that displays "(1)" and highlights the mailbox does not function neither in php or html mode...
anyone had this problem?? any clue?
I figured out that in row 8 of
xoops/modules/system/templates/blocks/system_block_user.html-org
there is this code...
<{if $block.new_messages > 0}>
<{$block.lang_inbox}> (<{$block.new_messages}>) <{else}>
<{$block.lang_inbox}> <{/if}>
this is the function for highlighting and notifing new messages in the mail box. this I suppose is HTML and has smarty codes inside...(am I right?)
when I put this code in the blocks I made, it doesn't work. PHP or HTML mode.
I wonder why this function only works inside the user menu???
Anyone???
Please fill me in.