Hi,
I wonder if someone can help.
I have 14 news items to display on my home page. Each items is displayed in descending order by date of publication.
The first 4 items are displayed using the following:
<div class="main" id="main-three-columns">
<div class="left" id="main-left">
[[!getResources?
&parents=`3`
&limit=`4`
&tplFirst=`articleheadline`
&tpl_2=`articlesnextheadlines1`
&tpl_3=`articlesnextheadlines2`
&tpl_4=`articlesnextheadlines3`
&includeContent=`1`
&sortby=`createdon`
&showHidden=`1`
&sortDir=`DECS`
&includeTVs=`1`
&tvPrefix=``]]
<div class="clearer"> </div>
</div>
The last 10 items need to be displayed elsewhere on the homepage. I know I need to use getresources, but the following code simply starts over again with the most recent resource in my parent document:
<div class="left sidebar" id="sidebar-1">
[[!getResources?
&parents=`3`
&limit=`10`
&tpl=`sidebar1_articles`
&includeContent=`1`
&sortby=`createdon`
&showHidden=`1`
&sortDir=`DECS`
&includeTVs=`1`
&tvPrefix=``]]
</div>
Any suggestions?