Open topic with navigation
Using the SocialBar Server Control
The SocialBar server controla server control uses API language to interact with the CMS and Framework UI to display the output. A server control can be dragged and dropped onto a Web form and then modified. lets users of a community website bookmark colleagues, community groups, and content. The following table explains the details.
Add or remove content and URLs from a user’s Favorites. See also: Favorites
The Social Bar control also is used to bookmark Web pages with Social Bookmarking services, such as Digg.comor del.icio.us. By default, Digg.com and del.icio.us are loaded in the
Items property of the server control.
In addition, the Social Bar control can print or email a Web page, and invite non-site users to become members of the site. Clicking Invite links to a Web page that hosts the Invite server control. See also: Invite.
For information about SocialBar properties, see SocialBar.
You can let users add a Web page’s URL to their Favorites when they click Add to Favorites on the Social Bar. Typically, you would do this if more than one content item appears on a Web page, but you want only one Social Bar control on the page.
DefaultObjectIDproperty to 0 (zero).
Itemsproperty to the Addto item property.
ObjectTypeproperty to Content.
The following image shows a Web page with several content items. A Social Bar control is associated with each one. In this example, when a you click Add to Favorites, you add the associated content item to your Favorites.
In the second image, one Social Bar appears on the Web page with several content items. In this example, if you click Add to Favorites on the Social Bar, you add the Web page’s URL to your Favorites.
See also: Adding a URL to Your Favorites
You can send private messages to another user or the community group administrator from the Social Bar control.
ObjectTypeproperty to User or Group.
PrivateMessageUserto let a user send a message to the user whose profile is being viewed.
PrivateMessageAdminto let a user send a message to the group administrator.
MessagingUrlproperty, identify a page that contains the Messaging server control. See also: Messaging.
DynamicObjectParameteris set, if necessary.
You can let site visitors use Twitter to tweet their current browsing location by adding the Twitter item to the list of parameters in the SocialBar’s
Items property. After the item is added, a Twitter icon and link appear in the Social Bar. When you click the link, Twitter is launched. After you log into your Twitter account, your current browsing location appears in the “What are you doing?” status box. You then can click Twitter’s Update button to post the status.
DefaultObjectIDproperty is set to 0 (zero).
ObjectTypeproperty to Content, User or Group, depending on the type of page you are editing.
Open topic with navigation