我们可以在发布网站的母版页中添加一个webpart吗? [英] Can we add a webpart inside a Master Page of Publishing site ?
问题描述
1)
- 我创建了一个发布网站,并在其中创建了一个母版页。
- 现在我是计划在母版页中添加所有菜单(选项卡),为此我想创建一个包含所有菜单(仪表板,联系人,职业,等等)的webpart,然后我将把wepart放在母版页中。这是遵循
的正确方法吗? Plz指导我。
2)
- 我们可以在发布网站的母版页中添加一个webpart吗?
谢谢,
Balaram
嗨Balaram,
是的,我们可以将Web部件添加到母版页中。以下文章供您参考。
http://ukreddysharepoint2010.blogspot.com/2014/05/how-to-add-web-part-to-master-page-in.html
http://ramisharepointblog.blogspot.com/ 2013/01 / how-to-add-custom-webpart-within.html
我建议您在母版页中创建自定义委托控件以满足您的要求。
https: //www.c-sharpcorner.com/Uploa dFile / 82b15a / creating-delegate-controls-in-sharepoint /
最好的问候,
1)
- I have created one publishing site and also created one master page in that.
- Now I m planning to add all the Menus (Tabs) in the master page, for this i m thinking to create one webpart containing all Menus (Dashboard, Contact, Career,..etc) and then i will put the wepart inside the master page. is this a correct way to follow ? Plz guide me.
2)
- Can we add a webpart inside a Master Page of Publishing site ?
Thanks,
Balaram
Hi Balaram,
Yes, we can add a web part into master page. The following article for your reference.
http://ukreddysharepoint2010.blogspot.com/2014/05/how-to-add-web-part-to-master-page-in.html
http://ramisharepointblog.blogspot.com/2013/01/how-to-add-custom-webpart-within.html
I suggest you create a custom delegate control in master page to achieve your requirement.
https://www.c-sharpcorner.com/UploadFile/82b15a/creating-delegate-controls-in-sharepoint/
Best Regards,
这篇关于我们可以在发布网站的母版页中添加一个webpart吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!