如何编辑 SharePoint 2010 MySite 集合中 Person.aspx 的布局?
登录到 SharePoint 并单击功能区中您的姓名中的“我的个人资料”链接时,会显示一个页面 (Person.aspx),其中显示来自用户个人资料存储的数据。这很棒,除了我们需要在 Person.aspx 中的人名下方显示自定义字段等。我尝试在 SP Designer 中打开该页面,但该内容看起来来自母版页 (mysite.master),然后可能来自其他地方,因为所有内容在我需要编辑的文本后面都有黄色背景颜色。
有人定制过此页面吗?如果是的话,您采取了什么方法?
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. This is great, except, we have custom fields etc that we need to show just under the persons name in 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.
Has anyone customized this page and if so what approach did you take?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如您所说,您必须使用 SharePoint Designer。
要在设计模式下进行编辑,只需单击 ContentPlaceHolder 周围的右手箭头并选择“创建自定义内容”,它现在应该是可编辑的。
要在代码模式下进行编辑(即使内容为黄色),您需要点击功能区中的在高级模式下编辑才能完全访问源代码。
As you said, you have to use 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.
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.