Surge-ee / SurgerEE

A collection of simple tags for expressionengine that make template development easier.
Mozilla Public License 2.0
37 stars 8 forks source link

Entry Counter #20

Open chambaz opened 11 years ago

chambaz commented 11 years ago

It would be nice to be able to count entries with category and channel options. This is especially useful when using Gumby Toggles & Switches and the toggle itself is separated form the content it is toggling.

For example:

{if '{exp:surgeree:count channel="news" category="4"}' > 5} {!-- do this --} {/if}