Quiz tab shown even if no quiz exists for node

Created on 1 July 2015, over 9 years ago
Updated 26 July 2024, 4 months ago

Hi!
Some of my course units have no quizzes, but the Quiz tab shows up regardless of whether there is a quiz for the unit. I tried to use hook_menu_alter to unset the tab if there are no quizzes, but the tab is created before the content so I can't access the node ID or quiz ID to check it the tab should be created in the first place... Is there any way to check if a quiz exists before displaying the tab?
Thanks!

πŸ› Bug report
Status

Closed: outdated

Component

Code - Quiz core

Created by

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.

  • Status changed to Closed: outdated 4 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    With D7 approaching EOL soon I've started the process of triaging the D7queue here. Since there hasn't been any movement on this going to close out.

Production build 0.71.5 2024