Hello community,
Sorry if this was already asked.
I’m using GetResource like this :
[[!getResources:default=`No articles found`? &parents=`22` &limit=`5` &tpl=`NewsTpl` &includeContent=`2`]]
NewsTpl chunk :
<div class="post">
<div class="postheader">
<span class="date"><strong>Nov</strong>21 <small>2010</small></span>
<h2><a href="[[~[[+id]]]]" title="See the post">[[+pagetitle]]</a></h2>
<a href="#" class="comments">25</a>
<p>
<span>Category: <a href="#">CSS</a> | Tags: <a href="#">Headings</a>, <a href="#">Tutorials</a></span>
By <a href="#"></a>
</p>
</div>
[[+content]]
</div>
First of all, I’d like to limit the size of [[+content]] and [[+pagetitle]], because this is only a preview of the posts. Is there an option I can add, specific for each field ?
Secondly, can I add the date with more details like only the Month, only the Day, only the Year of publishing ?
Thanks a lot.