Add token to allow use of $group in Views urls
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #182936. --> Reported by: [karens](https://www.drupal.org/user/45874) >>> <p>I have created a default calendar that filters by OG group using a url like 'node/$node/calendar'. When using the option to show it as a tab, the tab shows nicely on all the OG home pages. But also on all other nodes. The workaround for this is to add a Views url token that will only work on valid group page nodes. The attached patch will make the token available. To use it, you can use 'node/$group/...' as the url in a View, set it up to display as a tab, and any tab created will only display on group nodes.</p> <p>Patch attached.</p>
issue