Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > a few COMUUNITY site questions View modes: 
User avatar
Member
Member
eagleag - 12/29/2009 5:32:05 AM
   
a few COMUUNITY site questions


1. Community site- > in the messages part. when you try to choose a contact the popup has 3 tabs: Contact list Friends Search
I would like to hide the FRIENDS option. How can I do this?

2. Users viewer web part (or any search result wbpart)- I would the resulat to NOT show two users in the community. How can I do this?
How can I use the filter to do this?

thanks :)



User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 12/31/2009 3:38:34 AM
   
RE:a few COMUUNITY site questions
Hi,

1. You can modify the responsible dialog page code:
\CMSModules\Messaging\CMSPages\MessageUserSelector_Header.aspx.cs
and comment out the part which adds the friends tab and alter other tab adding code to reflect this change...

2. You can either set those users as "hidden" - enable "Is hidden" property for user in Administration / Users on General tab. In this case you need to disable "Select hidden" in the Users viewer webpart properties, in Filter settings group.
In the same group, you can also use WHERE condition and match specific user IDs or any identification flags saying that those users shouldn't be displayed.

Hope this helps.

Regards,
Zdenek C.