Sharepoint 及其模板/母版页

发布于 2024-08-28 22:16:23 字数 135 浏览 9 评论 0 原文

我正在尝试学习如何自定义共享点网站。我看过很多例子,它们似乎都有一个共同点,那就是导航都是一样的。即左侧导航具有不同的页面和文档。顶部导航主要包含子站点或其他站点的链接。

有谁知道我可以抓住具有左侧导航水平布局的好教程或示例?我还没有找到。

I'm trying to learn how to customize a sharepoint site. I've seen a lot of examples and they all seem to have one thing in common, the navigation are all the same. Ie the left nav with the different pages and docs. top nav with mostly links to sub-sites or other sites.

Does anyone know of a good tutorial or example i can grab that has a horizontal layout of the left nav? i haven't found any.

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

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

发布评论

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

评论(2

誰ツ都不明白 2024-09-04 22:16:23

您需要在母版页中的 aspmenu 控件上设置属性。除了数据源之外,它只是一个标准的 asp.net 菜单。

如果您需要完全控制,请查看 css 友好的控制适配器 - 这将允许您将 asp 菜单(由 sharepoint 用于顶部和左侧导航)呈现为无序列表并应用您需要的任何 css。如果您使用的是 SharePoint 2010,则可以使用 SimpleRendering 属性获得相同的效果。

You need to set properties on the aspmenu control in the master page. Aside from the data source it's just a standard asp.net menu.

If you need complete control, look into the css friendly control adapters - that will let you render an aspmenu (used by sharepoint for both top and left nav) as an unordered list and apply whatever css you need. If you are using SharePoint 2010 you can get the same effect with the SimpleRendering property.

流云如水 2024-09-04 22:16:23

首先请参阅此处自定义快速启动的显示
此处 将弹出菜单添加到 SharePoint 导航。对于水平布局,请在 SharePoint:AspMenu 中将 Orientation="Vertical" 更改为“水平”

请参阅以下内容自定义网站
http://www.idratherbewriting.com/2009/01 /28/定制-a-sharepoint-site/

First See here to customize the Display of Quick Launch
and here to Add fly-out menus to SharePoint navigation. For Horizonal layout, Change Orientation="Vertical" to "Horizontal" in SharePoint:AspMenu.

See following to customize the site
http://www.idratherbewriting.com/2009/01/28/customizing-a-sharepoint-site/

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