Totara Learn Open Discussions

Linking directly to a glossary entry

 
Alex Virtue
Linking directly to a glossary entry
de Alex Virtue - Thursday, 5 de October de 2023, 03:32
Grupo 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
de Craig Eves (Totara Support) - Thursday, 5 de October de 2023, 15:11
Grupo 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

Alex Virtue
Re: Linking directly to a glossary entry
de Alex Virtue - Tuesday, 31 de October de 2023, 03:11
Grupo Partners

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