Open nashin8or opened 13 years ago
Hi
Actually it's pretty clear, create the button views on view/main/messages/navigation.php, the javascript function on view/js_init/message/js_conversation.php.
Add function on message controller to handle javascript call, and lastly create a function on message model to update field readed
on inbox table.
That's it ;)
I already tried to get it to work. But rather than "Mark as unread", I reverse the function so on message model, I update the readed
to true
on inbox
table. I already edit the views and add "Mark as read" button. The problem is, every time I changed the value, it will always changes to its original value. Even if I change the value manually through MySQL command. I don't know the reason. I'm using mobinil modem, Huawei CE 0682, with Telkomsel Kartu As as the operator. My gammu version is 1.30.0 on Ubuntu 11.10.
Thanks.
A pull request would be great so we can review your code :-)
@sangprabo Everytime you open the messages view for a particular number, all messages are set to read which are showed in that window. Most probably you are facing this problem. Send a pull request and we will have a look!
any update on this?
Hi there,
I was wondering if anyone else had the need to have a mark as unread button. If so where to from here? Any suggestions?
Cheers,
Nash