Forum Discussion
Hoekstra_VFZ wrote:Hi,
I am trying to create a button in the sidebar of my forum-topic pages and grouphub pages. I have made a component, inside is a div with a button, and some javascript that gets the subscribe/unsubscribe link from the 'page dropdown menu settings thing'
So I get the link out of the list items from this menuThen the link is transferred to this button in the sidebar
For topics, blog and ideas this works great on pages and boards! The subscribe button is not hidden anymore. And regular users can now easily manage their subscriptions by navigation through the site (they cannot make sense of the subscription thing in the profile settings. That feels way too beta).
However it does not work on GroupHub pages. The button has no life in it. The HTML of the link form the menu is copied perfectly and should work fine. I cannot find the issue. I do see differences in how the HTML of a GroubHub subscribe link and the link of a forum topic page for example. Maybe this has got something to do with it?My question to you: Does someone know a proper way how to make a subscribe-to-this-grouphub-button from scratch? Maybe even in a nice way using the API instead of my Javascript hack?
Hello Hoekstra_VFZ, very helpful post! Thank you for this. By any chance, you could share the JavaScript with me?
Related Content
- 10 months ago
- 2 years ago
- 2 years ago