ok, had some problems with date formating, had stayed on ditto, but as bob suggested it’s time to move to everything supported by revo, ditto was acting funky so I went completely with getresources and getpage.
so far I have tried to follow the get resources and get page documentation, all the styles have fallen in place, even noticed the dates are links, nice!
but I am having a problem where I can’t get the intotext too work, the title, changing user to fullname changed the author name to the generic screen name and not my log in name, the read more and get page links have all taken well to my old evo install css, but no introtext, not either on the main container page or the summeray links (i.e. recent news and articles) on the home page.
here is the call including get page on the main "blog/article "container:
[[!getPage? &elementClass=`modSnippet` &showHidden=`1` &element=`getResources` &parents=`11` &limit=`3` &pageVarKey=`page` &includeTVs=`1` &includeContent=`1`&tpl=`getresmain`]]
<div class="paging">
<ul class="pageList">
[[!+page.nav]]
</ul>
</div>
and here is the template
<div class="ditnewscontainer" id="ditnewscontainer">
<div class="calender" id="calender">
<div class="month" id="month">[[+publishedon:strtotime:date=`%b`]]</div>
<div class="day" id="day">[[+publishedon:strtotime:date=`%d`]]</div>
<div class="year" id="year">[[+publishedon:strtotime:date=`%Y`]]</div>
</div>
<div id="ditpost">
<h2 class="head2"><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a></h2>
<div class="ditto_info" >By <strong>[[+createdby:userinfo=`fullname`]]</strong>. </div>
<p class="summary">[[+introtext]]</p>
<span class="ditto_link" id="ditto_link"><a href="[[~[[+id]]]]">Read more</span>
</div>
</div>
I kept my old ditto classes.
In the summery section on the home page I placed this call in the template without get page:
[[!getResources? &parents=`8` &limit=`1` &tpl=`dittonewsnew` &includeContent=`1` &showHidden=`1`]]
and here is the template:
<div id="outer1">
<div id="container1">
<div id="inner1">
<div id="text1"><h3 class="frontnews"><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a></h3>
<div id="newstextindent"><span class="ditto_documentInfo">By [[+createdby:userinfo=`fullname`]] [[+publishedon:strtotime:date=`%b`]] [[+publishedon:strtotime:date=`%d`]] [[+publishedon:strtotime:date=`%Y`]]</span>
[[+introtext]]
<span class="readmore"><a href="[[~[[+id]]]]">Read more</span>
</div>
</div>
</div>
</div>
</div>
lots of divs due to vertical and horizontal centering across all browser. also, I used show hidden in the call because they have no links in wayfinder, also if I can get intro text to work is there a &trunAt type of setting? the front end summery real estate is very limited.