[pmwiki-users] Wikiforms and wikilinks

Peter & Melodye Bowers pbowers at pobox.com
Tue Dec 18 01:15:21 CST 2007


> For each page in the 'Projects' group, which is created using the
> wikiforms recipe, I have two parts:
...
> 
> I would like Pmwiki to integrate the text under Projecttext.00002 with
> Projects.00002 for the purposes of search. In other words, while
> displaying search results, I don't want to see Projecttext.00002 in the
> list of results. The problem is that it then creates a link to
> Projecttext.00002, which should not be visible to the users, except when
> 'included' in Projects.00002.

It seems like you might be able to do this with some conditionals which only
include ProjectText.00002 in the certain conditions (?) when you want them
to appear...

For instance, you could include a field which was the pagename that would be
included in your display.  

	(:if !equal <textpage> "":)(:include <textpage>:)(:ifend:)

Presumably you could also put a link in there for editing if you wanted...

Note that this would be in the viewform rather than in the footer as you've
done it now (at least in the way I'm envisioning it).

Theoretically another solution would be a new field type which would be of
type "include", but that's a much more significant job...

> Moreover, I would like the users to not have to link both these pages in
> their Watchlists to track changes on them. Is that possible?

I don't see any way to do this -- I'm not aware of any way that an included
page will have any effect on the "changed" nature of the parent page...

> You can see the site and the issues in action at http://hip.eharch.com
> login: testadmin passwd: testpass

Nice, sharp look!  Bravo!

-Peter




More information about the pmwiki-users mailing list