Link | results_status |
Author | Jason Huck |
Category | Results |
Version | 8.x |
License | http://opensource.org/licenses/artistic-license.php |
Posted | 30 Jan 2006 |
Updated | 21 Mar 2006 |
More by this author... |
This is simply a shortcut for creating a string like:
Items 1 through 20 of 100 found, sorted by name.
Handy for use in concert with [results_table] and [results_navigation].
inline( ... ); results_status; /inline;
Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
define_tag( 'status', -namespace='results_', -priority='replace', -description='Combination of search results status tags.' ); local('sf' = sort_fielditem); #sf != null ? #sf->replace('_',' ')&titlecase; local('out' = 'Items ' + shown_first + ' through ' + shown_last + ' of ' + found_count + ' found' + (#sf != null? ', sorted by ' + #sf + '') + '.\n'); return(@#out); /define_tag;
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Bug Fix