Installation
CSS
The style sheet for the talque plugin should be in the loaded in the <head>
of the page:
Alternatively, the stylesheet link can also be placed in the body of the page but above the content snippet (see below).
Javascript
The javascript code of the talque plugin is ideally loaded asynchronously, so the initial render of your web page during load happens as soon as possible. For this, place the following in the <body>
of your page:
Alternatively, for example if you use a content management that does not support asynchronous loading of resources, you can also place the above in the <head>
of your page.
Content
The position of the content is determined by the css id talque-js-plugin
, which requires a few data-
attributes to configure what to show and how to present it. For example:
The meaning of the data attributes is as follows:
data-org-id
is the organization id of your eventdata-locale
determines language on labels and date formats. The currently supported values are listed in the Locale sectiondata-backend
should always behttps://event.talque.com
data-settings
allows you to customize the displaydata-site-url
is the relative route (excluding the hostname) of where the plugin is being served. In the Routing section this is described in more detail.
Complete Example
Here is a minimal example that demonstrates where the different elements should be placed
Last updated