[Pmwiki-users] x-comment customization question

Patrick R. Michaud pmichaud
Thu Sep 9 14:29:07 CDT 2004


On Thu, Sep 09, 2004 at 02:23:37PM -0600, Doyce wrote:
> Now, I will preface this by saying that I am *NO* kind of php coder at
> all, but what I did to accomplish this was edit the 49th (I think)
> line of the x-comment.php to read:
> 
>   $xCommentVars['comment_template'] =
> "\$Comment[[<<]]\n'''-Profiles/\$Author''' [-(\$Date,
> \$Time)-]\n----\n[[x-comment:]]";
> 
> The only annoying thing is that it doesn't create the link if the
> commenting person doesn't enter their name as a WikiWord.  Someone far
> smarter than me can probably tell you (and me) how to properly wrap
> $Author in some {{ }}'s so that's less of a problem.

Ummm, wouldn't just  {{~$Author}} work?  That way it automatically
goes to the correct profiles directory even if it's been customized...

Pm



More information about the pmwiki-users mailing list