LiveWhale

Welcome, Guest Login

Support Center

Displaying a tag selector for a widget

Last Updated: Jun 21, 2017 02:00PM PDT

Many widgets support a special arg, “show_tags”, which will display a list of tags next to the widget. This will allow users to check off tags of interest and see the results of the widget change dynamically according to their selections.

This feature can be turned on for a widget simply by setting “show_tags” to “true”.

The show_tags arg will be added to your widget in the widget editor.

<widget type="news">
   
<arg id="group">me</arg>
       
<arg id="show_tags">true</arg>
</widget>

By default (through LiveWhale 1.6.1), you will be allowed to select multiple tags for filtering. However, you can instead allow only one tag to be selected at a time by wrapping your widget in <div data-options="exclusive_tags=true"> ... </div>.  Starting in LiveWhale 1.6.2, this is the new default. If you'd like a multi-select tagger, we recommend isotope.js.

eb8f96c071020d8b0923da726d6cab65@livewhale.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete