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.
Right now i am using menu badges in a expaned menu like;
My Profile
- Unread Messages (1)
- Incoming Relationship Requests (2)
What do i need is to calculate total for "Unread Messages" and "Incoming Relationship Requests" for parent item "My Profile". Like;
My Profile (3)
- Unread Messages (1)
- Incoming Relationship Requests (2)
I will be happy if you can help.
Greate work.
Thanks.
Comments
Comment #1
kiova CreditAttribution: kiova commentedComment #2
zengenuity CreditAttribution: zengenuity commentedThere are instructions in the README.txt about how to create your own badge types with code. You can create a new badge types that adds the values from the other two. Then, assign that badge type to the parent menu item.
Comment #3
zengenuity CreditAttribution: zengenuity commented