I am trying to customize the "my profile" page (person.aspx, "my site host" site collection) in SharePoint 2010. For example, I would like to:
- Add/delete some webparts
- Delete links from top navigation bar
- Hide quick launch bar
I know I could do this with the Sharepoint UI or Sharepoint Designer, but I would like to have a Visual Studio Solution to do this. It is important that the solution can be (easily) updated in the future and allow me to customize other profile pages.
Would any of the following work?
- A Feature in VS and add the code to customize the page in the "featureactived method"
- Feature stapling
- Import person.aspx or a site definition in VS and then directly customize it
What would be the best practice?