|
The Metadata Plugin Metadata Management for Manila |
Site last updated 2/24/2006; 12:33:21 PM |
|
showCount() macro
The showCount() macro is very simple. It tells you the number of times a metadata value occurs in a meta type. For example, you can find out the number of times the keyword possum occurs in your keywords meta type. Here's the syntax: {metadatamacros.showCount("keywords","apple")} It also has an optional flag that suppresses the result if the result is zero: {metadatamacros.showCount("Section","Features","suppressIfZero:true")} If we have no pages in the features section, an empty string will be returned; otherwise, the number of pages in the features section will be returned. This macro works only with meta types for which you have turned on indexing.
|
|||||||||||||||||||
| This page last updated Monday, August 20, 2001 at 1:01:07 PM. | (6298) |