Display Contact Card Information
-
22. srpna 2012 10:16
hi All,
I'm developing a teamsite for a very large company, anyway they have requested that they have a contact us section that enables them to chat or email. Sharepoint 2010 has this integrated as if you see by the image, you can hover over the coloured square and can see a contact card.
This is what I want but only for two people, is there a way that I can just type a name or insert a web part to enable this? Otherwise it requires the user to modify something or appear in the site users.
I want to ideally have the name of the person and if you hover over the above contact card appear?
Thanks in advance.
Všechny reakce
-
22. srpna 2012 10:26
Hi,
Dont know if i got the question right, but if you are asking whether it is possible to show presence information for some users and hide for some, i think it is not possible OOB. You can write javascript to hide the image for all except the two users.
-Kranthi
-
22. srpna 2012 10:48
I do apologise for wording of the question.
Ignoring the site users section. That's just an example.
I want to have a Contact Us with the ability to hover over a name and have that card come up.Thanks,
-
22. srpna 2012 12:44
If you want to show the presence in a custom web part, see the below article.
Let me know if it helps.
-Kranthi
-
22. srpna 2012 13:31I'm not too sure what to do with the html?
-
22. srpna 2012 13:57
Ok.what does this contact us page have. Does it have a web part?
-Kranthi
- Upravený Kranthi Kumar Amaravadi 22. srpna 2012 13:58
-
22. srpna 2012 15:47It has nothing as of yet, I am unsure about how best to go about it?
-
22. srpna 2012 16:55
OK. Give the following a try and see how it works.
Add a content editor webpart on to the SharePoint Page.(http://virtualizesharepoint.com/2011/05/14/how-to-edit-source-in-content-editor-web-part-in-sharepoint-2010/)
Copy the following code in to the HTML Source of the Content Editor Webpart.
<span>USERNAME
<img border="0" height="12" width="12" src="/_layouts/images/blank.gif" onload="IMNRC('USEREMAIL')" id="imnUSERID" ShowOfflinePawn="1" />
</span>Replace USERNAME and USEREMAIL with Name of the person who's presence information you want to display.
-Kranthi
- Označen jako odpověď emma_challis 23. srpna 2012 9:01
-
23. srpna 2012 9:01
Thank you very much for your help :)
That's exactly what I wanted. If I replace the USERMAIL with the email address it does EXACTLY what I want it to do :).