Totara Learn Open Discussions

Linking directly to a glossary entry

 
VirtueAlex
Linking directly to a glossary entry
VirtueAlex 发表于 2023年10月5日 Thursday 03:32
小组 Partners

It seems that it's possible to isolate a single glossary entry via a URL.
The only way I've found to trigger this is:

  • Edit an entry

  • Click save or cancel

The page that you are returned to looks like "/mod/glossary/view.php?id=xx&mode=entry&hook=xx" where "id" appears to be the course id and "hook" appears to be the id of the glossary item.

When sharing this URL to an unauthorised user they are, of course, re-directed to the login page. Once authorised they are re-directed to "/mod/glossary/view.php?id=xx&mode=entry" which brings them to the glossary, but looses the "hook" value, thus showing a blank glossary until they start to navigate manually.

Does anyone know of a better way to link directly to a glossary entry?

Craig Eves
Re: Linking directly to a glossary entry
Eves (Totara Support)Craig 发表于 2023年10月5日 Thursday 15:11
小组 Totara

Hi Alex

This may be a better way

  • Allow glossary autolinking under manage filters

  • Add the entry in the glossary in a course

  • Autolink the glossary entry

  • Add the term in a label and hide the label so it is not visible to learners

  • Hover over the label to copy the glossary link

The link it should look something like sitename/mod/glossary/showentry.php?eid=2&displayformat=dictionary

regards

VirtueAlex
Re: Linking directly to a glossary entry
VirtueAlex 发表于 2023年10月31日 Tuesday 03:11
小组 Partners

This appears to do exactly what we need. Thanks Craig!