Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
can someone please tell me how to do this? i know how to display the unread count, but i also need to print the inbox and outbox count in my custom module.
some help would be much appreciated, i couldnt really find anything on google
Comments
Comment #1
ptmkenny CreditAttribution: ptmkenny commentedThere are some examples of how to count threads in the inbox using an SQL statement in the documentation:
https://www.drupal.org/node/810370
This does not specifically answer your question, but it should get you started.
Comment #2
steve-loves-drupal CreditAttribution: steve-loves-drupal commentedFantastic, thank you very much. Appreciate it
Comment #3
steve-loves-drupal CreditAttribution: steve-loves-drupal commentedComment #4
dgtlmoon CreditAttribution: dgtlmoon commented