<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">One thing being overlooked for nesting is a top-level link.<div><br></div><div>on Appetizers, link to [[!Category]]</div><div>on Breakfast, link to [[!Category]]</div><div><br></div><div>Now when you add Category.GroupHeader of:</div><div><br></div><div>Recipes:</div><div><div>(:pagelist link={$FullName} fmt=#titlespaced list=normal group=!Category:)</div></div><div>----</div><div>Subcategories:</div><div>(:pagelist link={$FullName} fmt=#category list=normal group=Category:)</div><div><br></div><div>& a Site/LocalTemplates including:</div><div><br></div><div><div>!!fmt=#category</div><div><br></div><div>Outputs nested categories.</div><div><br></div><div>[@</div><div>(:if false:)</div><div>[[#category]]</div><div>(:template defaults wrap=none:)</div><div>*[[{=$FullName}|{=$Titlespaced}]] (:pagelist link={=$FullName} fmt=#category list=normal order=title group=Category:)</div><div>[[#categoryend]]</div><div>(:ifend:)</div><div>
<p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Verdana" size="3" style="font: 12.0px Verdana">@]</font></p><div><br></div><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Verdana" size="3" style="font: 12.0px Verdana">You will see the top-level categories on the Category.Category page, and all nested categories under any other category page.</font></p><div><br></div><div>I recently had a problem doing a recursive listing of nested categories (see my recent pmwiki-users email about wrap issues).</div><div>Here's the page where you can see the issue: <a href="http://holistichv.org/Category/Category">http://holistichv.org/Category/Category</a></div><div><br></div><div>If you do the same thing WITHOUT the pagecount, you should be fine.  I removed the pagecount from the pagelist template for you.</div><div><br></div><div>Funnily, I did the right thing & submitted a PITS about it this morning (PITS:1336), but it's gone.  Perhaps it was rolled into another bug report, but I can't find it.  I'm starting to think that Recent Changes pages need to contain information on deleted pages.</div><div><br></div><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Verdana" size="3" style="font: 12.0px Verdana">Crisses</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px"><font class="Apple-style-span" face="Verdana"><br></font></p>

</div>
<br><div><div>On Jan 17, 2014, at 10:26 AM, Peter Bowers wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 17, 2014 at 4:44 AM, Chris Lott <span dir="ltr"><<a href="mailto:chris@chrislott.org" target="_blank">chris@chrislott.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":eym" style="overflow:hidden">What I want to add is have [[!Eggs]] as a nested category so,<br>
ultimately, the users can look at Eggs in Breakfasts or Eggs in<br>
Appetizers (and, ideally, all Eggs recipes). How do I go about setting<br>
this up?</div></blockquote></div><br>Unfortunately I believe that what you are wanting to do is not currently possible for *truly* nested categories.  If you use the nested category as Petko suggested there is no differentiation between the Eggs category for Breakfasts or the Eggs category for Appetizers - when you go to view the pages in Eggs you will see both of them.  Would it work to name them [[!Appetizers-Eggs]] and [[!Breakfast-Eggs]] or does it get to prone to typos then?</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Another alternative would be to make your Categories.Eggs page a "disambiguation" page with a link to Categories.Appetizers-Eggs and another link to Categories.Breakfast-Eggs and on Breakfast-Eggs your pagelist would include *both* the !Breakfast *and* the !Eggs categories.  It's not quite so seamless from a user perspective as they have an additional page in between that they have to click through, but I think you arrive at your desired funcationality in the end...  And, where appropriate, you could direct-link to the final page (i.e., on the Category.Appetizers page you could exclude the Eggs page explicitly from the pagelist and explicitly include the Appetizers-Eggs page.  </div>

<div class="gmail_extra"><br></div><div class="gmail_extra">-Peter</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Peter</div></div>
_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br></blockquote></div><br></div></body></html>