问题在Cart.aspx页面中显示标题 [英] Issue Displaying the Header in Cart.aspx Page
问题描述
你好
全部,
我们正在使用当代网站(对于WSS),我们修改了母版页( CSDefaultSite。 master )按
更改页眉和页脚。
>一切顺利,大部分页面显示新标题,但a其中很少,例如:cart.aspx,checkout.aspx
我已经检查过并且所有页面都是
继承相同的母版页,按照以下代码:
<% @
Page 语言 < span style ="color:blue"> =" C#"
MasterPageFile =" ~sitecollection / _catalogs / MasterPage / CSDefaultSite.master"
继承 =" Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version = 12.0.0.0,Culture = neutral,PublicKeyToken = 71e9bce111e9429c"
%> <% @
注册 Tagprefix =" SharePoint"
命名空间 =" Microsoft.SharePoint.WebControls"
程序集 =" Microsoft.SharePoint ,Version = 12.0.0.0,Culture = neutral,PublicKeyToken = 71e9bce111e9429c"
%> <% @
注册 Tagprefix =" Utilities"
命名空间 =" Microsoft.SharePoint.Utilities"
程序集 =" ; Microsoft.SharePoint,Version = 12.0.0.0,Culture = neutral,PublicKeyToken = 71e9bce111e9429c"
%> <% @
导入 命名空间 =" Microsoft.SharePoint"
%> <% @
注册 Tagprefix =" WebPartPages"
命名空间 = "Microsoft.SharePoint.WebPartPages""
程序集 =" Microsoft.SharePoint,Version = 12.0.0.0,Culture = neutral,PublicKeyToken = 71e9bce111e9429c"
%>
< p style ="margin:0cm 0cm 10pt">
有谁知道为什么cart.aspx页面没有加载正确的标题?如何修复它?
谢谢,
Odilia
对于此页面,您需要修改PageLayout:BlankHeaderWithAds :带有空白标题和广告的空白Web部件页。
您还需要分离并重新附加cart.aspx上的pagelayout(可能有更好的方法来实现它 - 反映在pagelayout中完成的更改)
您可以使用SP Designer编辑pagelayout& ;页。
验证浏览器中的更改,并可以继续办理登机手续
问候,
Rajendra Dewani
Hi All,
We are using the Contemporary Site (for WSS) and we have modified the master page (CSDefaultSite.master) in order to change the header and the footer.
All went fine, and majority of the pages are showing the new header, except a few of them, such as: cart.aspx, checkout.aspx
I have checked and all the pages inherit the same master page, as per the code below:
<%@ Page language="C#" MasterPageFile="~sitecollection/_catalogs/MasterPage/CSDefaultSite.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
Does anybody know why the cart.aspx page does not load the correct header? And how to fix it?
Thanks,
Odilia
Hi,For this page(s) you need to modify PageLayout : BlankHeaderWithAds :Blank Web Part Page with Blank Header and Advertising .
Also you need to Detach and Re-Attach the pagelayout on cart.aspx( there could be a better way to do it - to reflect the changes done in pagelayout)
you can use SP Designer to edit pagelayout & page.
Verify the changes in browser, and can proceed to check-in
Regards,
Rajendra Dewani
这篇关于问题在Cart.aspx页面中显示标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!