One simple question for those using Articles
I'm currently using a lot of Templating Properties such as tplFirst, tplOdd, tpl_nN, etc. available in getResources to present certain posts a certain way. For instance, I may want the most recent post to be displayed slightly different from the rest of the pack, the next 2 posts to have their own display layout as well and the remaining of the pack to have the standard layout. All of that of course is achieved with dedicated chunks.
In the Blog Container Template, will I need to use a getResource call to structure the special posts and use the standard chunk for the Article Row Chunk or is there a native approach to this?
And is there a way to skip some posts. Ex: Skip the 3 most recent posts?
[ed. note: treigh last edited this post 14 years, 4 months ago.]
A MODx Fanatic
I just realized a few days ago that Articles uses getResources to list articles and getPage for the pagination and that all properties available in those two snippets are also available in Articles as long as they're declared (comma-delimited) in the "Other Listing Parameters:" section of the Advanced Settings.
I guess to answer my own question, no need another getResources call to theme results. Simply specify the &tplFirst=`my_custom_tv_here` in the "Other Listing Parameters:" section and use the standard [[+articles]] call.
The relationship between Articles, getResources and getPage is not so obvious in the official docs. It'd be very helpful to point this out some where in the docs.
A MODx Fanatic