If you've entered a lot of supplementary information for your terms, you can display that information in the sidebar. This can help writers use the term correctly without having to open the full term help. For example, you could add a note on how to use the term correctly.
To configure the term help in the sidebar, follow these steps:
Open your overlay of the following file:
If you don't yet have an overlay of this file, create a new version of the file at the following location:
%ACROLINX_CONFIGURATION_ROOT%\data\commonAlways edit your overlay copy in the configuration directory rather than the installed version of the file.
You can use the following sample code to get started.
<div class="guidance term"> ## $surface ## <br/> ## $status $domains #if(!$customFields.definition.isEmpty()) <br/> <b>Definition</b> <br/> $customFields.definition #end #if(!$customFields.note.isEmpty()) <br/> <b>Note</b> <br/> $customFields.note #end </div>
This configuration will display the status, domains, definition, and note for each term that shows up as a terminology issue.
Edit the code and add any other desired variables.
For example, most people want to add the contents of custom fields that they've created. You add a custom field with the following variable:
<FIELD_NAME>with the name of the required field — like this:
If needed, surround the variable with any extra HTML formatting like line breaks or bold tags.
For more detailed information on variables for term help, see the section
Configuring Term Help Templates.The variables that you use for the term help file are the same variables that you can use for the term help in the sidebar.
Save your changes.
You'll see your changes the next time you run a check.