[pmwiki-users] Comments-UseCases page

Crisses crisses at kinhost.org
Mon May 26 18:31:09 CDT 2014

Testing out an RSVP form in PmForm, and I came across documentation for an unimplemented feature that would make the whole thing work:

the note:

Note: the below#anchor and above#anchor forms have not have been implemented yet in pmform.php -- as of 2.2.0-beta68.

However the Site/PmFormTemplates uses this feature in the comment form included with the package. (see http://www.pmwiki.org/pmform/Site/PmFormTemplates)  Was this implemented?

I'm trying this:

(:input pmform target=going :)
(:input default request=1:)
(:input default author "{$Author}" :)
Please RSVP for the event:
Name: (:input text author:)\\
(:input radio anchor yes:) Yes
(:input radio anchor no:) No
(:input radio anchor maybe:) Maybe
(:input submit post "Submit":)
(:input end:)

(:template defaults where=below#{$$anchor} :)
(:template require author errmsg="$[Missing name]":)

And it gives an error for the "where" feature with the #anchor.  But for the RSVP list the #anchor is needed or I'll have to figure out something else.


On May 25, 2014, at 2:37 AM, Petko Yotov wrote:

> Chris Knadle writes:
>> I was on the hunt for some way of using PmWiki for doing RSVPs and found this
>> page via a search and which is listed under cookbook in the "Forms" section:
>>    http://www.pmwiki.org/wiki/Cookbook/Comments-UseCases
>> ... the problem is that after spending a couple of days trying to implement
>> "Case 3" concerning RSVPs, we've come to the conclusion that this page isn't a
>> recipe at all, but rather it's a "this is how we users would like comments to
>> work", but the page doesn't seem to state that.  :-(  This also would explain
>> why there's no particular plugin mentioned (there is at least CommentBox and
>> CommentBoxPlus cookbook plugins that would seem to fit the description,
>> leading to further confusion) and trying to figure out who authored the page
>> doesn't seem easy either because it appears the History was deleted at some
>> point.
> Yes, the pmwiki.org installation drops the history after 180 days (after the latest 20 page revisions). This was set by Pm a long time ago. Dropping the history, and even unverifying the user's identity reflects PmWiki's pragmatism: the quality of the latest content is more important than the process of building it. (As opposed to MediaWiki/Wikipedia where every single edit is important and saved - another philosophical view.)
>> So: is this page NOT a recipe?
> Yes, it is not a recipe (or No, it is not a recipe? :-).
>> If that's the case, can someone please edit
>> the page and add some text at the top of the page explaining what the page is
>> intended for?
> I have added a block to the page. If someone knows anything else, please edit the page.
> About RSVPs, a few years ago someone wrote to me that they use the Flipbox recipe for RSVPs like Doodle. At that time I implemented the multiple-state flipboxes.
>  http://www.pmwiki.org/wiki/Cookbook/Flipbox
> Alternatively or in complement, you can create a form like the one in Case 3 and process it/save it/mail it with PmForm.
>  http://www.pmwiki.org/wiki/Cookbook/PmForm
> I haven't used or reviewed the other form-procesing recipes in the cookbook.
> Petko
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20140526/d95d69f8/attachment.html>

More information about the pmwiki-users mailing list