[英]How do I edit the layout of the Person.aspx in a SharePoint 2010 MySite collection?
When logged into SharePoint and clicking the "My Profile" link from your name in the ribbon a page is shown (Person.aspx) and it shows data from the User Profile store. 登录到SharePoint并单击功能区中您的名字中的“我的配置文件”链接后,将显示一个页面(Person.aspx),其中显示了用户配置文件存储中的数据。 This is great, except, we have custom fields etc that we need to show just under the persons name in Person.aspx.
很好,除了我们需要在Person.aspx中的人员名下显示自定义字段等。 I tried opening that page in SP Designer but that content looks to come from the masterpage (mysite.master) and then possibly from somewhere else as all of it has a yellow background color behind the text I need to edit.
我尝试在SP Designer中打开该页面,但是该内容看起来是来自母版页(mysite.master),然后可能来自其他地方,因为所有页面的背景颜色均为黄色,需要编辑。
Has anyone customized this page and if so what approach did you take? 有人定制过该页面吗?如果是,您采取了什么方法?
As you said, you have to use SharePoint Designer. 如您所说,您必须使用SharePoint Designer。
To edit in the Design mode just click the right-handed arrow around the ContentPlaceHolder and choose "Create Custom Content" and it should now be editable. 要在“设计”模式下进行编辑,只需单击ContentPlaceHolder周围的右手箭头,然后选择“创建自定义内容”,它现在应该是可编辑的。
To edit in the Code Mode (even if the content is in yellow), you need to hit the Edit in Advanced Mode in the Ribbon to get full access to the source. 要在“代码模式”下进行编辑(即使内容为黄色),也需要在功能区中单击“ 在高级模式下进行编辑”才能完全访问源。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.