Hi guys and gals,
I've been struggling with this problem and am not having much luck, and not even sure if it can be done.
What I want to do is show the first 200 characters of a page, but if it has more than 200, then it should also show a "Read more" link, to use in a news listing type scenario.
This is what I preposed, but am stuck.
[[+content:ellipsis=`200`:gt=`200`:then=`read more code']]
I thought this kind of thing may work, but I'm a little stuck. Merging to Revo slightly feels like I have to relearn a few things.
I'm currently using these calls in my template.
template name: jjnewsitems
<div class="newsitems">
[[+content:ellipsis=`200`]]
</div>
In the main template:
<div class="jjnewsgroup">
[[getResources? &parents=`33` &tpl=`jjnewsitems` &includeContent=`1`]]
</div>
any help would be great. Thanks, Steve
[ed. note: vrdriver last edited this post 12 years, 7 months ago.]