New answers tagged

0

Just a workaround if you have access to EventReceivers: Write a WebProvisioned Receiver and set the MasterUrl property of the new SPWeb object to the MasterUrl of your parent (or whatever Web you know of that is using the correct MasterPage).


0

<nav class="nav" id="navigation"> <!--MS:<asp:SiteMapDataSource ShowStartingNode="false" StartingNodeUrl="sid:1002" SiteMapProvider="GlobalNavSiteMapProvider" ID="topSiteMapLevel1" runat="server">--> <!--ME:</asp:SiteMapDataSource>--> ...


0

Go to masterpages http://YOURSITE/_catalogs/masterpage Find your masterpage and check it. Check version - Open Menu click View Properties if it is minor version like 0.1 then A) In ribbon click Files and Publish OR B) Open Menu and click Publish this version


-2

You can use : <link href="<% $SPUrl:~sitecollection/_catalogs/masterpage/css/style.css%>" rel="stylesheet" runat ="server"/>


0

(As mentioned by Paul in the comment) You need to publish a major version of your custom master page in order to allow non-administrator users to be able to access it. In addition, if you make any further changes to it, always ensure that you publish a major version before sharing with end-users.


0

I disabled the Minimum download strategy feature and now I am not experiencing the delay any more. Now during the partial updates entire page is loading. Strange thing is the load time of the page is faster then it was when the feature MDS was active.


0

You can use below line in your master page to access your JS file anywhere from entire site collection. <script type="text/javascript" src="<asp:Literal runat='server' Text='<%$SPUrl:~sitecollection/Style Library/Envera/Js/jquery-1.10.2.min.js%>' />"></script>


0

I was missing the .preview file in the location where my master page was residing. I took the seatle.preview file and renamed to my myCustomMAsterPagename.Preview and copied it to the located where the master page is residing.


2

By my understanding, you aren't getting any SharePoint specific styling for you custom areas because those areas probably have custom id/classes that aren't compatible with the selectors defined by "SharePoint OOB themes" (I am assuming we are talking of .spcolor/.spfont files). If that is the case, you don't have much choice: you will have to make your ...


0

I don't have much idea but may be issue will be resolved on creating custom theme, so no conflicted with other OOB theme.


0

Copy your existing masterpage html file to same directory with another name. New masterpage automatically will be created. Change site master page to new one and modify its html, as you want. Masterpages stored in /_catalogs/masterpage folder of your site.


0

You need to write the code as below. Need to ensure that sp.js , sp.runtime.js and sp.core.js are loaded. $(document).ready(function () { var scriptBase = _spPageContextInfo.webAbsoluteUrl + "/_layouts/15/"; $.getScript(scriptBase + "sp.runtime.js", function () { $.getScript(scriptBase + "sp.js", function () { ...



Top 50 recent answers are included