Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test 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: 'https://www.resourcespace.com/knowledge-base/user/uploading' 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.