Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

Context help links

Context Help links can be added to pages to link to a relevant Knowledge Base page.

Help links open Knowledge Base in a modal or new page and look like this:

The help links are enabled by default on a ResourceSpace system but can be disabled by setting $contextual_help_links=false;

Adding a help link to a page

To add a help link to a page use the render_help_link function.

The function takes the Knowledge Base page as a parameter without the base URL. For Example:

This code will add a help link to the page: '' with the link appearing after the intro text for the page.

When adding the link into Javascript it is helpful to create the link as a string variable before using it as creating the link inline can give undesirable results.