Problem/Motivation
When the social_follow_tag and social_follow_taxonomy modules are enabled, it should show a popup when you click on a tag that is used in a topic/node. I enabled both of the modules but when I click on the tag, nothing happens, the page simply reloads.
Steps to reproduce
1. Enable social_follow_tag and social_follow_taxonomy
2. Make sure its module weight is before social_tagging, so set the social_tagging to module weight 1 and social_follow_tag and social_follow_taxonomy to 0.
3. Create tags and content with these tags set.
4. Go to this node and try to click the content tag.
Proposed resolution
The problem is that social_follow_tag overrides the default template of social_tagging via the hook_theme, and there is no dependency on social_tagging, so it could happen that the module weight is set before the social_tagging one, this causes the hook_theme is executed before social_tagging, so effectively the template is not overridden. We need to make sure that we always execute the hook_theme after social_tagging.
Comments
Comment #2
nkoporecPR: https://github.com/goalgorilla/open_social/pull/3272
Comment #3
tbsiqueira