From: Reini U. <ru...@x-...> - 2004-02-22 23:30:26
|
Whit Blauvelt schrieb: > On Sun, Feb 22, 2004 at 08:18:10PM +0100, Reini Urban wrote: >>I don't understand it fully. You want to get the links from subpages and >>optionally display them? sounds easy. > Thanks for the pointers. Basically the goal is: > - to optionally automatically add to each subsection of a page a special > sort of link that goes to a wiki page intended for comments on that > subsection - or at least to allow manual inserting of a new subclass of > link that can support the next function: A subsection is everything from a header to the next header or the end. > - to have the option of displaying the main page so that it includes these > comment pages, perhaps with each section of the main page then being a > simple two-cell table where the comments are to the right of the section > being commented I see. Someting like UnfoldBacklinks. The new IncludeSiteMap does this. Use reclimit=1 for only Backlinks on this page: <?plugin IncludeSiteMap reclimit=1 pagename='ThisComment' includepages='' ?> > The second goal may be close to what UnfoldSubpages.php does. But I'm > puzzled at the moment because when I test <?plugin UnfoldSubpages ?> in > 1.3.7 it's not giving me anything. Maybe I don't understand what qualifies > as a "subpage". Is it any normal linked page? No, a subpage is a page with the SUBPAGE_SEPERATOR (default: "/") in the pagename. You want a linked page: see plugin/BackLinks > If I could get that working, > then have it only onfold those subpages whose links are of the special type > allocated for marginal comments, that would be most of this little project. > > Anyway, the desire is to get something like marginal notes from readers in a > situation where there's a primary author (or authors) who have perms to the > main page, in which a draft document is presented. I've seen other wikis > which allow comments on the end of a page, but comments alongside the > sections of primary text could be more useful for this. > > I'd also want to link this into the new perms stuff, so that the primary > authors could specify the group of readers with "comment" permission > (equivalent to having write permission to a subdir belonging to the page). > > Thanks again. Pretty sure I'll do some version of this, as soon as I can get > the basic PhpWiki concepts down. Have to admit a retrograde preference for > procedural rather than OO style, but I've overcome it before.... PhpWiki is special kind of OO beast :) -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |