Monday, October 7, 2013

VS2012 solution to deploy branding masterpage for Sharepoint 2013 Publishing Sites

First of all, thanks to Kyle Schaeffer's awesome responsive starter SP2013 masterpage project, see here:

I've taken Kyle's package and made a VS2012 solution that you can use to deploy to a Sharepoint 2013 Publishing Site.

This is a Site scoped feature so make sure your feature receiver is Site scope not Web scoped (otherwise you will get a "Object reference" error when you try to deploy.

This is how it should look when you deploy it.

I've not added a feature receiver to automatically switch the site masterpage to this one after you deploy. I simply used the UI to do it, ie. Site settings > Masterpage.

Here's the link to the solution. Have a go and let me know what you think!

Happy coding :)

No comments:

Post a Comment