在SharePoint 2013中:
我有一个自定义母版页,我想将PageTitle移动到另一个页面。 这不是问题,但搜索结果页面(osssearchresults.aspx)从其他地方获取其标题/菜单。 通过编辑显示模板'Control_SearchResults.html',我能够成功获取我的母版页样式,但不包含标题/菜单的HTML。
您可以在下面看到 - 默认情况下,标题出现在母版页的菜单之前,标题出现在搜索结果HTML的菜单之后。 这种轻微的外观差异不是问题,但现在我想将PageTitle移动到一个非常不同的地方。
知道如何更改搜索页面的HTML吗?
In SharePoint 2013:
I have a custom master page where I would like to move the PageTitle to a different . That's not a problem, but the Search Results page (osssearchresults.aspx) gets its title/menu from somewhere else. I was able to successfully get my master page style to apply by editing the Display Template 'Control_SearchResults.html', but that doesn't contain the HTML for the title/menu.
You can see below - by default the title comes BEFORE the menu in a master page and the title comes AFTER the menu on the search results HTML. This slight appearance difference wasn't a problem, but now I want to move the PageTitle somewhere very different.
Any idea how to change the HTML for the search page?
最满意答案
我忘记了有两个不同的“母版页”设置 - “母版页”和“系统母版页”。 搜索结果页面使用“系统母版页”。 当我将“西雅图”改为我的母版页面时,一切都很顺利。
I had forgotten that there are two different 'master page' settings - the 'master page' and the 'system master page'. The search results page uses the 'system master page.' When I changed 'seattle' to my master page below all is well.
更多推荐
发布评论