Hello Mark, I want to get rid from Wordpress and its plugins which slows my site. I am a huge fan of MODX and want to learn it more and more.
I got this &tpl_n2 or &tplOdd thing from BobRay also but I cant get it working with Articles.
Here is what I have in my articlerowTpl -
<li class="one_half first">
<article class="clear">
<figure class="post-image"><img src="[[++assets_url]]template/prototype6/images/demo/1200x400d.jpg" alt=""></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> [[*createdon:strtotime:date=`%d/%m/%y`]]</time>
</li>
<li class="blog-post-cats">[[+tv.articlestags:notempty=`<span class="tags">[[%articles.tags]]: [[!tolinks? &items=`[[+tv.articlestags]]` &target=`[[*id]]` &useTagsFurl=`1`]]</span>`]]</li>
</ul>
</div>
</header>
<p>[[+content:ellipsis=`200`]]</p>
<footer class="read-more"><a href="[[~[[+id]]]]">Read More »</a></footer>
</article>
</li>
You can see here
<li class="one_half first">
I want my next post's
automatically.
How do I get this with getresources in Articles ? Please teach me in simple way. If it works then I will save my little life.
And I saw modx.today and that;s what I want, A grid based layout. I see you used post formats like thing of wordpress in Modx. This is just WOW.
Thank you.