Custom Master Page Issue in Intranet

Hi All,
I hope someone can assist with this, we implemented this particular SharePoint 2007 portal approximately 5 years ago.  An outside consultant created this custom master page, for some reason out of nowhere we are experiencing this bizarre issue with
the master page and checking in and out documents. I have attached an image showing the error message being displayed below(couldn't attach until my account was verified but it states 'Error invalid viewstate, port 52208, user agent Mozilla/4.0..., viewstate,
referrer, path).  I came across one source on the web that stated something about the search box code and it causing issues out of nowhere on the master page.  So in my dev environment I made the change and removed the following code from the master
page below.
<td style="padding-top:8px;" valign=top>
            <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
            <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/>
            </asp:ContentPlaceHolder>
</td>
As soon as this code is removed and the page is published again everything begins to work again, the problem is I can't remove search from this intranet portal as it is heavily used.  Any assistance would be greatly appreciated.

By any chance, do you still have access to the solution package in which the master page was contained? Normally, you would see another .ascx user control overriding the delegate search control in there. I'm almost positive that this custom control is
what causing this issue.
Nikolas Charlebois-Laprade Microsoft Certified Professional & Software Engineer http://nikcharlebois.com

Similar Messages

  • Custom Master Page issue with Document Set Libraries

    Details: Publishing site using SharePoint 2013.  The SharePoint is on my company's servers.
    Have a custom Master page that has a navigation banner (built with HTML/CSS/javascript).  The site has it applied successfully to the "Site Master Page" but when I also apply it to the "System Master Page", the libraries that have
    Document Set type content do not show the files within.   We'd like to be successful in applying to the "System Master Page" as that allows the banner to show when an actual library is accessed.    Any suggestions, please?

    Thanks. I've been experimenting with this for a few days now, and there's lots I don't understand about why and such, but your process above works. That's a big load off me right now and I really appreciate it. I'm going to be able to survive the initial
    roll-out and implementation of the new site. Going forward, I've got lots to learn and find out, I've already heard that there's a desire to really redesign the master page for the site and subsites, way beyond the little CSS customization I did. Fun.
    If you've got a little time though, perhaps you can provide some explanation. If not, no problem.
    On step 6, when I do as you detail, click the System Master Page and reset all the subsites, it seems to work fine with my custom master page. If I do that with the Site Master Page settings, my custom page causes the redirect issue in the subsites again.
    This is whether I do the Site Master Page by itself, or in conjunction with the System Master Page settings. If I revert back to the Seattle master page in the Site Master Page settings and my custom pate in the System Master Page, the issue goes away again.
    It is completely messing with my head, trying to figure out why that would be, and this is all beside trying to figure out why adding the one little CSS reference to the Seattle master to create my master page breaks things (sometimes!).
    Just fyi, what I've ended up with for now is pulling my custom master page out of the system and using the Alternate CSS URL to add my custom CSS to the Seattle master page on the sites. As I thought about all this, I decided I didn't want to leave the breakable
    custom page out there for some unsuspecting site manager to accidentally pick and get everyone screaming about the broken sites.
    Thanks again,
    Steven

  • Custom master page issue only some pages not all (spwebpart manager)

    Hi i am using html custom master page in  sharepoint 2013, In my search page (home)  working properly without any issue,
    But in my Result.aspx page showing below error. 
    A WebPartZone can only exist on a page which contains a SPWebPartManager. The SPWebPartManager must be placed before any WebPartZones on the page.
    How to solve this? Thanks in advance

    There are 4 web parts in this page
    1.Refinement
    2.Search Box
    3.Search Navigation
    4.Search Results

  • Custom master page issue in subsites

    Greetings!
    I've run into an oddity with a custom master page on my SharePoint 2013 Enterprise server. I copied the html for the seattle master page, renamed it so it wouldn't change the seattle master, made an addition to it to add a reference to a custom css
    file, then threw it back up on the site so SP would make a new .master file with it. I created a new web app and site collection, put the custom css file in the Style Library and added the custom master page to the Master Pages.
    So, all that being done, I changed the look of the top level site to use the new master page and it looks great and seems to be working as expected. We've got a number of subsites planned for underneath this top level site, I'm thinking no problem, just
    put the custom master file in the master pages and we'll be good. So I create a subsite, put the custom master page in the subsite's Master Pages, change the look. The master page and custom css apply and it looks good, but, then the problem starts.
    When I go into a document library and change a view or add a view or delete a view I get back an odd response page from SP. In the url I see this: https://topsite/subsite/_vti_bin/owssvr.dll?CS=65001
    and in the body of the message: 69|pageRedirect|owssvr|https://topsite/subsite/Shared%20Documents/Forms/AllItems.aspx|
    When I go back into the subsite, whatever change I was attempting when I get these results worked fine.
    So, why does my custom master page work fine on the top level, but not on the subsites? If I switch the subsite back to the Seattle.master, the oddity goes away, so that tells me it's something to do with my custom master page and/or custom css. I did
    some searching for owssvr.dll?CS=65001 and didn't see anything that helped. I checked IIS and the web.config file and don't have ASP.net tracing on that I could find.
    All that the custom css is doing is increasing the size allowable for the site icon (.ms-siteicon-img) to allow for a larger icon (180px square) and it pushes the side Nav Box down a bit to make room for the larger icon and changes the font size for the
    side Nave Box (#sideNavBox). Since it works on the top site, I'm not suspecting the css, but, it's not making sense to me why the custom master page wouldn't work in subsites either.
    I ran into this issue earlier, it was showing up when deleting folders from the document library. I thought I'd made a boo-boo somewhere in creating the custom master page, or how I'd added it, or something (kind of a learn as I go situation here), so I
    deleted the entire web app and recreated it, hoping for a clean start and a good master page and everything would be good. Guess I'm still missing something.
    I swear that the ONLY change I made to the seattle html file for my custom page was to add this line just below the corev15.css line: <!-- SPM:<SharePoint:CssRegistration Name="/Style Library/skcustom.css" after="corev15.css" runat="server"/>-->
    So, that's my sad story. Any suggestions, other than to punt on the custom master page?
    Thanks!
    Steven

    Thanks. I've been experimenting with this for a few days now, and there's lots I don't understand about why and such, but your process above works. That's a big load off me right now and I really appreciate it. I'm going to be able to survive the initial
    roll-out and implementation of the new site. Going forward, I've got lots to learn and find out, I've already heard that there's a desire to really redesign the master page for the site and subsites, way beyond the little CSS customization I did. Fun.
    If you've got a little time though, perhaps you can provide some explanation. If not, no problem.
    On step 6, when I do as you detail, click the System Master Page and reset all the subsites, it seems to work fine with my custom master page. If I do that with the Site Master Page settings, my custom page causes the redirect issue in the subsites again.
    This is whether I do the Site Master Page by itself, or in conjunction with the System Master Page settings. If I revert back to the Seattle master page in the Site Master Page settings and my custom pate in the System Master Page, the issue goes away again.
    It is completely messing with my head, trying to figure out why that would be, and this is all beside trying to figure out why adding the one little CSS reference to the Seattle master to create my master page breaks things (sometimes!).
    Just fyi, what I've ended up with for now is pulling my custom master page out of the system and using the Alternate CSS URL to add my custom CSS to the Seattle master page on the sites. As I thought about all this, I decided I didn't want to leave the breakable
    custom page out there for some unsuspecting site manager to accidentally pick and get everyone screaming about the broken sites.
    Thanks again,
    Steven

  • Having issues with custom master pages and device channels

    I'm working in Sharepoint 2013 and am attempting to create a custom master page that is to be used by mobile devices. I have created an html file and a custom css file that includes snippets from the design manager. The file appears to preview fine in a
    browser from Microsoft Web Expression. I have loaded the html file into sharepoint via design manager, so the master file is there as well. The css files are in the style library for the site collection and I have created a device channel including user agent
    strings for iphones going back to the iPhone 4 and operating systems going back to iOS 6. I have obviously assigned my custom "mobile" master for that device channel and I have turned off mobile browsing. However when I open the site on my phone
    it shows the normal full desktop view and not my custom master. I will include my html code, my css and a screenshot of my device channel below. Please help!
    <?xml version="1.0" encoding="utf-8"?><!--SPG:
    This HTML file has been associated with a SharePoint Master Page (.master file) carrying the same name. While the files remain associated, you will not be allowed to edit the .master file, and any rename, move, or deletion operations will be reciprocated.
    To build the master page directly from this HTML file, simply edit the page as you normally would. Use the Snippet Generator at https://otterbein.sharepoint.com/sites/Committees/_layouts/15/ComponentHome.aspx?Url=https%3A%2F%2Fotterbein%2Esharepoint%2Ecom%2Fsites%2FCommittees%2F%5Fcatalogs%2Fmasterpage%2Fmobile%5Ftest%5Fmaster%2Emaster to create and customize useful SharePoint entities, then copy and paste them as HTML snippets into your HTML code. All updates to this file will automatically sync to the associated Master Page.
    -->
    <!-- _lcid="1033" _version="16.0.3611" _dal="1" -->
    <!-- _LocalBinding -->
    <!DOCTYPE html[]>
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <link href="https://otterbein.sharepoint.com/sites/Committees/Style Library/mobile_corev15.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="X-UA-Compatible" content="IE=10" />
    <!--CS: Start Head Snippet-->
    <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--SID:00 -->
    <meta name="GENERATOR" content="Microsoft SharePoint" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Expires" content="0" />
    <!--SPM:<SharePoint:RobotsMetaTag runat="server"/>-->
    <!--MS:<SharePoint:PageTitle runat="server">-->
    <!--SPM:<asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server">-->
    <!--SPM:<SharePoint:ProjectProperty Property="Title" runat="server"/>-->
    <!--SPM:</asp:ContentPlaceHolder>-->
    <!--ME:</SharePoint:PageTitle>-->
    <!--SPM:<SharePoint:StartScript runat="server"/>-->
    <!--MS:<SharePoint:CssLink runat="server" Version="15">-->
    <!--PS: Start Preview-->
    <link href="https://otterbein.sharepoint.com/sites/Committees/Style Library/mobile_corev15.css" rel="stylesheet" type="text/css" /><!--PE: End Preview-->
    <!--ME:</SharePoint:CssLink>-->
    <!--SPM:<SharePoint:CacheManifestLink runat="server"/>-->
    <!--SPM:<SharePoint:PageRenderMode runat="server" RenderModeType="Standard"/>-->
    <!--SPM:<SharePoint:ScriptLink language="javascript" name="core.js" OnDemand="true" runat="server" Localizable="false"/>-->
    <!--SPM:<SharePoint:ScriptLink language="javascript" name="menu.js" OnDemand="true" runat="server" Localizable="false"/>-->
    <!--SPM:<SharePoint:ScriptLink language="javascript" name="callout.js" OnDemand="true" runat="server" Localizable="false"/>-->
    <!--SPM:<SharePoint:ScriptLink language="javascript" name="sharing.js" OnDemand="true" runat="server" Localizable="false"/>-->
    <!--SPM:<SharePoint:ScriptLink language="javascript" name="suitelinks.js" OnDemand="true" runat="server" Localizable="false"/>-->
    <!--SPM:<SharePoint:CustomJSUrl runat="server"/>-->
    <!--MS:<SharePoint:SoapDiscoveryLink runat="server">-->
    <!--PS: Start Preview--><link href="https://otterbein.sharepoint.com/_vti_bin/spsdisco.aspx" rel="alternate" type="text/xml" /><!--PE: End Preview-->
    <!--ME:</SharePoint:SoapDiscoveryLink>-->
    <!--MS:<SharePoint:AjaxDelta id="DeltaPlaceHolderAdditionalPageHead" Container="false" runat="server">-->
    <!--MS:<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server">-->
    <!--ME:</asp:ContentPlaceHolder>-->
    <!--MS:<SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true">-->
    <!--ME:</SharePoint:DelegateControl>-->
    <!--MS:<asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat="server">-->
    <!--ME:</asp:ContentPlaceHolder>-->
    <!--ME:</SharePoint:AjaxDelta>-->
    <!--SPM:<SharePoint:CssRegistration Name="Themable/corev15.css" runat="server"/>-->
    <!--SPM:<SharePoint:AjaxDelta id="DeltaSPWebPartManager" runat="server">-->
    <!--SPM:<WebPartPages:SPWebPartManager runat="server"/>-->
    <!--SPM:</SharePoint:AjaxDelta>-->
    <!--CE: End Head Snippet-->
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:ContentType msdt:dt="string">Design File</mso:ContentType>
    <mso:ContentTypeId msdt:dt="string">0x0101000F1C8B9E0EB4BE489F09807B2C53288F0054AD6EF48B9F7B45A142F8173F171BD10003D357F861E29844953D5CAA1D4D8A3A</mso:ContentTypeId>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:HtmlDesignFromMaster msdt:dt="string"></mso:HtmlDesignFromMaster>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">https://otterbein.sharepoint.com/sites/Committees/_catalogs/masterpage/mobile_test_master.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    <link href="https://otterbein.sharepoint.com/sites/Committees/Style Library/mobile_corev15.css" rel="stylesheet" type="text/css" />
    </head>
    <body style="width: 330; margin-right: 0px">
    <div id="ms-designer-ribbon" style="width:312px">
    <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <div id="TurnOnAccessibility" style="display:none" class="s4-notdlg noindex">
    <a id="linkTurnOnAcc" href="#" class="ms-accessible ms-acc-button" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();document.getElementById('linkTurnOffAcc').focus();return false;">
    <!--MS:<SharePoint:EncodedLiteral runat="server" text="&#60;%$Resources:wss,master_turnonaccessibility%&#62;" EncodeMethod="HtmlEncode">-->
    <!--ME:</SharePoint:EncodedLiteral>-->
    </a>
    </div>
    <div id="TurnOffAccessibility" style="display:none" class="s4-notdlg noindex">
    <a id="linkTurnOffAcc" href="#" class="ms-accessible ms-acc-button" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();document.getElementById('linkTurnOnAcc').focus();return false;">
    <!--MS:<SharePoint:EncodedLiteral runat="server" text="&#60;%$Resources:wss,master_turnoffaccessibility%&#62;" EncodeMethod="HtmlEncode">-->
    <!--ME:</SharePoint:EncodedLiteral>-->
    </a>
    </div>
    <!--SID:02 {Ribbon Snippet}-->
    <!--PS: Start Preview--><!--PE: End Preview-->
    </div>
    <!--MS:<SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationRestrictions="AnonymousUsersOnly">-->
    <!--SPM:<wssucw:Welcome runat="server" EnableViewState="false"/>-->
    <!--ME:</SharePoint:SPSecurityTrimmedControl>-->
    <div id="s4-workspace" style="left: 0px; top: 0px; width: 329">
    <div id="s4-bodyContainer" style="width: 328">
    <table style="width: 312px">
    <tr>
    <td style="width: 312px; background: #666666; text-align:center">
    <div class="js-callout-menuAction" style="background:rgb(102, 102, 102); color:white; width:295px; padding:8px; height:64px; overflow:hidden;">In true previews of your site, the SharePoint ribbon will be here.</div></td>
    </tr>
    <tr>
    <td style="width: 312px; background: #CB1920; text-align:center">
    <img alt="Otterbein Logo" src="https://otterbein.sharepoint.com/sites/Committees/Style%20Library/otterbein-logo_towers_white_mobile.png" style="padding:5px"><br>
    <div data-name="SiteTitle" style="width: 295px; color:white; padding-bottom:5px; text-indent:5px" class="ms-chkmark-container-centerer"><!--CS: Start Site Title Snippet--><!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>--><!--MS:<SharePoint:AjaxDelta runat="server" ForeColor="White">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--MS:<SharePoint:SPLinkButton runat="server" ForeColor="White" NavigateUrl="~site/">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--MS:<SharePoint:ProjectProperty runat="server" Property="Title">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <span style="font-size:xx-large">Committees<!--PE: End of READ-ONLY PREVIEW--><!--ME:</SharePoint:ProjectProperty>--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--ME:</SharePoint:SPLinkButton>--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--ME:</SharePoint:AjaxDelta>--><!--CE: End Site Title Snippet--></span>
    </div>
    <div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPart" width="250px" class="ms-WPBody noindex " OnlyForMePart="true" allowDelete="false" style="padding-top:15px; padding-bottom:15px"><div componentid="ctl00_ctl03_csr" id="ctl00_ctl03_csr"><div id="SearchBox" name="Control"><div class="ms-srch-sb ms-srch-sb-border" id="ctl00_ctl03_csr_sboxdiv">
    <input type="text" value="Search..." maxlength="2048" accessKey="S" title="Search..." id="ctl00_ctl03_csr_sbox" autocomplete="off" autocorrect="off" onkeypress="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {if (Srch.U.isEnterKey(String.fromCharCode(event.keyCode))) {$find('ctl00_ctl03_csr').search($get('ctl00_ctl03_csr_sbox').value);return Srch.U.cancelEvent(event);}})" onkeydown="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {var ctl = $find('ctl00_ctl03_csr');ctl.activateDefaultQuerySuggestionBehavior();})" onfocus="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {var ctl = $find('ctl00_ctl03_csr');ctl.hidePrompt();ctl.setBorder(true);})" onblur="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {var ctl = $find('ctl00_ctl03_csr'); if (ctl){ ctl.showPrompt(); ctl.setBorder(false);}})" class="ms-textSmall ms-srch-sb-prompt ms-helperText" style="width: 250px; height: 18px" /><a title="Search" class="ms-srch-sb-searchLink" id="ctl00_ctl03_csr_SearchLink" onclick="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {$find('ctl00_ctl03_csr').search($get('ctl00_ctl03_csr_sbox').value);})" href="javascript: {}"><img src="/sites/Committees/_catalogs/theme/Themed/EF0ED6F1/searchresultui-61174269.themedpng?ctag=55" class="ms-srch-sb-searchImg" id="searchImg" alt="Search" /></a></div></div></div><noscript><div id="ctl00_ctl03_noscript">It looks like your browser does not have JavaScript enabled. Please turn on JavaScript and try again.</div></noscript><div id="ctl00_ctl03" style="color:White;border-color:White;border-width:0px;border-style:Solid;text-align:center;"></div><div class="ms-clear"></div></div>
    <div data-name="TopNavigationNoFlyoutWithStartNode"><!--CS: Start Top Navigation Snippet--><!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>--><!--MS:<SharePoint:AjaxDelta runat="server" CssClass="ms-displayInline ms-core-navigation ms-dialogHidden" Width="312px" BlockElement="True" ID="DeltaTopNavigation">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--MS:<SharePoint:DelegateControl runat="server" Id="topNavigationDelegate" ControlId="TopNavigationDataSource">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><span style="display:none">
    <table cellpadding="4" cellspacing="0" style="font:messagebox;color:buttontext;background-color:buttonface;border: solid 1px;border-top-color:buttonhighlight;border-left-color:buttonhighlight;border-bottom-color:buttonshadow;border-right-color:buttonshadow">
    <tr>
    <td nowrap="nowrap">
    <span style="font-weight:bold">PortalSiteMapDataSource</span> - topSiteMap</td>
    </tr>
    <tr>
    <td></td>
    </tr>
    </table>
    </span><!--PE: End of READ-ONLY PREVIEW--><!--MS:<Template_Controls>--><!--MS:<asp:SiteMapDataSource ShowStartingNode="True" SiteMapProvider="SPNavigationProvider" ID="topSiteMap" runat="server" StartingNodeUrl="sid:1002">--><!--ME:</asp:SiteMapDataSource>--><!--ME:</Template_Controls>--><!--ME:</SharePoint:DelegateControl>--><a name="startNavigation"></a><!--MS:<asp:ContentPlaceHolder ID="PlaceHolderTopNavBar" runat="server">--><!--MS:<SharePoint:AspMenu runat="server" UseSeparateCss="false" AdjustForShowStartingNode="False" StaticDisplayLevels="2" AccessKey="1" SkipLinkText="" ItemWrap="True" EnableViewState="False" MaximumDynamicDisplayLevels="0" UseSimpleRendering="True" DataSourceID="topSiteMap" Orientation="Vertical" ID="TopNavigationMenu">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <div id="zz7_TopNavigationMenu" class=" noindex ms-core-listMenu-verticalBox">
    <ul id="zz9_RootAspMenu" class="root ms-core-listMenu-root static">
    <li class="static">
    <a class="static menu-item ms-core-listMenu-item ms-displayInline ms-navedit-linkNode" href="/sites/Committees/SitePages/Home.aspx" accesskey="1">
    <span class="additional-background ms-navedit-flyoutArrow">
    <span class="menu-item-text">Committees</span></span></a></li>
    <li class="static ms-verticalAlignTop ms-listMenu-editLink ms-navedit-editArea">
    <span class="ms-navedit-editSpan" id="zz7_TopNavigationMenu_NavMenu_Edit">
    <a id="zz7_TopNavigationMenu_NavMenu_EditLinks" class="ms-navedit-editLinksText" href="#" onclick="g_QuickLaunchMenu = null; EnsureScriptParams('quicklaunch.js', 'QuickLaunchInitEditMode', 'zz7_TopNavigationMenu', 1, 0, 1, '\u002fSITES\u002fCOMMITTEES'); cancelDefault(event); return false;" title="Edit Links">
    <span class="ms-displayInlineBlock">
    <span class="ms-navedit-editLinksIconWrapper ms-verticalAlignMiddle">
    <img class="ms-navedit-editLinksIcon" src="/sites/Committees/_catalogs/theme/Themed/EF0ED6F1/spcommon-B35BB0A9.themedpng?ctag=55" alt="Edit Links" /></span><span class="ms-metadata ms-verticalAlignMiddle">Edit Links</span></span></a><span id="zz7_TopNavigationMenu_NavMenu_Loading" class="ms-navedit-menuLoading ms-hide"><a id="zz7_TopNavigationMenu_NavMenu_GearsLink" href="#" onclick="HideGears(); return false;" title="This animation indicates the operation is in progress. Click to remove this animated image."><img id="zz7_TopNavigationMenu_NavMenu_GearsImage" src="/_layouts/15/images/loadingcirclests16.gif?rev=38" alt="This animation indicates the operation is in progress. Click to remove this animated image." /></a></span><div id="zz7_TopNavigationMenu_NavMenu_ErrorMsg" class="ms-navedit-errorMsg">
    </div>
    </span></li>
    </ul>
    </div>
    <!--PE: End of READ-ONLY PREVIEW--><!--ME:</SharePoint:AspMenu>--><!--ME:</asp:ContentPlaceHolder>--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--ME:</SharePoint:AjaxDelta>--><!--CE: End Top Navigation Snippet-->
    </div>
    <br>
    </td>
    </tr>
    <tr>
    <td style="width: 312px">
    <div class="DefaultContentBlock" style="border:medium black solid; background:yellow; color:black;">
    This area will be filled in by content you create in your page layouts.
    </div>
    </td>
    </tr>
    <tr>
    <td style="width: 312px; background:#CCCCCC"><!--CS: Start Content Editor Snippet--><!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>--><!--MS:<WebPartPages:ContentEditorWebPart xmlns:WebPartPages="namespace" runat="server" webpart="true">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><div class="ms-webpart-chrome ms-webpart-chrome-fullWidth "><div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPart" width="312px" class="ms-WPBody noindex " OnlyForMePart="true" allowDelete="false" style=""><div class="ms-rtestate-field"></div></div></div><!--PE: End of READ-ONLY PREVIEW--><!--MS:<WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/WebPart/v2">--><!--MS:<Title>--><!--SPM:$Resources:core,ContentEditorWebPartTitle;--><!--ME:</Title>--><!--MS:<FrameType>--><!--SPM:None--><!--ME:</FrameType>--><!--MS:<Description>--><!--SPM:$Resources:core,ContentEditorWebPartDescription;--><!--ME:</Description>--><!--MS:<IsIncluded>--><!--SPM:true--><!--ME:</IsIncluded>--><!--MS:<ZoneID>--><!--SPM:ImportedPartZone--><!--ME:</ZoneID>--><!--MS:<PartOrder>--><!--SPM:0--><!--ME:</PartOrder>--><!--MS:<FrameState>--><!--SPM:Normal--><!--ME:</FrameState>--><!--MS:<Height>--><!--ME:</Height>--><!--MS:<Width>--><!--ME:</Width>--><!--MS:<AllowRemove>--><!--SPM:true--><!--ME:</AllowRemove>--><!--MS:<AllowZoneChange>--><!--SPM:true--><!--ME:</AllowZoneChange>--><!--MS:<AllowMinimize>--><!--SPM:true--><!--ME:</AllowMinimize>--><!--MS:<AllowConnect>--><!--SPM:true--><!--ME:</AllowConnect>--><!--MS:<AllowEdit>--><!--SPM:true--><!--ME:</AllowEdit>--><!--MS:<AllowHide>--><!--SPM:true--><!--ME:</AllowHide>--><!--MS:<IsVisible>--><!--SPM:true--><!--ME:</IsVisible>--><!--MS:<DetailLink>--><!--ME:</DetailLink>--><!--MS:<HelpLink>--><!--ME:</HelpLink>--><!--MS:<HelpMode>--><!--SPM:Modeless--><!--ME:</HelpMode>--><!--MS:<Dir>--><!--SPM:Default--><!--ME:</Dir>--><!--MS:<PartImageSmall>--><!--ME:</PartImageSmall>--><!--MS:<MissingAssembly>--><!--SPM:Cannot import this Web Part.--><!--ME:</MissingAssembly>--><!--MS:<PartImageLarge>--><!--SPM:/_layouts/15/images/mscontl.gif--><!--ME:</PartImageLarge>--><!--MS:<IsIncludedFilter>--><!--ME:</IsIncludedFilter>--><!--MS:<ExportControlledProperties>--><!--SPM:true--><!--ME:</ExportControlledProperties>--><!--MS:<ConnectionID>--><!--SPM:00000000-0000-0000-0000-000000000000--><!--ME:</ConnectionID>--><!--MS:<ID>--><!--SPM:g_4a85e298_8d8c_4770_9fc1_a5f6d6456ec7--><!--ME:</ID>--><!--MS:<ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor">--><!--ME:</ContentLink>--><!--MS:<Content xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor">--><!--ME:</Content>--><!--MS:<PartStorage xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor">--><!--ME:</PartStorage>--><!--MS:<ID>--><!--SPM:g_90f063ab_d6a1_4718_b306_b3ade5119bd1--><!--ME:</ID>--><!--ME:</WebPart>--><!--ME:</WebPartPages:ContentEditorWebPart>--><!--CE: End Content Editor Snippet--></td>
    </tr>
    </table>
    </div>
    </div>
    </body>
    </html>
    User agent strings for mobile Channel
    Apple-iPhone3C1/1001.403
    Apple-iPhone3C3/1001.403
    Apple-iPhone4C1/1001.403
    Apple-iPhone5C1/1001.405
    Apple-iPhone5C2/1001.405
    Apple-iPhone2C1/1001.523

    Hi,
    The issue is likely not your HTML Master Page but your user agent string. Try a user agent string of just "iphone". To test your master page, you could also set the user agent to "MSIE", which should cause this master page to load for
    any version of IE. This will help you debug the master page as well in your normal browser.
    Eric Overfield - PixelMill -
    ericoverfield.com -
    @EricOverfield

  • Add Right Side Column and Web Parts to custom Master page in SharePoint Online

    Hello everyone, 
    I hope this is a simple question, however I was fighting the issue it presents for a while. I am in the process of customizing SharePoint Online Look-and-feel with a new layout.
    The site collection was created as a
    Team Site before I got involved with the project, and populated with numerous sub-sites and pages. I activated required
    publishing features, created html with corresponding styles and graphics, and used the Design Manager to convert the html file to the custom Master page. While SharePoint automatically assigned “ContentPlaceHolderMain” div area, I
    also used default Oslo page as example to copy sections of the code for dynamic components (left column and navigation, recent items, the ribbon, etc.) from it and placed them in my new master page, pointed all CSS references to
    my custom style sheets, etc. Everything works great, however I need to make one last addition -
    my task is to make changes to display web parts such as Calendar and Recent Documents in the right column in the Master page.
    My custom layout has a header, footer, main pan and two side columns. Most of the default master templates come with the LEFT column already embedded and populated with several placeholder
    to serve dynamic content (PlaceHolderLeftNavBarTop, PlaceHolderQuickLaunchTop, PlaceHolderLeftNavBarDataSource, PlaceHolderLeftActions, so on).
    My challenge is that I have the RIGHT side column as well, for which I don’t think the default placeholder exists. I need to add a small Calendar box and Recent Documents parts to it, so they
    display across the entire site governed by this master page.
    The issue is –
    even after activating Publishing features (enabled SharePoint Server Publishing Infrastructure under Site Collection Level, and SharePoint Server Publishing under the Site
    Level), there is no Snippet feature (usually available under the generic Publishing Site); this customization of the Team Site allows using Designer and apply custom templates, themes, so on, just like you would under the Publishing collection, but not the
    Snippet utility I could use as the solution to embed the web parts on the master page.
    Recreating the entire site under Publishing Collection is not an option due to the directions I was given, I am to use this existing one, and need to see if
    there is a workaround to either activate the Snippet feature or use another solution to display the web parts inside of the column in the Master page.
    If the only solution is to use Web Part Zone, what are the steps to add it AND populate it with the abovementioned apps?
    Can anyone suggest how to create a workaround and add this feature? The environment is role-based so both elements need to be dynamically rendered based on the user’s role and activities.
    I am more of a front end designer than developer, so if any custom coding and set up required, please kindly provide some basic steps, if possible?..
    I greatly appreciate any help and suggestions!
    Thank You!
    Jeff
    Jeff V.

    Updating your Master Page to also include a right rail should be sraight forward enough with a new div or divs in your master page and then the proper styles to make room for this column as well as position the column.
    I have not seen why you cannot find the snippet gallery link when previewing a HTML Master Page in the browser. Have you tried loading the snippet gallery by its url? As an example, for my tenant on SPO, I can load the Snippet Gallery for the olso.master
    with the following url:
    https://pixelmill.sharepoint.com/_layouts/15/ComponentConfigureControls.aspx?ComponentName=TopNavigationNoFlyoutWithStartNode&Url=%2F_catalogs%2Fmasterpage%2Foslo.master
    Change the domain to match yours as well as update the "Url" querystring var to point to your master page. See if that loads the snippet gallery.
    Eric Overfield - PixelMill -
    ericoverfield.com -
    @EricOverfield

  • Report Viewer Webpart is Blank in Custom Master Page

    Dear Experts ,
    Recently my team created a new master page to replace seattle default page in Sharepoint 2013. Things were fine till the moment we accessed one of site page containing a Report Viewer Web Part to load SSRS rdl. The web part is blank
    with just standard SSRS toolbar and parameter. To isolate the problem, I have confirmed that the same page works fine in seattle master. I notice that something could be missing in our site (though I am clueless on what those are). There is one post online
    from someone with potentially similar issue, but it does not help in our case. Some pointers from will be appreciated. Cheers.
    http://blogs.msdn.com/b/selvar/archive/2013/11/28/using-reporting-service-web-part-with-sharepoint-custom-master-pages.aspx

    Hi,
    Please try to add AsyncPostBackTimeout="0" inside the ScriptManager code in your master page.
    <asp:scriptmanager id="ScriptManager" runat="server" enablepagemethods="false" enablepartialrendering="true" enablescriptglobalization="false" asyncpostbacktimeout="0" enablescriptlocalization="true" />
    If the issue still exists, I suggest you provide some error messages or code for further research.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Search Box is not showing in custom master page

    Hi 
    I am using "Office 365 Enterprise E3 Trial"
    and have created a custom master page for my public SharePoint
    site .
    I have added Search snippet from the snippet gallery but the search
    box is not showing in the master page .I am not able to find the reasons .

    My Master page code is like bellow
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
        <head>
            <meta http-equiv="X-UA-Compatible" content="IE=10" xmlns="" />
            <!--CS: Start Page Head Contents Snippet-->
            <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
            <!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
            <!--SID:00 -->
            <meta name="GENERATOR" content="Microsoft SharePoint" xmlns="" />
            <meta http-equiv="Content-type" content="text/html; charset=utf-8" xmlns="" />
            <meta http-equiv="Expires" content="0" xmlns="" />
            <!--MS:<SharePoint:RobotsMetaTag runat="server">-->
            <!--ME:</SharePoint:RobotsMetaTag>-->
            <!--MS:<SharePoint:PageTitle runat="server">-->
                <!--MS:<asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server">-->
                    <!--MS:<SharePoint:ProjectProperty Property="Title" runat="server">-->
                    <!--ME:</SharePoint:ProjectProperty>-->
                <!--ME:</asp:ContentPlaceHolder>-->
            <!--ME:</SharePoint:PageTitle>-->
            <!--MS:<SharePoint:StartScript runat="server">-->
            <!--ME:</SharePoint:StartScript>-->
            <!--MS:<SharePoint:CssLink runat="server" Version="15">-->
            <!--ME:</SharePoint:CssLink>-->
            <!--MS:<SharePoint:CacheManifestLink runat="server">-->
            <!--ME:</SharePoint:CacheManifestLink>-->
            <!--MS:<SharePoint:PageRenderMode runat="server" RenderModeType="Standard">-->
            <!--ME:</SharePoint:PageRenderMode>-->
            <!--MS:<SharePoint:ScriptLink language="javascript" name="core.js" OnDemand="true" runat="server" Localizable="false">-->
            <!--ME:</SharePoint:ScriptLink>-->
            <!--MS:<SharePoint:ScriptLink language="javascript" name="menu.js" OnDemand="true" runat="server" Localizable="false">-->
            <!--ME:</SharePoint:ScriptLink>-->
            <!--MS:<SharePoint:ScriptLink language="javascript" name="callout.js" OnDemand="true" runat="server" Localizable="false">-->
            <!--ME:</SharePoint:ScriptLink>-->
            <!--MS:<SharePoint:ScriptLink language="javascript" name="sharing.js" OnDemand="true" runat="server" Localizable="false">-->
            <!--ME:</SharePoint:ScriptLink>-->
            <!--MS:<SharePoint:ScriptLink language="javascript" name="suitelinks.js" OnDemand="true" runat="server" Localizable="false">-->
            <!--ME:</SharePoint:ScriptLink>-->
            <!--MS:<SharePoint:CustomJSUrl runat="server">-->
            <!--ME:</SharePoint:CustomJSUrl>-->
            <!--MS:<SharePoint:SoapDiscoveryLink runat="server">-->
            <!--ME:</SharePoint:SoapDiscoveryLink>-->
            <!--MS:<SharePoint:AjaxDelta id="DeltaPlaceHolderAdditionalPageHead" Container="false" runat="server">-->
                <!--MS:<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server">-->
                <!--ME:</asp:ContentPlaceHolder>-->
                <!--MS:<SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true">-->
                <!--ME:</SharePoint:DelegateControl>-->
                <!--MS:<asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat="server">-->
                <!--ME:</asp:ContentPlaceHolder>-->
            <!--ME:</SharePoint:AjaxDelta>-->
            <!--MS:<SharePoint:CssRegistration Name="Themable/corev15.css" runat="server">-->
            <!--ME:</SharePoint:CssRegistration>-->
            <!--MS:<SharePoint:AjaxDelta id="DeltaSPWebPartManager" runat="server">-->
                <!--MS:<WebPartPages:SPWebPartManager runat="server">-->
                <!--ME:</WebPartPages:SPWebPartManager>-->
            <!--ME:</SharePoint:AjaxDelta>-->
            <!--CE: End Page Head Contents Snippet-->
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <!--DC:Two Tomorrows-->
           <link href="style1.css" rel="stylesheet" type="text/css" />
            <link href="slider.css" rel="stylesheet" type="text/css" />
            <!-- JS -->
            <!-- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">//<![CDATA[!-->
            <script type="text/javascript" src="https://purplechannelltd-public.sharepoint.com/_catalogs/masterpage/DNV/js/jquery-1.10.2.min.js">//<![CDATA[
            //]]>
            </script>
            <script type="text/javascript" src="js/custom.js">//<![CDATA[
            //]]>
            </script>
            <script type="text/javascript" src="js/bjqs-1.3.min.js">//<![CDATA[
            //]]>
            </script>
            <script type="text/javascript" src="/Documents/clients_hover.js">//<![CDATA[
            //]]>
            </script>
            <script type="text/javascript" src="/Documents/jquery.backgroundSize.js">//<![CDATA[
            //]]>
            </script>
            <script type="text/javascript" class="secret-source">//<![CDATA[
            jQuery(document).ready(function($) {
              $('#banner-fade').bjqs({
                width       : 1600,
                height       : 377,
                responsive  : true
            //]]>
            </script>
            <script type="text/javascript">//<![CDATA[
    $(document).ready(function () {
        if((window.location.href=="https://purplechannelltd-public.sharepoint.com/")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/default.aspx")||(window.location.href=="https://purplechannelltd-public.sharepoint.com/Pages/default.aspx")
          $("#banner-fade").removeAttr("style");
          $("#BannerLine").removeAttr("style");
          $("#trBreadCrumb").css("display","none");
          $("#trNewsAndTraningHome").removeAttr("style");
          $("#trNewsOnly").css("display","none");
        else
         $("#banner-fade").css("display","none");
         $("#BannerLine").css("display","none");
         $("#trBreadCrumb").removeAttr("style");
         $("#trNewsAndTraningHome").css("display","none");
         $("#trNewsOnly").removeAttr("style");
        if((window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Services.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Key-issues.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Industries.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Clients.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/About-us.aspx")
        ||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/walking-the-talk.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/what-is-sustainability.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/our-team.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/assurance-code-of-conduct.aspx")
        ||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Contact-us-EMEA.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Contact-us-asia-pacific.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Contact-us-Americas.aspx")){
          $("#banner-fade").css("display","none");
         $("#BannerLine").css("display","none");
          $("#trBreadCrumb").css("display","none");
          $("#trNewsAndTraningHome").removeAttr("style");
          $("#trNewsOnly").css("display","none");
        if (window.location.href.indexOf("dnv-gl-launches-new-global-brand") >= 0 ||window.location.href.indexOf("how-future-proof-your-business") >= 0||window.location.href.indexOf("human-rights-time-walk-talk") >= 0 )
         $("#trNewsOnly").css("display","none");
        if($("#trNewsOnly").html().indexOf("Web Part Error:")>0)
        $("#trNewsOnly").css("display","none");
        if($("#trBreadCrumb").html().indexOf("Web Part Error:")>0)
        $("#trBreadCrumb").css("display","none");
            //]]>
            </script>
            <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:ContentTypeId msdt:dt="string">0x0101000F1C8B9E0EB4BE489F09807B2C53288F0054AD6EF48B9F7B45A142F8173F171BD10003D357F861E29844953D5CAA1D4D8A3A</mso:ContentTypeId>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:HtmlDesignFromMaster msdt:dt="string"></mso:HtmlDesignFromMaster>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">https://purplechannelltd-public.sharepoint.com/_catalogs/masterpage/DNV/TT.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
        </head>
        <body>
            <!--CS: Start Ribbon Snippet-->
            <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
            <!--SPM:<%@Register Tagprefix="wssucw" TagName="Welcome" Src="~/_controltemplates/15/Welcome.ascx"%>-->
            <!--MS:<SharePoint:SPSecurityTrimmedControl runat="server" HideFromSearchCrawler="true" EmitDiv="true">-->
                <div id="TurnOnAccessibility" style="display:none" class="s4-notdlg noindex" xmlns="">
                    <a id="linkTurnOnAcc" href="#" class="ms-accessible ms-acc-button" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();document.getElementById('linkTurnOffAcc').focus();return false;">
                        <!--MS:<SharePoint:EncodedLiteral runat="server" text="&#60;%$Resources:wss,master_turnonaccessibility%&#62;" EncodeMethod="HtmlEncode">-->
                        <!--ME:</SharePoint:EncodedLiteral>-->
                    </a>
                </div>
                <div id="TurnOffAccessibility" style="display:none" class="s4-notdlg noindex" xmlns="">
                    <a id="linkTurnOffAcc" href="#" class="ms-accessible ms-acc-button" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();document.getElementById('linkTurnOnAcc').focus();return false;">
                        <!--MS:<SharePoint:EncodedLiteral runat="server" text="&#60;%$Resources:wss,master_turnoffaccessibility%&#62;" EncodeMethod="HtmlEncode">-->
                        <!--ME:</SharePoint:EncodedLiteral>-->
                    </a>
                </div>
            <!--ME:</SharePoint:SPSecurityTrimmedControl>-->
            <div id="ms-designer-ribbon" xmlns="">
                <!--SID:02 {Ribbon}-->
                <!--PS: Start of READ-ONLY PREVIEW (do not modify) --><div class="DefaultContentBlock" style="background:rgb(0, 114, 198); color:white; width:100%; padding:8px; height:64px; overflow:hidden;">The SharePoint
    ribbon will be here when your file is either previewed on or applied to your site.</div><!--PE: End of READ-ONLY PREVIEW -->
            </div>
            <div id="s4-workspace" xmlns="">
                <div id="s4-bodyContainer">
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" xmlns="http://www.w3.org/1999/xhtml">
                        <tr>
                            <td align="left" valign="top" class="headerLeft">
                            </td>
                            <td width="886" align="left" valign="top">
                                <div class="header">
                                    <a href="https://purplechannelltd-public.sharepoint.com/">
                                        <img src="images/logo.gif" width="189" height="109" alt="Logo" />
                                    </a>
                                    <h1>Sustainability Advisory Services
                                    </h1>
                                    <ul id="topNav">
                                        <li>
                                            <a href="http://purplechannelltd-public.sharepoint.com/Pages/About-us.aspx">About us
                                            </a>
                                        </li>
                                        <li>
                                            <a href="https://purplechannelltd-public.sharepoint.com/Pages/News.aspx">News
                                            </a>
                                        </li>
                                        <li>
                                            <a href="http://purplechannelltd-public.sharepoint.com/Pages/Contact-us.aspx">Contact us
                                            </a>
                                        </li>
                                    </ul>
                                    <!-- top nav -->
                                    <div style="right: 0px; ; color: rgb(0, 51, 153); font-weight: bold; top: 25px;">
                                       BUSINESS ASSURANCE
                                                                    </div>
                                    <!-- twitter -->
                                    <div class="twitterSec">RT @damidefelice: @edgeoftheocean Anna Turrel shows how @TwoTomorrows assesses corporate human right
                                    </div>
                                    <!-- twitter -->
                                    <!-- search -->
                                    <!--<form action="" method="get" id="search">
                                        <input name="" type="text" class="searchText"/>
                                        <input name="" type="image" src="images/search-icon.gif"/>
                                    </form>!-->
                                    <!-- search -->
                                    <!--ADD!-->
                                    <div id="search">
                                        <div data-name="SearchBox">
                                            <!--CS: Start Search Box Snippet-->
                                            <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint,
    Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
                                            <!--MS:<SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox">-->
                                                <!--PS: Start of READ-ONLY PREVIEW (do not modify)--><div class="ms-webpart-chrome ms-webpart-chrome-fullWidth
    "><div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPart" width="100%" class="ms-WPBody noindex " OnlyForMePart="true" allowDelete="false" style=""><div componentid="ctl00_SmallSearchInputBox_csr" id="ctl00_SmallSearchInputBox_csr"><div
    id="SearchBox" name="Control"><div class="ms-srch-sb ms-srch-sb-border" id="ctl00_SmallSearchInputBox_csr_sboxdiv"><input type="text" value="Search..." maxlength="2048" accessKey="S" title="Search..." id="ctl00_SmallSearchInputBox_csr_sbox" autocomplete="off"
    autocorrect="off" onkeypress="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {if (Srch.U.isEnterKey(String.fromCharCode(event.keyCode))) {$find('ctl00_SmallSearchInputBox_csr').search($get('ctl00_SmallSearchInputBox_csr_sbox').value);return
    Srch.U.cancelEvent(event);}})" onkeydown="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {var ctl = $find('ctl00_SmallSearchInputBox_csr');ctl.activateDefaultQuerySuggestionBehavior();})" onfocus="EnsureScriptFunc('Search.ClientControls.js',
    'Srch.U', function() {var ctl = $find('ctl00_SmallSearchInputBox_csr');ctl.hidePrompt();ctl.setBorder(true);})" onblur="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {var ctl = $find('ctl00_SmallSearchInputBox_csr'); if (ctl){ ctl.showPrompt();
    ctl.setBorder(false);}})" class="ms-textSmall ms-srch-sb-prompt ms-helperText" ><a title="Search" class="ms-srch-sb-searchLink" id="ctl00_SmallSearchInputBox_csr_SearchLink" onclick="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {$find('ctl00_SmallSearchInputBox_csr').search($get('ctl00_SmallSearchInputBox_csr_sbox').value);})"
    href="javascript: {}"><img src="https://purplechannelltd-public.sharepoint.com/_catalogs/theme/Themed/E97CFE0A/searchresultui-61174269.themedpng?ctag=7" class="ms-srch-sb-searchImg" id="searchImg" alt="Search" ></a></div></div></div><noscript><div
    id="ctl00_SmallSearchInputBox_noscript">It looks like your browser does not have JavaScript enabled. Please turn on JavaScript and try again.</div></noscript><div id="ctl00_SmallSearchInputBox"></div><div class="ms-clear"></div></div></div><!--PE:
    End of READ-ONLY PREVIEW-->
                                            <!--ME:</SharePoint:DelegateControl>-->
                                            <!--CE: End Search Box Snippet-->
                                        </div>
                                    </div>
                                    <!--ADDEND!-->
                                </div>
                            </td>

  • Page content disappears in Edit mode - Custom Master Page

    Hi All,
    Below are the two issues I have with my master page.
    1) I am facing the strange issue with the pages created using custom page layouts and custom master page.
    In browse mode, everything looks perfect and as expected. But when I try to edit the same page, all content disappears as soon as page ribbon appears. When I click back on Browse tab on the ribbon, everything appears back normally. 
    2) Also When I apply my custom master page as site master for Publishing site it works I can see all my custom design and layout. But when I apply same for team sites, unless I change system master to my custom master page, it doesn't reflect my design.
    Does anyone face this issue before? 
    Thanks
    Pramod
    Pramod

    Once in edit mode, are you able to view the page's source and do a "Find" on a certain keyword that should normally appear in your page's content? Is it there?
    I'm trying to determine if its a server side issue with your master page's code that's causing the content not to be sent back across the wire to the user or if the content is there but just not properly presented. Thanks
    Nikolas Charlebois-Laprade Microsoft Certified Professional & Software Engineer http://nikcharlebois.com

  • Custom Master Page changes wont apply to few page layouts

    Dear All
    I'm having issue applying custom branding to SharePoint 2010 sites.. Branding works overall fine but it doesn't apply to few pages.
    For example if I click on Enterprise and Metadata Keyword Settings in Document library the changes are not applied. I notice it's a page called metadatacolsettings.aspx in layouts and I see it references application.master.. Similarly I see couple
    of other pages out of sync and all of them have application.master as Master Page..
    Any ideas why this could be happening.. Please let me know
    Thanks

    Hi,
    pls check below links
    There are a few things to consider.
    Have all page layouts / master pages been checked in and published / approved?
    Have you created a new page using the custom page layout?
    Are you creating or modifying this content?
    Keep in mind, the progression of rendering goes as follows:
    masterpages determine the ASP.NET structural layout.
    Page Layouts determine the SharePoint structural layout based on the masterpage ASP.NET structural layout.
    Your .aspx pages determine what content to display based on the Page Layout SharePoint structural layout.
     https://social.technet.microsoft.com/Forums/sharepoint/en-US/00d354cd-e49b-429f-8648-50251e1b39a0/changes-to-page-layout-not-refelected-when-using-custom-master-page?forum=sharepointcustomizationlegacy
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Custom Master page set as a default on feature activation in Moss

    I've a site in moss. I have created feature in my solution and on feature activation it will set the custom master page
    CustomMaster.master as a default master page and on feature deactivation it will set as a default master page
    default.master.
    The problem I'm facing is that if I'm activation the feature at first time then it will set the CustomMaster.master as a default master page but when I'm deactivate the feature it will remove the
    CustomMaster.master page and module. but when I'm again activate feature at that time it will not create mo1dule and CustomMaster.master in "_catalogs/masterpage/". So, no error was given on feature activation but
    it will give error while I'm accessing my site as a "File Not Found" because
    CustomMaster.master is not created.
    Code of Module.xml file
    <Module Name="Master" Url="_catalogs/masterpage"> <File Path="Master\CustomMaster.master" Url="Master/CustomMaster.master" IgnoreIfAlreadyExists="TRUE" Type="GhostableInLibrary"/> </Module>
    Code of method which is call on feature activation
    public void SetCustomMasterPage(SPFeatureReceiverProperties properties, string MasterPageName)
    try
    #region SetMasterpage
    SPSite siteCollection = properties.Feature.Parent as SPSite;
    if (siteCollection != null)
    foreach (SPWeb web in siteCollection.AllWebs)
    // Get the Site Collection root path to get the master page gallery.
    string siteCollectionRoot = web.Site.RootWeb.Url;
    // Set the Site Master to Custom.master
    var siteMaster = new Uri(siteCollectionRoot + "/_catalogs/masterpage/Master/" + MasterPageName);
    web.CustomMasterUrl = siteMaster.AbsolutePath;
    web.MasterUrl = siteMaster.AbsolutePath;
    // Clear the Alternate CSS
    web.AlternateCssUrl = string.Empty;
    // Save the changes back to the web
    web.Update();
    #endregion
    catch (Exception)
    Code of methods which are call on feature deactivation
    public void SetDefaultMaster(SPFeatureReceiverProperties properties)
    try
    SPSite siteCollection = properties.Feature.Parent as SPSite;
    if (siteCollection != null)
    foreach (SPWeb web in siteCollection.AllWebs)
    // Get the Site Collection root path to get the master page gallery.
    string siteCollectionRoot = web.Site.RootWeb.Url;
    // Set the Site Master to Custom.master
    var siteMaster = new Uri(siteCollectionRoot + "/_catalogs/masterpage/default.master");
    web.CustomMasterUrl = siteMaster.AbsolutePath;
    web.MasterUrl = siteMaster.AbsolutePath;
    // Clear the Alternate CSS
    web.AlternateCssUrl = string.Empty;
    // Save the changes back to the web
    web.Update();
    catch (Exception)
    public void RemoveCustomMasterPage(SPFeatureReceiverProperties properties, string MasterPageName)
    try
    using (SPSite sitecollection = (SPSite)properties.Feature.Parent)
    using (SPWeb web = sitecollection.RootWeb)
    string WebAppRelativePath = sitecollection.ServerRelativeUrl;
    if (!WebAppRelativePath.EndsWith("/"))
    foreach (SPWeb site in sitecollection.AllWebs)
    WebAppRelativePath = site.Url;
    if (!WebAppRelativePath.EndsWith("/"))
    WebAppRelativePath += "/";
    String MasterUrl = WebAppRelativePath + "_catalogs/masterpage/Master/" + MasterPageName;
    SPFile fileUrl1 = site.GetFile(MasterUrl);
    if (fileUrl1 != null)
    SPFolder folder = fileUrl1.ParentFolder;
    fileUrl1.Delete();
    web.Update();
    //attempt to delete the folder if it is now empty
    if (folder.Files.Count < 1)
    folder.Delete();
    catch (Exception)
    Pls guide me for solve this issue.

    Hello Sameer,
    When you are calling "RemoveCustomMasterPage" function?
    Also make below change in web.config file your web application to know the problem:
    1. Open up your sites web.config, and make the standard custom errors edit. You want it to be < customerrors mode="Off"/>
    2. Then, search for the CallStack="false" and change it to CallStack="true", you should find this in the "<safemode>" node.
    3. Find:   <compilation debug="false" />, Replace with: <compilation debug="true" />
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Custom master page applying on Publishing site template not in my site template?

    Hi,
    i have created a custom master page based on Publishing template Using Design manager (means converted html to aspx page) and then set all other control on the master page. now problem is master page applying only on Publishing site template not my site
    template. any one know why its happening, and how can resolve this issue?
    Thanks
    Mohammad

    Feature Stapling may be a solution - Please check -
    http://sharepointologic.blogspot.in/2013/04/branding-sharepoint-2013-my-sites-with.html
    http://www.codeproject.com/Articles/42129/Creating-branded-my-site-in-sharepoint
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Custom master page branding is missing buttons to add Web Parts

    I've created a custom master page which does not display the "add" or "cancel" buttons when adding web parts to the page. These elements are controlled by CSS tags such as: .ms-wpadder, .ms-wpadder-cell, .ms-wpadder-buttonArea, .ms-wpadder-zoneArea, #s4-ribbonrow
    among others. I have attached a screenshot on my SkyDrive account
    SharePoint Master Page Screenshot
    which displays the web part objects but not the buttons to add them to your page. The cells of the #s4-ribbonrow are red .ms-wpadder-cell have been colored orange for display purposes. Here is some code I am experimenting with to solve the problem
    #s4-ribbonrow{background-color:red !important; padding-bottom:50px !important;min-height: 43px; max-height:200px; overflow-y: hidden;}
    .ms-wpadder-buttonArea .ms-wpadder-zoneArea{padding-bottom:50px; background-color:aqua;}
    .ms-wpadder-cell{min-height:220px !important; background-color:orange;}
    .ms-wpadder{padding-bottom:50px !important;}
    #RibbonContainer{background-color:transparent;}
    body #s4-ribboncont{background-image:none; padding-top:150px;}
    Alex Dove - MA, MCP, SharePoint certified developer

    Hi Pivotal,
    I think you use other style, because I apply your style on v4.master but this hide all ribbon
    panels, anyway I think your issue related with  
    body #s4-ribboncont
    padding-top: 150px;
    Try to decrease or remove padding-top.
    Hope that helps a little
    Regards,
    Senior Sharepoint Developer [email protected]

  • Presence indicators not working on pages using custom master page

    I have a SP 2013 publishing site. I crated a custom master page using Randy Drisgill's starter master page for SP2013. All good so far. Then I created a page to hold a people search (refinement, search box and search results web parts). The search results
    show the staff info and photo but the colour to the left of the image is not there. They are all white. Also when you hover over the image you don't get the popup to send an email or start an IM.
    I initially though it must have been an issue with some of the javascript that my custom master page has included such as jQuery. Swapping back to the Seattle OOTB master page the presence indicators appeared, but it took a long time after the swap - like
    the JS was cached and when I swapped back to my custom master page the presence stuff worked for a little while before disappearing again.
    Then in IE developer tools I noticed that if I set it to use 10 instead of Edge the presence indicators always work. As soon as swapping back to Edge they die.
    So I'm confused as to whether it is a conflict with jQuery or some other JS on my master page or if it is that the IM presence indicators don't work in Edge.
    Has anyone had a similar experience and found an answer?

    No my master page does not have that in it. That is in Randy's 2010 starter master page but not in his 2013 one.
    The issue appears to be this line in the master page which was forcing IE to use Edge rendering engine which the init.js code must not be compatible with.
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    Switching to using IE 10 works.
    <meta http-equiv="X-UA-Compatible" content="IE=10" />

  • Applying custom master page on layout pages

    I am applying my custom master page on application layout pages which I am deploying using visual studio. My issue is; I have to copy my custom master page in the same directory where my layout pages exist otherwise its not working.
    I want to deploy my custom master in the default master page directory and refer it to my layout pages.
    is it possible or I have to copy my custom master page in the layout page directory ????

    Hi Nazish,
    By default your application pages will inherit the masterpage currently applied to the site where your app is hosted, but to specify a custom master on a app page you have to set the "CustomMasterURL" property on your site.
    Next your application page needs to inherit from the "LayoutsPageBase" class and you need to specify your custom masterpage on your application page with "~masterurl/custom.master"
    Regards, Pieter
    MCPD | MCITP
    My Blog
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

Maybe you are looking for

  • Erasing my hard drive with recovery disk not working

    So recently I was infected with Security Central malware and ran an anti-malware removal program, which worked for a week or so. Yesterday it came back and after attempting to run the anti-malware program again, it cannot find any, though Security Ce

  • Mac osx 10.6.8 itunes launches automatically and will not respond to quit or force quit

    mac osx 10.6.8 itunes launches automatically and will not respond to quit or force quit in the Activities Monitor.  When I quit or go into the Activities monitor and try to quit, it goes off, briefly, then immediately relaunches.  If i turn the compu

  • Projector & MacBook Resolutions dumbed down

    I'm a teacher, and my school installed ceiling-mounted projectors, with the wiring running into the walls. The projectors have nice resolutions of 1200 x 800 and higher. Upon plugging in my laptop via a projector cable that connects from the MacBook

  • Subscriptions and In-App Purchases

    Hello: In iTunes Connect, I want to setup an Auto-Renewable Suscription (with paid In-App Purchases) and also I want to setup separate In-App Purchases apart from the subscriptions so the user has to pay for "special" issues that are not included wit

  • Help, Ive taken a membership for lightroom and photoshop yesterday,buth it doesnt work..

    Help Ive had the trialversion for photoshop and lightroom and took a membership yesterday (12.99€/month). Everytime i open my creative cloud it says my trialversion is gone and i need to buy a membership.. BUT I DID..:( Anybody has any idea? I didnt