Alright, I start myself and hopefully someone will fill in the blanks and correct me where I wander off...
1) [[NewsListing? &tpl=`BlogPageTemplate1` &startID=`9` &summarize=`5` &showarch=`0` ]]
BlogPageTemplate1:
<div class="whatever">
<h3>[+longtitle+]</h3>
<p>Posted by [+author+] on [+pub_date+]</p>
<p>[+content+]</p>
</div>
My comments:
I can’t find any reference in the documentation how to show the author’s fullname in a placeholder like [+author+]. But I notice in the snippet code there *is* such a placeholder. Can I assume this is for the author’s fullname and not anything else?
This post seems to suggest it is, at least that’s how I read it. Can anyone shed light on this?
2) [[NewsListing? &tpl=`BlogPageTemplate2` &startID=`9` &summarize=`16` &filter=`!=the five absolutely latest post` &showarch=`0` ]]
BlogPageTemplate2:
<div class="listblock"> <!-- styles the unordered list -->
<ul>
<li><a href="[~[+id+]~]"</a>[+longtitle+]</li>
</ul>
</div>
My comments:
I want to show only the latest posts #6-16, so I &summarize = 16 and try to filter out #1-5. But I’m not sure how to form the argument to do it. Any suggestions or other solutions? And, how do I truncate the longtitle at 25 characters maximum to fit in my sidebar column?
3) [[NewsListing? &tpl=`BlogPageTemplate3` &startID=`9` &showarch=`1`]]
BlogPageTemplate3:
<div class="listblock">
</div>
My comments:
I want to show a list of monthly archives only. Is this the way to do it, using parameter &showarch = 1 and not using any placeholders at all? And how do I control the output and style(s) of the pages created when I click on the month links? Do I have to hack the snippet code (starting with $archivehtml) to do it, or how do you go about that part? Are the results displayed on the same page or on a new page?
*****
As you can see, this is what I can gather from reading the (sometimes scant) documentation and by scanning the snippet code (as a non-coder). Please forgive me if there are things I completely misunderstand, and I probably show my complete ignorance in some other areas. But at least I’m trying, so please bear with me.
Mats W.
P.S. Regarding the comment on the (sometimes scant) documentation, I completely understand it’s bound to be trailing behind in a heavy development stage as this, and I assume it will be put right in due time to eventually form a top notch documentation system.
D.S.