I'm also testing out the same Comments page system Sameer is using, and also as a page action. Seems to work well, but one big problem is that a user who has not already entered the password for editing (for which they get a prompt if editing an existing page) are confronted with ...<br>
<br>The page "Comments/Group-Page" doesn't exist. <br><br>... which effectively blocks any user not familiar with how PmWiki works from making comments. Is there any way to change that so that the user gets a prompt for the password on Comments pages?<br>
<br>TIA.<br><br>Don<br><br><br><div class="gmail_quote">On Jan 31, 2008 6:05 PM, Sameer Kumar <<a href="mailto:skumar@eharch.com">skumar@eharch.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div><div><div></div><div class="Wj3C7c">
<p> </p>
<p style="margin-left: 1in;">On Jan 30, 2008 4:58 PM, Hans
<<a href="mailto:design5@softflow.co.uk" target="_blank">design5@softflow.co.uk</a>> wrote:</p>
<p style="margin-left: 1in;">> For talk-page linking see</p>
<p style="margin-left: 1in;">>
<a href="http://www.pmwiki.org/wiki/Cookbook/SimpleDiscussLink" target="_blank">http://www.pmwiki.org/wiki/Cookbook/SimpleDiscussLink</a></p>
<p style="margin-left: 1in;"> </p>
<p style="margin-left: 1in;">That's the one I am trying
out-- any hints on how to integrate it into</p>
<p style="margin-left: 1in;">the skin rather than as a page
content item would be appreciated...</p>
<p style="margin-left: 1in;">I'm not clear on how and where
wikimarkup integrates with the skins...</p>
<p style="margin-left: 0.5in;"> </p>
<p style="margin-left: 0.5in;"> </p>
<p style="margin-left: 0.5in;"><span style="color: windowtext;">I
am using a different method for Discussion pages:</span></p>
<p style="margin-left: 0.5in;"><span style="color: windowtext;"> </span></p>
<p style="margin-left: 0.5in;"><span style="color: windowtext;">I
have the following in my Site.PageActions:</span></p>
<p style="margin-left: 0.5in;"><span style="color: windowtext;"> </span></p>
<p style="margin-left: 1in;"><span style="color: windowtext;">*
%item rel=nofollow class=discuss
'%[[Discussion.{*$Group}-{*$Name}?action=view | $[Discussion] ]]</span></p>
<p style="margin-left: 0.5in;"><span style="color: black;"> </span></p>
<p style="margin-left: 0.5in;"><span style="color: black;">For
any given page Group.Pagename, the page action takes me to
Discussion.Group-Pagename. As you can see, all these pages belong to the group
"Discussion".</span></p>
<p style="margin-left: 0.5in;"><span style="color: black;">I have
a "Commentbox" from the <a href="http://www.pmwiki.org/wiki/Cookbook/CommentBoxPlus" target="_blank">Commentboxplus</a>
recipe in the Discussion.GroupFooter. This makes sure that the user never needs
to go the 'Edit' action for the discussion page. (of course, one
can use any other commentbox recipe, including Fox).</span></p>
<p style="margin-left: 0.5in;"><span style="color: black;"> </span></p>
<p style="margin-left: 0.5in;"><span style="color: black;">I also
have a Discussion.PageActions page with the following links:</span></p>
<p style="margin-left: 0.5in;"><span style="color: black;"> </span></p>
<p style="margin-left: 1in;"><span style="color: black;">*
%item rel=nofollow class=back accesskey=$[ak_back]%[[@3@{*$Name}@3@}?action=browse
| $[View] ]]</span></p>
<p style="margin-left: 1in;"><span style="color: black;">*
%item rel=nofollow class=edit
accesskey=$[ak_edit]%[[@3@{*$Name}@3@}?action=edit | $[Edit] ]]</span></p>
<p style="margin-left: 1in;"><span style="color: black;">*
%item rel=nofollow class=discuss
accesskey=$[ak_discuss]%[[{*$FullName}?action=browse | $[Discussion] ]]</span></p>
<p style="margin-left: 1in;"><span style="color: black;">*
%item class=diff accesskey=$[ak_history]%[[@3@{*$Name}@3@}?action=diff |
$[History] ]]</span></p>
<p style="margin-left: 1in;"><span style="color: black;">*
%item class=upload accesskey=$[ak_attach]%[[@3@{*$Name}@3@}?action=upload |
$[Attach] ]] </span></p>
<p style="margin-left: 1in;"><span style="color: black;">*
%item class=print accesskey=$[ak_print]%[[{*$FullName}?action=print | $[Print]
]]</span></p>
<p style="margin-left: 0.5in;"><span style="color: black;"> </span></p>
<p style="margin-left: 0.5in;"><span style="color: black;">As you
can see, the View, Edit etc. actions have the special markup which strips the
"Discussion" from the page name. </span></p>
<p style="margin-left: 0.5in;"><span style="color: black;">In my
config.php, I have the following custom markup (credit for this goes to John
Rankin; Thank you!):</span></p>
<p style="margin-left: 0.5in;"><span style="color: black;"> </span></p>
<p style="margin-left: 1in;"><span style="color: black;"># to
enable backliks in the discussion tabs</span></p>
<p style="margin-left: 1in;"><span style="color: black;">Markup("@3@",
"inline", "/@3@(.*?)@3@/e",
'str_replace("-",".","$1")');</span></p>
<p style="margin-left: 0.5in;"><span style="color: black;"> </span></p>
<p style="margin-left: 0.5in;"><span style="color: black;">This
ensures that all the page actions behave as if they still belong to the
original page. This works quite well for me. I did not have to bother with any
modifications to skins etc.</span></p>
<p style="margin-left: 0.5in;"><span style="color: rgb(33, 88, 104);"> </span></p>
<p><span style="color: rgb(33, 88, 104);"> </span></p></div></div>
<p><b><span style="font-size: 10pt; color: rgb(33, 88, 104);">I have just realized that the method I describe is already
documented here towards the bottom:</span></b></p>
<p><b><span style="font-size: 10pt; color: rgb(33, 88, 104);"><a href="http://www.pmwiki.org/wiki/Cookbook/CommentPageLink#discussion" target="_blank">http://www.pmwiki.org/wiki/Cookbook/CommentPageLink#discussion</a>
</span></b></p>
<p><span style="color: rgb(33, 88, 104);"> </span></p>
</div>
</div>
<br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
<br></blockquote></div><br>