The master page is a feature that enables you to define common structure and interface markup elements for your Web site, including headers, footers, style definitions, or navigation bars. The master page can be shared by any of the pages in your Web site, called the Content Page, and removes need ...

learn more… | top users | synonyms

0
votes
2answers
45 views

adding on load in body in masterpage

simple question, I am editing a masterpage and have inserted a js file that has a function that needs to be invoked with body onload. How would I be able to do this in the masterpage?
0
votes
0answers
285 views

Create and use Master Pages in Visual Studio 2013 for SharePoint 2010

Is it possible to easily create a Master Page and reference it in an Application Page in a brand new (Empty) SharePoint 2010 solution using Visual Studio. Something like this but for SharePoint 2010. ...
0
votes
1answer
408 views

How to hide a masterpage div when displayed in a SharePoint dialog window

I have a sharepoint 2013 portal. I have customized the masterpage by adding a div with a background image. How can I fix this? I only would like to show this header image in the header of the ...
2
votes
1answer
100 views

Issues with SharePoint Security Trimmer control

I notice that using the security trimming control (say for RibbonBox) only hides the content, I want something like display:none, can we achieve this?: CASE 1: ...
0
votes
1answer
102 views

The resource cannot be found - User Control in a MasterPage

I wanted to add a user control to a MasterPage. I added the control to a VS Solution and deployed it. Then I opened the MasterPage via SharePoint Designer and added the following code: <%@ ...
1
vote
1answer
110 views

What is the way to use security trimming in masterpage deployed via VS in 2013?

This article mentions how we can modify the masterpage html file in SP2013. However, we are deploying a '.master' file and setting the masterpage via VS package. What is the way that we can perform ...
1
vote
1answer
93 views

CSS file not working on my masterpage

I am using SharePoint 2013 365 and made a .css file to disable wrapping for the drop down menus and higlight with colors when I hover over them. I pointed SharePoint to my .css and when I am in ...
1
vote
1answer
207 views

2013 - Can't edit the subsites Master Pages

Situation : On my SharePoint root site, I can modify without any problem my master pages. But from this root site, I've created few subsites. I would like to edit master pages from theses subsites in ...
6
votes
2answers
398 views

Is there a way to hardcode the masterpage to change/remove the top left 'Sharepoint' text?

We can do it in few lines of powershell: $webApp = Get-SPWebApplication http://tozit-sp:2015 $webApp.SuiteBarBrandingElementHtml = "Awesome Text Goes Here" $webApp.Update() I want to know if there ...
0
votes
2answers
83 views

Is there a way to hardcode the site logo image path in the masterpage?

We are have a webapplication and have deployed a feature stapler that assigns the master page to each newly created site (reference). I want to know a way in which we can hardcode the image path into ...
0
votes
1answer
80 views

Make masterpage as generic for all site collection and sites in SP2013

We have created a masterpage by editing the seattle.master. It is applied to the present site. We want to apply this master page for all sites present in the web application. Also, whenever we ...
1
vote
2answers
27 views

How to use a blank master page?

We have created a blank master page in SP2013 designer and set it as custom and deafult masterpage. Now, if we open any of the site page then we get the error:technical error.
0
votes
2answers
439 views

How to deploy masterpage to entire site collection?

we have masterpage on sp2013. When we set masterpage to default then at what scope does it get applied? a. site? b. site collection? c. web application? How can we apply the same masterpage ...
1
vote
1answer
75 views

Is it good practice to change masterpage at runtime?

We have 100 users logging into and using the site simultaneously. We are planning to change look based on loggedin user's profile property value (true/false). Either set master1 or master2 as ...
0
votes
0answers
74 views

Reuse (DataFormWebPart) webpart in old sp 2010 masterpage into new sp2013 masterpage, how?

I have a sharepoint 2013 portal. This site is migrated from sp2010 to sp2013 by a backup of the content db. This backup is restored in a sp2013 environment. No I try to rebuild the existing sp2010 ...
0
votes
2answers
39 views

masterpage after migration from sp2010 to sp2013, topbar has strange backgroundcolor!

My colleage has migrated sp2010 to sp2013. He backuped the content db and restored it on another farm in sp 2013. Now the sharepoint portal is running, but the topbar is showing some ugly background ...
1
vote
3answers
310 views

How to create an VS application page that does not inherit the master page?

We are creating an application page and do not want it to inherit the masterpage. Is this possible?
1
vote
0answers
140 views

How to implement Infinite scrolling to SharePoint 2010

For example: The search page in SharePoint takes me a long period of time for loading results (what if I got more than 1 million results) so I need to display only 20-30 results first and then for ...
0
votes
0answers
18 views

Issue with using colors on oslo.master masterpage

Designer --> Master Pages --> create an empty master page (copy of oslo.master) Try this: <div class="ms-belltown-anonShow" style="background-color:red"> You will see that this is not ...
0
votes
1answer
41 views

What is purpose of specifying masterpage when creating composed look in SP2013?

I created composed look with: Modified oslo.master (removed top links) New .spcolor file created using SharePoint color palette tool No image No font file Then I applied this composed look. The ...
1
vote
1answer
39 views

Change site looks based on loggedin users profile property

Which is best practice to achieve change in look (color of top bar) based on a custom user profile property? Property has value yes/no/null. Using pre init event to change masterpage dynamically? I ...
0
votes
1answer
180 views

How to access div id (with runat=“server”) on MasterPage via User Control?

We have masterpage with DIV id="new-div". We have deployed a user control on this masterpage. I would like to know how can we access the new-div via the user control? We need to add some css based on ...
1
vote
3answers
309 views

What should be scope of masterpage feature?

Here is my code on feature activated:- SPWeb topLevelSite = properties.Feature.Parent as SPWeb; if (topLevelSite != null) { // Calculate relative path to site from Web ...
0
votes
1answer
55 views

Styling a 2010 publishing site using a feature - Not enough information to determine a list for module

I've got a site collection which currently only has one web site (the root web). The styling comes in a Site level feature with a few modules to deploy the master page, the CSS, and other resources, ...
0
votes
0answers
113 views

Do we need to write feature event receiver for master page if we are using composed looks?

Generally when deploying the masterpage via VS 2012, we create module, then copy/paste the existing 'seattle.master' and edit where necessary, update the elements.xml file to URL ...
0
votes
1answer
39 views

Why do we need to activate/deactivate the feature in case of module project when deploying file?

What is the pupose of the feature when deploying masterpage via VS 2012 module project? I tested and noticed that deactivating this feature does not remove the masterpage from the ...
0
votes
0answers
29 views

How do I mark the link in the navigation I visit? SharePoint 2010

I have created a new navigation to a flat site collection on SharePoint 2010. But the navigation looks like this: I want to move the marker from "Home" to the page I visit. But I have no clue on ...
1
vote
1answer
111 views

Selected Menu Item - Oslo MasterPage

I'm using SharePoint 2013, with the Oslo masterpage, and I've disabled the default navigations and create my own menu in the master page. The issue is that the menu doesn't show what page you are on. ...
0
votes
1answer
165 views

SharePoint 2013 Web Templates Masterpage not found

I created a new web template for SharePoint 2013 (as Farm solution, because it has to be selected when creating a new site collection). The site collection creates succesfully. But when I navigate to ...
3
votes
1answer
77 views

Hide and disallow access to ribbon except for users in SP Administrators Group

I have a SharePoint 2010 site using a custom themed master page. It does not show the standard SharePoint ribbon. However, users are able to append showRibbon=true to their URL to see the ribbon. I ...
0
votes
1answer
62 views

Change Minimal master page Links and Options

In SharePoint 2013 Business Intelligence site I give access to some users as Visitor and I want them to not see some options and links like NewFeed, SkyDrive, Follow , Settings etc. How can I hide ...
3
votes
1answer
459 views

Placing the search box in the header

I am working with a company that has supplied the branding I am using to create my master page. I have successfully imported and converted this with most of my content appearing in the <div ...
3
votes
1answer
596 views

SharePoint 2013 masterpage + bootstrap compatibility with Internet Explorer 8

I’m currently developing a SharePoint portal that will mostly be used by clients with Intern Explorer 8 with responsive design requirement. As a result compatibility with IE 8 is pretty important. I ...
1
vote
0answers
106 views

Oslo Masterpage - How to decrease the height of ms-dialogHidden ms-core-header ms-tableRow?

I want to decrease the height of one of the elements. It's the header. I identified it using IE, as ms-dialogHidden ms-core-header ms-tableRow. I tried setting the height in the css, but nothing ...
0
votes
1answer
74 views

Setting asynctimeout property for scriptmanager in web part

I have a web part which takes long time to load and results in time out. I read there is a property in scriptmanager which by default is set to 90 seconds. Is there some way to increase this ...
5
votes
1answer
194 views

How do I localize page layouts and masterpages in a sandboxed solution?

In farm solutions you can use resource files inside aspx-pages by deploying resx-files to the hive. MSDN have some documentation but there's no example for page layouts, just managed code which is ...
1
vote
1answer
855 views

Sharepoint 2013 - How to add basic header to a Oslo masterpage?

I'd like to add a header to the Oslo masterpage, but I can't figure out how. Does anyone know? Thank you very much. This is what I use for the footer of the page. Update: <SharePoint:AjaxDelta ...
0
votes
1answer
83 views

How to define scriptmanager timeout property in custom master page

I have a custom master page. When you create a custom master page then another page with similar name is automatically created by SharePoint. For e.g. my master page name was mymaster.html so ...
0
votes
1answer
298 views

SharePoint 2013 - How to add additional page head?

I am using the Oslo Masterpage, and it has an AdditionalPageHead control, which I'd like to use. I'm using the footer currently and I'd like to add the header but I don't know how. I added the ...
1
vote
1answer
87 views

How can you set a site-level master page on the Web?

I have a SharePoint 2010 site collection that doesn't have publishing features enabled (on purpose), and was wondering if it was possible to set the site's default master page... without using ...
2
votes
2answers
332 views

custom master page / branding from _layouts instead of provisioning feature

Is it possible to apply a custom master page and theme to a site from the layouts folder instead of provisioning them down to the site with a feature? I'd use code and a feature receiver, but not sure ...
2
votes
2answers
595 views

“Master Page” option from site look and feel is missing

I knew from previous experience that many SharePoint sites had a section under Site Settings > Look and Feel labeled "Master Page"... however I could not find this section. There were tutorials ...
0
votes
1answer
417 views

Add custom web application/page which uses files from other folders

I've created a JavaScript web browser game. The HTML page, Game.html, within folder Game references several other JS/jQuery/CSS files stored in sub folders. I simply want to add the Game folder, ...
1
vote
2answers
135 views

the color of the upper blue horizontal bar does not change in IE8

I followed the instructions in this other theard and I am having a problem with IE8. It works fine with Chrome and Firefox. I have cleaned the cache. Here's what I have done: myTest.css ...
0
votes
0answers
173 views

scrollbar is not working in IE 8

we are having a bit of problem with the scrollbar in SharePoint 2013 in IE8. Anyone has got any where should look or what should I change? EDIT: We are using custom materpage, custom page layout and ...
1
vote
1answer
220 views

SharePoint 2013 Ribbon Change Functioning of the Scrollbar

I have noticed on SharePoint 2013 that the scroll with the ribbon activated differently than when the ribbon is not activated. When the ribbon is activated (clicking the Page Tab), the scroll for ...
1
vote
0answers
102 views

Custom Master Page Ribbon does not push down content

In my custom master page, I want the ribbon to push down the content. Since it doesn't push the content down, it will be hard to edit some properties since the ribbon will simply be upon some input ...
1
vote
1answer
268 views

Customizing “Something went wrong” page by showing same header and footer as custom master page

Is there a way to customize that error page which says "Something went wrong" and then below it, it shows Correlation ID? I want this page to use the same Master Page as my Publishing site is using ...
1
vote
0answers
143 views

create and use nested master page in aspx page as module for sharepoint 2013 using visual studio 2012

I have added one aspx page by taking Module in Visual Studio. I have to do something like; I have to show messages for error and successful completion of the task i.e. Item added successfully I have ...
0
votes
1answer
323 views

Add Sharepoint codes/tags in html master page

SP newbie here. Just wanna ask if I can add Sharepoint tags in the HTML master page (.html file). I am quite confused on where should I put my codes. Most articles I found on the web say I should ...