ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Accessing Raw Channel Data - Bypassing Template

July 13, 2010 3:30pm

Subscribe [2]
  • #1 / Jul 13, 2010 3:30pm

    bryantAXS

    50 posts

    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?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases