bmlt-enabled / bmlt-enabled/crouton

group_count and meeting_count don't always work in a sidebar widget

Open
#278 19 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9
Forks
16
Avg merge
3d 22h
Merged PRs (30d)
1

Description

The group_count and meeting_count shortcodes don't work in a sidebar or footer widget. They only seem to work on a page where Crouton is implemented on the page itself. Examples:

If I copy the text from the footer widget to a page, the page shows that we have 50 groups and 56 meetings, and now the footer shows 50 groups and 56 meetings. On other pages, it just says 'groups and meetings'.
[https://www.longislandna.com/test2/](url)

However, on the main Crouton page, which shows meetings from five Areas, the footer widget says we have 120 groups with 144 meetings, so presumably, the service bodies used for group_count and meeting_count are automatically being pulled from what's on the page. This does not change if I add the service_body attribute to the shortcode.
[https://www.longislandna.com/meeting-search/](url)

And to be clear, on any page where there is no Crouton implementation, the widget doesn't show any count at all.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.