Welcome Guest, Not a member yet? Register   Sign In
Parser feature
#1

(This post was last modified: 03-16-2022, 12:12 PM by ignitedcms.)

Not sure if this is there already, but I was wondering if the parser could have a feature to display a finite number of array items, rather than implementing that logic from the controller, same with sorting and orderby, of course this assumes data is from a sql query.

For example

PHP Code:
{blogItems orderby="date" sort="desc" limit="1" }

{/
blogItems
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply




Theme © iAndrew 2016 - Forum software by © MyBB