I'have installed the last release (pm_lite.module,v 1.1.2.6 2008/06/03 06:08:18), but i have a little problem with the pm_lite_menu_title function.
In the navigation menu, i see the link to My inbox, but the text of the link is "My inbox @unread" instead of "My inbox "+ number of unread message.
I tried to modify the pm_lite.module, only to test if the code line was correct, cheanging the word @unread to @unrd (in the pm_lite_menu_title function), but i still have the text link like before ("My inbox @unread" instead of "My inbox @unrd").
I'm not a good coder, but i can't undertand why this happens.
Comments
Comment #1
akme commentedOk.
I have unistalled the PmLite module, and i tried to reinstall it.
Now the Menu link to my inbox work correctly and shows the number of unread message.
I think the problem was that when i installed the new release i haven't unistalled the previous one.
Sorry for the inconvenience
Comment #2
rszrama commentedThis is actually working in my latest code, but I'm pretty sure I screwed up the CVS commits so that you probably ended up with an old version of the module. I've done two nights worth of coding since that version you got. Anyways, I had to use my own title callback on the menu item so it wouldn't cache the string like it is for you.
Honestly, I'm not sure how to fix the biff. If you have CVS, you can grab the latest from HEAD and/or the DRUPAL 6--1 branch. I'll try to sort it out as soon as possible.
Comment #3
vladsavitsky commentedI have menu "Navigation" disabled so I added a link in page.tpl.php:
(this is simplified code -just for understanding an idea)
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
ShaunPatrick commentedComment #6
ShaunPatrick commentedNot sure if this is what he is speaking of but I am curious of if you will update it at any time where it shows new message allert on the side of the title button? for instance [inbox] if they have no new mail and [inbox - new] if they have a new message that hasnt benn read?
Comment #7
rszrama commentedThe module does this by putting a number beside the title showing how many unread messages are there if any.
Comment #8
ShaunPatrick commentedActually on my site no number is seen. Just says Inbox. Now when I log in it will have a line in the center of the page that says you have # of unread messages. Wonder if I have to have something initiated?
Comment #9
rszrama commentedCould be you just need to make sure you have the latest dev version and empty out your menu cache. You can do that by browsing to the modules page.