The following works (I've changed the title for universality) if you want to
show only the latest pages created.
When the page is created if you put the text "created" in the summary, you will
get a list of the 10 most recent pages created on the wiki.
This can actually be repurposed for other items, like maintenance. If you need
to add a piece of code to a number of pages, you can place a comment in the
summary that can be used as an affirmation (show me a list of all the pages
changed) or as a negative (show me the list of pages I haven't changed yet).
Thank you for your help!!!
___________________
!!! fmt=#newpages
(:markup:)
>>comment<<
[[#newpages]]
(:template defaults order=-time:)
(:template first:)
||width=*
||!Page ||! Time||!Change ||
(:template each:)
||''[[{=$FullName} | {=$Titlespaced}]]'' || [[{=$FullName}?action=diff |
{=$LastModified}]]||
[[#newstoriesend]]
>>font-size:smaller<<
(:pagelist fmt=#newpages count=10 $LastModifiedSummary=created :)
(:markupend:)
-----Original Message-----
>From: Peter Bowers <[email protected]>
>Sent: Apr 22, 2009 2:31 PM
>To: "Susan M. Garrett" <[email protected]>
>Cc: [email protected]
>Subject: Re: [pmwiki-users] Recent Pages show list of ONLY latest created
>pages
>
>On Wed, Apr 22, 2009 at 7:38 PM, Susan M. Garrett
><[email protected]> wrote:
>> I have placed the word "newstory" in the change summary box for the pages I
>> want to appear on this list.
>>
>> How do I adjust the pagelist code so that summary=newstory?
>
>Huh. Sometimes it pays to try even if the docs say otherwise. There
>is an (as-of-now) undocumented feature which allows PVs as well as
>PTVs to be used as selection in pagelists.
>
>(:pagelist group=Test $LastModifiedSummary=abc:)
>
>On another note ... I note in your template default you are
>referencing order=time rather than order=ctime. Just want to confirm
>this is what you are wanting to do...
>
>-Peter
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users