This question has been answered by multiple community members. See the first response.
Its simple site but its made in best CMS.If you use &tplOdd, it will be used for the items with an odd index and &tpl will be used for the even ones.Thanks alot. As Articles is updated, I am going to use Articles instead of just getresources. So there is option to put "ArticleRowTpl" chunk name to display blog posts. So how can I use the odd and even tpl there? Because I have to put only my chunk name there in "Article Row Chunk".
Its simple site but its made in best CMS.If I'm understanding you, you'll still be using getResources to get the Articles so you will still be able to use &tpl and &tplOdd. Neither getResources nor Articles cares what the name of the chunk used for either one is. Any chunk will work as long as it contains placeholders that are set in the process.Actually Im not using getresources directly now. Now im using Articles as its fixed for 2.3
Its simple site but its made in best CMS.<li class="one_half first">
<article class="clear">
<figure class="post-image"><img src="[[+tv.PostThumb:pthumb=`w=570&h=140&q=60&zc=1&aoe=1`]]" alt="[[+pagetitle]] pictures" title="[[+pagetitle]]" ></figure>
<header>
<h2 class="blog-post-title"><a href="[[~[[+id]]]]">[[+pagetitle]]</a></h2>
<div class="blog-post-meta">
<ul>
<li class="blog-post-date">
<time><strong>Completed:</strong> [[+publishedon:strtotime:date=`%b %d, %Y`]]</time>
</li>
<li class="blog-post-cats">[[+tv.tags:notempty=`[[!tolinks? &items=`[[+tv.tags]]` &tagKey=`tag` &target=`1`]]`]]</li>
</ul>
</div>
</header>
<p>[[+introtext:default=`[[+content:ellipsis=`300`]]`]]</p>
<footer class="read-more"><a href="[[~[[+id]]]]">Read More »</a></footer>
</article>
</li><li class="one_half first">
<li class="one_half">
Its simple site but its made in best CMS.
Its simple site but its made in best CMS.
I don't see anything you're doing wrong, but this is working perfectly for me:<br />ODD: [[+pagetitle]]
<br />Even: [[+pagetitle]]
[[!getResources?
&tplOdd=`tplOdd`
&tpl=`tplEven`
&parents=`38`
&showUnpublished=`1`
&showHidden=`1`
]]