0

我正在尝试为我的问题找到解决方案。我有一组 HTML CSS 和图像,我想将其作为品牌推广的一部分应用于我的共享点门户。

我担心的是我想将我的设计作为 WSP 或任何其他类型的解决方案,以便它可以安装在任何 sharepoint 2010 门户中,以便用户可以在实际的 sharepoint 设计和此自定义设计之间切换回来。

简而言之,我有一个自定义 HTML 设计,我需要将其实施到任何共享点网站,管理员只需使用门户/站点屏幕即可打开或关闭此设计。

提前致谢

4

1 回答 1

0

SharePoint branding is always a tricky job. The safest way to achieve your goal is to create a separate masterpage with your new branding. So the user can choose to apply the default branding with the default masterpage and when he wants another branding your customized masterpage can be used.

Create a new SharePoint project and add the needed css inside a mapped layouts folder. Then you can reference your own css file in the new masterpage. Watch out with changing the masterpage, because it contains a lot of placeholders which will render different parts of the page. Try to work around these placeholders and make sure the masterpage works in different scenario's (ex. that the layout isn't broken when page is in edit mode, ...)

Once you are finished with the design, the user can use it by applying it in the settings. Another option to make it easier for the enduser, is to create a control that is a switch to apply your masterpage (ex. with custom action).

于 2012-11-30T23:31:51.990 回答