getResources
getResources copied to clipboard
Conditional Tpl Based on Total Numbe of Retrieved Resources
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.