Welcome, Guest Login

Support Center

Our documentation is moving:

Please check for the most up-to-date LiveWhale CMS and LiveWhale Calendar documentation. The below legacy documentation will remain available as a reference until the documentation migration is complete.

Displaying content when a widget returns no results

Last Updated: Jun 09, 2014 08:24AM PDT

By default, LiveWhale displays nothing when a widget does not have any results to return. This is so that content can gracefully vanish from the page when there’s nothing relevant to display.

However, if you wish to display alternative content when a widget returns no results (such as a no results message), you may do so using the “no_results” arg. The value supplied to this arg supports XHTML content.

The no_results arg can be added to your widget in the widget editor.

<widget type="news">
<arg id="group">Admissions</arg>
<arg id="no_results">put your message here</arg>
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found