SharePoint 以编程方式将内容写入网站导航

发布于 2024-08-19 21:44:56 字数 106 浏览 1 评论 0原文

对于 sharepoint 中的某个子站点,我想在左侧的导航中添加一个新部分。例如“我的部分”。在“我的部分”下,我想要一些链接,但我想控制链接的 hml 输出。例如添加我自己的课程。我该怎么做呢?

For a certain sub site in sharepoint I want to add a new section to the navigation on the left handside. For example "My Section". Under "My Section" I wish to some links but I want to control the hml output of the links. For example add my own classes. How would I go aboutdoing this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

山川志 2024-08-26 21:44:56

There are actually two questions here:

  1. How to create menu items programmatically. The answer is here: http://itfootprint.wordpress.com/2007/08/07/adding-menu-items-navigation-to-sharepoint-site/
  2. How to display the items you have added in a different manner. To do this, you have to customize the ASP.Net code that accesses the QuickLaunch navigation. Hints could be found here:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文