solved Need To Put Comments on Profile Pages

alt=
Ekwe
@ekwe
10 years ago
212 posts
Would like to put comments on the artist and member pages. How do we go about that?
updated by @ekwe: 10/03/14 07:03:12AM
paul
@paul
10 years ago
4,332 posts
Just include the following in the profile_index.tpl (or wherever) -

    <h2>{$profile_name} comments</h2>
    {jrComment_form module="jrProfile" profile_id=$_profile_id item_id=$_item_id}

hth
Pa


--
Paul Asher - JR Developer and System Import Specialist
alt=
Ekwe
@ekwe
10 years ago
212 posts
Ah ok. Thanks let me try it now. shouldn't item_id=$_item_id be item_id=$_profile_id ?
paul
@paul
10 years ago
4,332 posts
I think in this case _item_id = _profile_id.
Try it and see. I just lifted this code from one of my skins where I'm doing exactly the same thing as you want, and it works for me :-)


--
Paul Asher - JR Developer and System Import Specialist
alt=
Ekwe
@ekwe
10 years ago
212 posts
paul:
Just include the following in the profile_index.tpl (or wherever) -

    <h2>{$profile_name} comments</h2>
    {jrComment_form module="jrProfile" profile_id=$_profile_id item_id=$_item_id}

hth
Pa

Worked like a charm :) Thank you

Tags