DISQUS

DISQUS Hello! SharePoint Magazine is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

SharePoint Magazine

SharePoint Magazine is an online magazine dedicated to the world of SharePoint and related Information Worker technologies.
Jump to original thread »
Author

Customizing Application Master Pages (MasterPages and SharePoint part 5 of 6)

Started by Arno Nel (SharePoint Magazine) · 8 months ago

This is the fith article in a six-part series on ASP.NET Master Pages and SharePoint. In this series we have discussed master pages and we have shown how to customize a master page. Before we finish up the process (i.e.: incorporating master pages into a SharePoint site definition), I would ... Continue reading »

15 comments

  • Excellent article, thanks Greg!

    I have seen this question come up many times and there was never a clear direction given by MS. This is by far the most elegant way to customize application.master.
  • Hi Greg,

    Excellent article, as always!

    If we had multiple web applications running, could we not check the top-level domain programatically and then use the appropriate customised master page? Would that get around the SSP issue?
  • I think that would work Peter. I'll have to give it a shot. Good suggestion.
  • I really like this approach but I would like a little more clarification. I'm not sure I understand the issues with the SSP. I think that you might instead be refering to the SSP being installed on the same web application. Http Modules are deployed per web aplication so if you have a separate web application for your SSP you would simply not install the Http Module there. Would this alleviate the issue?
  • Yes Ricl, you are correct. I don't know why I typed same server. I should have said the SSP shouldn't be on the same web application.
  • Thanks for the info, Ive been wanting to change these.

    I do have a problem, Im not all that great with Visual Studios, and am using 2008 version

    When I try to build the project, I get several errors around line 30 and 32

    Unexpected character and several otheres revolving around these lines.

    Do you think you can help?
  • Hey David,
    It is hard to say without more information. I don't know what line 30 and 32 are in your code. I might be able to help out, but I would need to know the exact error and what line of code it is happening on.
  • With regards to registering the module at "Step 2 - Register the module" it's worth mentioning which particular box in the farm people should be on. As a newbie I remember tearing my hair out making changes to the config file (there are dozens and they exist in several locations) only discover it was the wrong one. Small wonder my chanegs weren't taking effect. :)

    In the case of front-end web applications (as opposed to Central administration) the changes are made on _any_ Web Front End. SharePoint then picks these changes up and will migrate them to other front ens (if they exist). This is also true for registering safe controls or any other customisations you might need to register.
  • Hi Greg, Very good article, as it helps me a lot. I am just trying to replace the simple.master(default master for error.aspx) with my custom master. Do you have any idea that is it possible. If yes then can you please guide me with some thing related to that.
  • Hi FArrukh,
    I think you could implement the same technique as this article. Build a module that checks for that particular master page and switch it out. I haven't tried it with simple.master, but that should work just fine.
  • Hi Greg,
    Really good article, which I was searching.
    Just one issue I have faced, when I have used Sharepoint Designer to edit the content of CustomApplication Master.

    At the last I have found that this is the issue, and use Visual Studio to edit the master page.
  • Hi Greg,
    Thanks for the such a wonderfull article.

    We have implemented this for our application, but it is giving us an error for some of the pages
    -on the people.aspx
    -it also give us the errors while we are trying to create new column in the lists
    etc.
    Appreciate your any suggestions.

    Thanks,
    Dhawal
  • Some issues with search controls on application.master:

    Their OnPrerender events register search.js, which overrides the ShoWhideGroups JS function used on ViewEdit pages (that one was fun to debug...)

    They apparently may break Workflows: http://clintcherry.spaces.live.com/Blog/cns!AEC...
  • Excellent Article and your whole series of 6 Part is very nice.... But one concern for current article had you find any work around to apply master pages on applications if one have SSP and SP Server on same webapplication....
  • I've spent the the past 2 months architecting and preparing for our Moss implementation. To this point, I've relied on a custom theme/css because of this issue alone. This is by far the best solution I've seen for addressing this headache. Thank you for posting this article.

Add New Comment

Returning? Login