New answers tagged

0

You can update Master page of any site using powershell by using following code $site = Get-SPSite http://sp:2000/sites/Ex15 foreach ($web in $site.AllWebs) { $web.MasterUrl = $site.RootWeb.ServerRelativeUrl + "/_catalogs/masterpage/oslo.master"; $web.CustomMasterUrl = $site.RootWeb.ServerRelativeUrl + ...


0

You can update Master page of any site using powershell by using following code $site = Get-SPSite http://sp:2000/sites/Ex15 foreach ($web in $site.AllWebs) { $web.MasterUrl = $site.RootWeb.ServerRelativeUrl + "/_catalogs/masterpage/oslo.master"; $web.CustomMasterUrl = $site.RootWeb.ServerRelativeUrl + ...


1

If you want to Expand the scrollbar past the ribbon than please follow steps mentioned in below given URL. Expanding the scrollbar past the ribbon. It will work for sure. Thanks.


0

While I haven't tried this myself I believe that answer is yes as long as you upload your custom css file to the Themable folder in the style library. From MSDN documentation: "Only CSS files that are stored in the Themable folder in the Style library are recognized by the theming engine." Something to keep in mind, when you go to change your theme it will ...


2

User Custom Actions (ScriptLinks) can apply one JavaScript file to your whole Site Collection or one Web (site) I used it in the recent New Library View which doesn't have a MasterPage or JSLinks and wrote a short note on my learning for the Yammer group: SP FrameWork ►Client-Side◄ https://www.yammer.com/itpronetwork/#/notes/2872092 [ok, I just checked ...


2

Follow below mentioned steps. Inside the current site's Site Settings, navigate to Site Collection Administration > Site Collection Features. Activate SharePoint Server Publishing Infastructure if it's available... if it's not, you may be using SharePoint Foundation. Navigate to Site Actions > Manage Site Features, and activate the SharePoint Server ...


1

You can find the way for changing the MasterPage from How to give a subsite a specific master page? If the MasterPage option is missing under Look and Feel then you need to verify few things Your parent Site Collection must have SharePoint Server Publishing Infrastructure Feature activated from Site Collection Feature Your subsite must have SharePoint ...


0

That article does miss a few of the details. Here are a couple things you may be missing: The script uses 3 additional javascript libraries jQuery, Knockout and Linq.js. You'll need to download them and add references to those libraries in your masterpage. Something like this: <script type="text/javascript" src="scripts/jquery.min.js"></script> ...


1

Firstly I agree with @Aveenav that you should look into the building wsp package, that will follow Sharepoint model, it will place the master page in layouts directory, push it if you connect servers etc. But if you really need to, you can place in the SP library, and call it from there (you can place in the layouts as well but you will have to keep that ...


-1

Try: {your site}/_layouts/15/ChangeSiteMasterPage.aspx Amal's answer didn't have the 15 in it. I don't have enough rep to add a comment to his solution.


0

Instead of using PowerShell, create a WSP package and hookup and event receiver for the feature that sets the master page. That way you can apply same master page to sub sites.


0

Maybe I'm missing what you are trying to accomplish but why wouldn't you just create a table or div in the top of the in the table after the </sharepoint:SPSecurityTrimmedControl> <!--Hide Ribbon if Read Only Permissions --> <Sharepoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl2" runat="server" ...


0

Try appending URL /_layouts/changesitemasterpage.aspx



Top 50 recent answers are included