将母版页从 SharePoint 2007 迁移到 2010
我看过很多关于人们从 2007 年迁移母版页到 2010 年的帖子,但我更感兴趣的是了解更多有关开发级别面临的问题。我计划将用于发布网站的母版页迁移到 SharePoint 2010。
任何帮助将不胜感激。
I have seen many posts about people migrating Master Pages from 2007 to 2010 but I'm more interested in knowing more about problems faced at development level. I am planning to migration Master pages for publishing sites to SharePoint 2010.
Any help will be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您最好的选择可能是编辑 2010 母版页,使其看起来像自定义母版页,而不是尝试修改现有的自定义代码 - 自定义往往比 SharePoint 页面结构更简单,并且可以轻松粘贴到新的母版页中。
这有多困难取决于您的设计与默认 SharePoint 页面结构的匹配程度 - 让功能区在固定宽度布局中工作需要做的工作比应有的要多得多。
Your best option is probably to edit the 2010 master page to look like your custom master page rather than trying to modify the existing custom code - customisations tend to be simpler than the SharePoint page structure and easily pasted into the new master page.
How hard it will be depends on how closely your design matches the default SharePoint page structure - getting the ribbon to work within a fixed width layout takes far more work than it should.
有关于此主题的 MSDN 文章:
将现有母版页升级到 SharePoint Foundation 母版页
http://msdn.microsoft.com/en-us/库/ee539981(office.14).aspx
There is MSDN article on this topic:
Upgrading an Existing Master Page to the SharePoint Foundation Master Page
http://msdn.microsoft.com/en-us/library/ee539981(office.14).aspx
如果要更新的母版页是使用 Microsoft 支持的自定义项设计的,那么升级母版页应该没有问题。
If the master page that is to be updated was designed using the Microsoft supported customizations, then there should be no problem in upgrading the master page.