Hey guys, I’m wondering if there is any straightforward way to accessing data from a channel without having to use Template tags?
Sometimes the template tags seem cumbersome and I would prefer to just have a large array that held all the entires instead of having to go through the template looping procedure. Im thinking of an array that held all the entires of a particular channel. Each entry would be an array of key/value pairs, key’ed with each fieldname.
Many times I find myself creating plugins to handle presentational data changes and its rather clunky to have to spit out the data using template tags and then send them over to plugins to handle all the logic. Using helper functions in the templates and being able to access the data seems like a much cleaner approach.
Is this possible?