The Query Module - Getting ungettable data into your templates

Posted on Fri, December 20, 2013 in Greatest Hits, Development Tips by Alum

At its core the job of a CMS is to retrieve information from a database and display it to a user. Inside of ExpressionEngine the most common example of this is the Channel Entries module, which at its most basic it looks something like this;

{exp:channel:entries channel="blog"}

{title} {blog_intro} {blog_body}

{/exp:channel:entries}

If you’re familiar with EE then you should know instantly what’s going to happen here. ExpressionEngine will output the Title, Intro and Content for each entry in the blog channel, one after the next. By adding parameters like “limit=”, “orderby=”,...

Read More

Topics

Authors

Tell Us About Your Project

Invalid phone number