getResources icon indicating copy to clipboard operation
getResources copied to clipboard

Conditional Tpl Based on Total Numbe of Retrieved Resources

Open hephaestoskin opened this issue 11 years ago • 0 comments

While this would require that getResources loop through twice (once to count resources, the second to render via chunks), it would be amazing with Twitter Bootstrap sites to be able to assign chunks for formatting conditional on the number of resources being retrieved by getResources. This would work in a manner similar to &tplCondition. While this would be more processor intensive, with proper caching it could be a very helpful feature for designers utilizing CSS frameworks.

hephaestoskin avatar Dec 30 '13 03:12 hephaestoskin