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.
Hi Reini,
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:
- 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
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? 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....
Whit
|