<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body style="font-family: Arial; font-size: 13px;" bgcolor="#FFFFFF"
text="#000000">
<div style="font-family:Arial;font-size:13px;"><font face="Arial">Thank
you for this! I'm looking forward to trying it out.<br>
<br>
Regards<br>
<br>
Peter Payzant<br>
<br>
</font><br>
On 2012/01/03 11:38 AM, ABClf wrote:
<blockquote style="font-family: serif;"
cite="mid:CACE3LEv2BYQxpuB-PEmP0RZ+vjL2q96_ma6cGhi_406B6AfnGw@mail.gmail.com"
type="cite">
<pre wrap="">Looks like it's working for categories who are not included, if
category links to Category group :
in config :
$FmtPV['$CatLinksCount'] = 'CatLinksCount($page["targets"])';
function CatLinksCount($targets) {
$cnt = substr_count($targets, "Category.");
return $cnt;
}
in page :
[[#countcat]]
* [[{=$FullName}]] {=$CatLinksCount}
[[#countcat]]
(:pagelist fmt=#countcat $CatLinksCount=0:)
Gilles.
2012/1/3 ABClf <a class="moz-txt-link-rfc2396E" href="mailto:languefrancaise@gmail.com"><languefrancaise@gmail.com></a>:
</pre>
<blockquote type="cite">
<pre wrap="">You may try to adapt $ProfileLinksCount for counting categories.
Then do the work for showing the pagelist where $CatLinksCount = 0.
<a class="moz-txt-link-freetext" href="http://www.pmwiki.org/wiki/Cookbook/MoreCustomPageVariables">http://www.pmwiki.org/wiki/Cookbook/MoreCustomPageVariables</a>
Gilles.
2012/1/3 Peter Bowers <a class="moz-txt-link-rfc2396E" href="mailto:pbowers@pobox.com"><pbowers@pobox.com></a>:
</pre>
<blockquote type="cite">
<pre wrap="">On Mon, Jan 2, 2012 at 5:49 PM, Peter Payzant <a class="moz-txt-link-rfc2396E" href="mailto:pce@accesswave.ca"><pce@accesswave.ca></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Is it possible to use "pagelist" to get a list of all pages with no category
assigned? I'd like to have a page listing pages by category, including a
list of uncategorized pages.
</pre>
</blockquote>
<pre wrap="">Depending on your site and your authors it may be appropriate for you
to include [[!Uncategorized]] in your default text for a page. Then
if authors put a category in they could remove the Uncategorized
link...?
YMMV.
-Peter
_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
</pre>
</blockquote>
<pre wrap="">
--
---------------------------------------
| A | de la langue française
| B | <a class="moz-txt-link-freetext" href="http://www.languefrancaise.net/">http://www.languefrancaise.net/</a>
| C | <a class="moz-txt-link-abbreviated" href="mailto:languefrancaise@gmail.com">languefrancaise@gmail.com</a>
---------------------------------------
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
</div>
</body>
</html>