Showing all terms in Subscriptions tab, not just subscribed ones

Created on 23 November 2014, over 9 years ago
Updated 6 January 2024, 6 months ago

HI All,

My ideal scenario is to have all of the available terms listed on the ‘Subscribe taxonomy term’ tab on a user’s profile page … not just those to which the user is subscribed.

To me, this would make it easy for the user to quickly select which terms they wish to subscribe to rather than having to go to each individual term page.

Is there an appropriate way to achieve this?

I tried removing the contextual filter, which seemed to get me close - I had a list of all terms used on the site and the flag link next to each appeared to correctly show the subscription status.

The only problem that I was aware of was that the “Terms you follow (x)” displayed the count for the total number of terms, not just the subscribed ones.

So, my questions at this point are whether I am going in the right direction, or does removing the contextual filter introduce issues that I’ve not thought of yet? Or, is there a better/tidier way of doing what I want?

If I am going in the right direction, how would I have the tab title correctly reflect the number of subscriptions?

Many thanks for any pointers.

💬 Support request
Status

Closed: outdated

Version

1.0

Component

Miscellaneous

Created by

🇬🇧United Kingdom Janner

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024