Forum Discussion

luk's avatar
luk
Boss
10 years ago

Difference between components users.widget.my-friends-by-request and users.widget.my-friends?

By fiddeling around with @override I discovered, that there seem to be two studio components for displaying the list of friends/followers (one "normal" one and one non-contract):

 

<#-- non-contract -->
<component id="users.widget.my-friends"/>

<#-- normal -->
<component id="users.widget.my-friends-by-request"/>

From placing the non-contract component on the profile page (where the normal component is found by default) it doesn't seem to output anything different, the only difference seems to be, that the non-contract component can be used anywhere while the normal component doesn't show anything for example on a CommunityPage, can somebody confirm that?

 

In the end the question is: Can I safely use @override on both components to change them both to one custom component made be me?

No RepliesBe the first to reply