Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Edit Page options in ribbon disabled after applying modified Seattle Master Page

$
0
0

Hi,

I'm working on a modified version of the Seattle.master page, and I have an odd permissions issue that is seen when my user (a farm admin) tries to edit a page on the site. On some pages, clicking Edit Page doesn't do anything at all. On others, I've been able to go into edit mode but not do anything with the Edit options afterward. In this scenario, most or all of the useful edit options are disabled, and I cannot use Save, Checkout, Discard the Checkout, Change the Page Layout, etc...

Checking the JavaScript console in IE reveals this JS error that I don't see in the OOTB Seattle:

SCRIPT5007: Unable to set value of the property 'href': object is null or undefined 
[our.site.com], line 1128 character 590

Here's the function being referenced:

function _cUpdconetidProjectPropertyTitleGraphic(data, ctrl){ ctrl.href = slNavUrl; }

Other possibly helpful information:

Here is a snippet from the modified Seattle Master Page of where the ribbon code sits:

<div id="s4-workspace" class="ms-core-overlay"><div id="s4-bodyContainer"><SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationRestrictions="AnonymousUsersOnly"><wssucw:Welcome runat="server" EnableViewState="false" /></SharePoint:SPSecurityTrimmedControl><div id="ms-designer-ribbon"><PublishingRibbon:PublishingRibbon runat="server"/>    </div>
As you can see, I have moved the Ribbon (div#ms-designer-ribbon) from its fixed position outside of the div#s4-workspace to inside of the div#s4-bodyContainer so that it scrolls with the page. Placing the ribbon inside div#s4-bodyContainer shouldn't be an issue, as I've made a Design Manager Master Page in the past and placed the ribbon there as well without issue.

Does anyone know how I can get this modified Seattle master page to allow editing?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>