Hi. I want to use getPage for pagination and displaying articles. And I need to set custom class for each third article. How can I do this with getPage?
-
☆ A M B ☆
- 24,524 Posts
Why do you need the custom class for each 3rd article? If it's only for positioning, you can do that with simple CSS sizing and floating.
-
☆ A M B ☆
- 24,524 Posts
Ok.
tpl_nN - Name of a chunk serving as resource template for every Nth resource, for example &tpl_n4=`tpl4th` would apply to any item divisible by 4
http://rtfm.modx.com/extras/revo/getresources#getResources-TemplatingProperties