[eluser]Sazan[/eluser]
[quote author="Vheissu" date="1303955450"]The issue us with the variable you're passing. Instead of storing results in $data, try going: $data['data']; then you should be able to access a var called data in your templates.[/quote]
Not working.
Tried different variations with no luck...
Btw, if there is any error with or within template why it doesn't show any errors? Just a blank screen.
I wish you had some free time to revise your great lib and fix these bugs:
1. passing model results directly to the template is impossible now (which is essential functionality, as it's very common need to build simple lists from the databases)
2. no error handling/logging when something is wrong with/within templates. (if you forgot to put $ before the variable in tmpl like
{var} you just won't see anything, just a blank screen)