Hello,
Using Revolution 2.2.0-pl2
I have been working on getting a news page to populate through the child pages. I am using the get resources. I want to use the content of the page instead of the intro text. Below code
This in the parent page:
[[getResources? showHidden=`1` &parents=`6` &depth=`1` &sortby=`{"publishedon":"DESC"}` &tpl=`newsTpl`]]
This is in a chunk:
<div class="newspost"> <div class="date">Published Date: [[+publishedon:strtotime:date=`%b %d %Y`]]<br / >
Unpublished Date: [[+unpub_date:strtotime:date=`%a %b %e, %Y`]]</div> <h2><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a></h2> <p class="author"><strong>Author:</strong> <span class="author">[[+createdby:userinfo=`username`]]</span></p> <p class="summary"> [[+content:ellipsis=`200`]] </p> <p class="readmore"><a href="[[~[[+id]]]]"><span>Read more</span></a></p> <div class="clear"></div></div><hr/>
Everything is showing up except the content part.
Thank you
[ed. note: wholein1 last edited this post 14 years, 7 months ago.]