The CRM knowledge syndication widget lets you display Knowledge Base articles on UQ Drupal pages to support existing content.

Information on this page isn't relevant to central sites such as my.UQ and Current Staff. To use a widget on a central site, see the CRM knowledge syndication widget for central sites page.

How the widget works

The default widget selects relevant articles from the Customer Relationship Management (CRM) Knowledge Base based on a category ID number and displays them on a page.

Over time, the Knowledge Base gathers information about which articles are clicked on each page. The widget then ranks articles by popularity and displays the articles most relevant to that page.

See a live example of the widget

Best practice

Use the widget at the bottom of a page when you need to add additional support or troubleshooting advice.

Avoid adding this widget:

  • more than once on the same page
  • within page content, tabs or accordions
  • on time-sensitive content types, such as 'Article', 'Blog post' or 'Event'.

Enabling the widget

Site coordinators can request the widget be enabled for a site by submitting an IT request. You'll only need to do this once for each site. Once the widget is enabled, site editors (or higher) can configure and insert the widget.

Find the site coordinator for your site

Adding the widget to a page

To add the widget to a page, you’ll need a category ID number. This number will display a category of articles from the Knowledge Base relevant to your page.

To further refine the results returned by the widget, you can use an optional topic ID number too.

For these ID numbers, submit an IT request. In your email include the:

  • address of the page you want to add the widget to
  • target audience for the page.

The team will check the Knowledge Base for relevant content and provide you with the ID numbers. You’ll need to add these numbers to the widget code when you insert the widget on a page.

Once you have a relevant category ID number, you have to enter some code into Drupal’s WYSIWYG editor to add the widget to a page.

The default widget code is:

[uq-widget:crm-knowledge-syndication c="1"]

To use this code, replace '1' with your category ID number.

Other configuration options

The widget will display according to parameters you include in your widget code. The default widget only needs a category ID number, but you can include additional parameters to refine and customise your widget.

Parameter name



Default value

Accepted values

Example code with parameter


Category ID number

To add multiple categories, use a semicolon. The widget will retrieve articles from either of the IDs provided.
Example: c='114;124'

To add sub-categories, use commas. Example: c='114,125'



Category ID numbers from the Knowledge Base.

114 = 'HASS'
114,125 = 'HASS' with sub-category of 'Education'


[uq-widget:crm-knowledge-syndication c="114,125"]


Topic ID number

To add multiple topics, use a semicolon. The widget will retrieve articles from either of the IDs provided. Example: p= '191;384'

To add sub-topics, use commas. Example: p='384,825'



Topic ID numbers from the Knowledge Base.

384= 'Human Resources'
384,825= 'Human Resources' with a sub-topic of 'Personal details'


[uq-widget:crm-knowledge-syndication c="114" p="384"]


Limits answers to a specific Knowledge Base portal.

Available portals are:

'uqcurrent' (current students)

'uqfuture' (future students)

'uqemployee' (staff)

'uqapplications' (online application form)







[uq-widget:crm-knowledge-syndication c="114" portal="uqcurrent"]


Increases or reduces the number of articles displayed (up to a maximum of 25).

We recommend selecting 5 or 10.



Numbers up to 25.

[uq-widget:crm-knowledge-syndication c="114" number_answers="10"]


Enables a search box.


false (disables search)

'true' (enable search)

'false' (disable search)


[uq-widget:crm-knowledge-syndication c="114" search_box="true"]


Enables article descriptions.

This will display short description under each article link in the widget.


false (disables description)

'true' (enable description)

'false' (disable description)


[uq-widget:crm-knowledge-syndication c="114" description="true"]

Widget examples