[Pmwiki-users] x-comment customization question
Jason Moseley
jason.moseley
Thu Sep 9 14:34:41 CDT 2004
I couldn't get your solution working 'smarter'.... Patrick, where
would I insert the {{~Author}} variable?
On Thu, 9 Sep 2004 14:29:04 -0600, Patrick R. Michaud
<pmichaud at pobox.com> wrote:
> 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
>
>
>
> --
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
>
--
__________________________________
Jason Moseley
More information about the pmwiki-users
mailing list