Customize My Profile Tabs for SharePoint 2010
来源:互联网 发布:淘宝网店开店费用 编辑:程序博客网 时间:2024/05/21 05:22
If you have a requirement to add, edit, or delete the tabs within the my profile pages its actually quite easy. The default tabs are:
- Overview
- URL: /my/person.aspx
- Organization
- URL: /my/OrganizationView.aspx
- Content
- URL: /my/personcontent.aspx
- Tags and Notes
- URL: /my/_layouts/thoughts.aspx
- Colleagues
- URL: /my/_layouts/MyContactLinks.aspx
- Memberships
- /my/_layouts/MyMemberships.aspx
You can manage these tabs by navigating to the My Site Host http://sitename/my/ or the the my profile pagehttp://sitename/my/Person.aspx.
Click on Site Actions > Site Settings > Look and Feel > Quick Launch
You will notice that all of the tabs are managed as quick launch links. This will allow you to easily add, edit, and delete tabs.
If you want to customize the look of the tabs to be vertical or place it somewhere else on the page you simply have to modify the person.aspx page within the My Site host Site collection.
Open up the site (http://sitename/my/) in SharePoint Designer 2010, and click on All Files.
Notice that 3 out of the 6 .aspx files are managed in SharePoint and the other three are stored on the server in the following location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS
Check out the person.aspx file and edit in advanced mode.
The tabs on the profile page are actually a SharePoint:AspMenu menu control. Which has a horizontal orientation and a unique“s4-sn” css class to give it its unique look and feel.
<SharePoint:AspMenu
ID="MySiteSubNavigationMenu"
Runat="server"
EnableViewState="false"
DataSourceID="MySiteSubNavDS"
AccessKey="<%$Resources:wss,navigation_accesskey%>"
UseSimpleRendering="true"
UseSeparateCss="false"
Orientation="Horizontal"
StaticDisplayLevels="1"
MaximumDynamicDisplayLevels="0"
PopOutImageUrl=""
SkipLinkText=""
CssClass="s4-sn">
</SharePoint:AspMenu>
<SPSWC:MySiteDataSource
ShowStartingNode="False"
SiteMapProvider="MySiteSubNavProvider"
id="MySiteSubNavDS"
runat="server"/>
This control is placed on all 6 of the aspx pages to give the effect that a user is simply changing the content on the page by clicking on a different tab and not actually going to a different page.
The key is to keep that consistency throughout your custom profile pages so that the user does not get confused when navigating the tabs.
- Customize My Profile Tabs for SharePoint 2010
- SharePoint 2010 Step By Step : Customize Master Page(1)
- SharePoint 2010 User Profile Service
- My .profile
- Customize your profile during login the linux
- webservice for sharepoint 2010
- Use Microsoft SharePoint Designer 2010 to customize the list view 1
- Use Microsoft SharePoint Designer 2010 to customize the list view 2
- Use Microsoft SharePoint Designer 2010 to customize the list view 3---Parameter and Filter
- Is there a way to customize Android default tabs
- Customize NSLog for Easier Debugging
- 取SharePoint用户Profile
- iPhone Tabs for Android!
- Configuring the User Profile Service in SharePoint 2010
- 申请博客的理由 Reasons For Applying Blog also My profile
- SharePoint 2010 IT Professional--如何创建My Site
- Customize Table View Cells for UITableView
- Turn off Mobile View for SharePoint 2010 and SharePoint 2013
- 500+精美高清photoshop笔刷bursher演示及下载
- eclipse 的1个workspace如何同时容纳2个编码不同的项目【Eclipse文件转码插件】
- 从创业失败中学到的七条教训
- Ext.grid常用属性和方法
- linux和STL 常用头文件及说明
- Customize My Profile Tabs for SharePoint 2010
- 希尔排序
- 伤感QQ空间日志:痛在你离别之后
- 20+精美浏览器框架/边框PSD文件下载
- Windows系统坏了-MBR/ntldr/grldr/分区表/
- 前缀++类重载函数的返值为类名是不妥的-与吕凤翥老师等商榷
- ffmpeg解码流程
- Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify that Installed JRE’s
- wp7.1 使用本地数据库