MOSS 2007 导航选项/设置

发布于 2024-08-12 00:10:13 字数 266 浏览 3 评论 0原文

我有一个子网站,我已将“全局导航”设置更改为“

"Display the navigation items below the current site"

这可以正常工作”。然后我需要“添加一个链接”,这是一个返回根网站的链接,基本上是“/Pages/Default.asp”,

我单击“确定”,没有错误,但该链接没有显示,当我返回时导航设置中链接不再存在。

这在根网络导航中工作得很好

有什么想法吗?

I have a subsite that I have changed the "global navigation" setting to

"Display the navigation items below the current site"

This works correctly. I then need to "add a link" this is a link back to the root web site basically "/Pages/Default.asp"

I click OK and there are no errors, but the link does not get displayed and when I go back the the navigation settings the link is no longer there.

This works just fine in the root web navigation

Any ideas?

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

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

发布评论

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

评论(4

惜醉颜 2024-08-19 00:10:13

此解决方案有效为我:

INSERT INTO 
NavNodes 

([SiteId] ,
[WebId] ,
[Eid] ,
[EidParent] ,
[NumChildren] ,
[RankChild] ,
[ElementType] ,
[Url] ,
[DocId] ,
[Name] ,
[DateLastModified] ,
[NodeMetainfo] , [NonNavPage] ,[NavSequence] ,[ChildOfSequence])

SELECT DISTINCT
SiteId, WebId ,1002 ,0 ,0 ,1 ,1 ,'' ,NULL ,'SharePoint Top Navbar' ,getdate() ,NULL ,0 ,1 ,0 
FROM NavNodes 
WHERE WebId NOT IN (
  SELECT WebId 
  FROM NavNodes
  WHERE Eid = 1002)

This solution worked for me:

INSERT INTO 
NavNodes 

([SiteId] ,
[WebId] ,
[Eid] ,
[EidParent] ,
[NumChildren] ,
[RankChild] ,
[ElementType] ,
[Url] ,
[DocId] ,
[Name] ,
[DateLastModified] ,
[NodeMetainfo] , [NonNavPage] ,[NavSequence] ,[ChildOfSequence])

SELECT DISTINCT
SiteId, WebId ,1002 ,0 ,0 ,1 ,1 ,'' ,NULL ,'SharePoint Top Navbar' ,getdate() ,NULL ,0 ,1 ,0 
FROM NavNodes 
WHERE WebId NOT IN (
  SELECT WebId 
  FROM NavNodes
  WHERE Eid = 1002)
梦忆晨望 2024-08-19 00:10:13

这很奇怪。我刚刚测试了你的场景,它对我有用。在选中在当前站点下方显示导航项目设置后,我在全局导航顶级文件夹下添加了“David Button”链接。该链接出现,当我返回导航设置时,它仍然存在。

也许您启用了缓存?

That's odd. I just tested your scenario and it worked for me. I added a 'David Button' link under the Global Navigation top-level folder after checking the Display the navigation items below the current site setting. The link appears and once I return to the Navigation Settings, it is still there.

Maybe you have cache enabled?

束缚m 2024-08-19 00:10:13

如果您打开了缓存,则可能需要刷新它(检查每个链接的安全设置是一项昂贵的操作)。

下面的链接告诉您如何:
- 配置对象缓存
- 刷新对象缓存或基于磁盘的缓存

http://office.microsoft .com/en-us/sharepointserver/HA101577831033.aspx

If you have caching turned on you may need to flush this (checking the security settings of each link is an expensive operation).

The link below tells you how to:
- Configure the object cache
- Flush the object cache or the disk-based cache

http://office.microsoft.com/en-us/sharepointserver/HA101577831033.aspx

戏剧牡丹亭 2024-08-19 00:10:13

经过进一步研究,我在我们的自定义最小发布站点定义 onet.xml 中发现了导致该问题的错误。 Element 有一个拼写错误,

<NavBars>
   <narbar Name="SharePointTop Navbar" ID="1002" />
<NavBars>

“narbar”应该是“navbar”。当我修复它时,创建的任何新子站点都没有这个问题。我现在可以对这些新子站点的导航项进行排序/编辑。

为了修复已创建的子站点,我必须更新内容数据库中的 NavNodes 表。我发现一个论坛帖子对我有帮助:

http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/fb22476c-9145-476b-a1c9-7fe85aa12272

我必须修改上面的t-sql语句论坛帖子为 NavNodes 表中的每个子站点添加“快速启动”行。下次用户尝试修改子站点的导航排序/编辑时,将保存更改。

After further research, I found a bug in our custom minimal publishing site definition onet.xml that was causing the issue. The Element had a typo in it

<NavBars>
   <narbar Name="SharePointTop Navbar" ID="1002" />
<NavBars>

"narbar" should be "navbar". When I fixed it, any new sub-sites created did not have this issue. I was now able sort/edit the navigation items for those new sub-sites.

In order to fix the already created sub-sites, I had to update the NavNodes table in my content db. I found a forum post hat help me:

http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/fb22476c-9145-476b-a1c9-7fe85aa12272

I had to modify the t-sql statement in the above forum post to add "Quick Launch" rows for each sub-site in the NavNodes table. The next time a user tries to modify the navigation sorting/editing for a sub-site, the changes will be saved.

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