Comments
Config setup
To create a comment form (after having already installed and set up PmForm) add the following to your config file:$PmForm['comments'] = 'saveto={$FullName} form=#commentform fmt=#talkpost';
Templates
If you do not already have a Site/PmFormTemplates page you can copy the text from the page on this site here and paste it into a new Site/PmFormTemplates or a Site/LocalTemplates on your site.
- Note, expect the PmFormTemplates page to get overwritten in future updates. If you want to modify the templates and keep your changes after an update, use your Site/LocalTemplates page.
- The templates that you will need for the comments form are called:
- #commentform and
- #talkpost
Comment directives
Add the following directive to the page where you want your comment posts to appear:
(:pmform
comments:)
Placement
See FmtDirectives for (:template default where=...:)
if you need to save the text to a page different from the one where the (:pmform ...:)
markup is placed.
The following only works when the (:pmform ...:)
markup is in the same page where the submitted form is saved.
To control the placement of comments, use the "where" argument, for example:
- put new comments at top of a page (newer comments appear before older ones)
(:pmform
comments where=top:)
- put new comments immediately below the
(:pmform:)
directive (newer comments appear before older ones)
(:pmform
comments where=below:)
- put new comments at the above the
(:pmform:)
directive (newer comments appear after older ones)
(:pmform
comments where=above:)
- put new comments at the bottom of the page (newer comments appear after older ones)
(:pmform
comments where=bottom:)
GDPR Comment Forms
See GDPR Comments for an example.
That's very interesting.
I agree with Pm.
i'll try it! eheh!
Really? Cool!
Kul grejs
but how does it work? Is "comments" a special, pre-defined format, or is it defined on the template page?
Now, this was not easy.
Easy?
This is a test and can be deleted!
Is it ok??
Funziona? <b>E l'html?</b>
jhhkh
jhhgjjgh
Does this work?
asdfasdf
doors.txt;10;15
look at my pmwiki choral-site
http://www.wprj.net/tunes
Terminology FRBR offers us a fresh perspective on the structure and relationships of bibliographic and authority records, and also a more precise vocabulary to help future cataloging rule makers and system designers in meeting user needs. ,
really cool?
Test - do links work? Comments
Test test
Testing
fsfsafs
It Works!
Just testing...
The problem is that posting this form deletes my Page Variables, existed on the page before.
asdf
cvbmcbmcvbmcvbm
kk
teste do formulario
It's like you're on a msisoin to save me time and money!
It's like you're on a msisoin to save me time and money!
just a test
Another test to see if the ChangeSummary gets updated.
Another test to see if the ChangeSummary gets updated.
Testing 1, 2, 3...
- -)))) ;>_>
- 3
Testing
Linebreak
Special characters ありうえお鰂魚涌杏花邨
Testing 1, 2, 3...
test post
new test
a
a
Trying this out. How does it work???!
Check this out: [(approve links) edit diff] -- should be rejected.
test a comment after migration
Let me have a look, seems to work ... Want time displayed not AM PM way.
Looking where to change/set it so.
Always play on 10!
Howdy!
Nya
Heyo!
I already have typical comments working on several PmWiki websites, and have for years. I have normal fields one expects in blog comments: Name, email (required), website (optional). I approve comments as they come in. They are saved to a controlled group like BlogComments with a pagename of PageName-Timestamp.
As an admin, I could opt to get email notification of comments (I think I set that up by default), so that I can approve them when they come in. When logged in the sidebar has a link telling me how many comments need approval.
I don't think I used anything other than PmForm to create this. I suppose I could do it without comment approvals and just allow comments to post -- but no matter what blogging system I'm using for myself or clients, it's really foolish to do so there's much too much link spam.
Oh -- and while I'm there (talking about link spam) -- there's also a lot of comment spam in general.
Generic comments like "Your blog is so helpful thank you for creating it." where the link spam is in the "website" field. However, I think there's a value to the "website" field -- this is a valid way to contribute to other people's blogs in a related industry with genuine value and get an honest backlink to your own content/website/blog. I wouldn't take that away from people when the comment is genuine. This is the other reason I approve comments.
test
Nice post. I was checking constantly this weblog and I'm inspired! Extremely helpful info particularly the ultimate part : ) I care for such information much. I used to be seeking this particular information for a long time. Thanks and best of luck. | а
Test of Posting
Good recipe, but there is a problem when placing
( :pmform comments where=above: )
in GroupFooter?: new comments are being put at the top of the page whatever 'where' is selected. But I want to put them in the bottom of the page. Is it possible?
test