Custom Web Part Page Layout RRS feed

  • Question

  • Hi,

    I want to create a custom web part page layout in Sharepoint 2010. The 8 layouts that are already present do not suffice our needs. I found an article for this for WSS 3.0 but that solution is not working and it gives an error when we create a new page using that layout. I am able to create an additional spstd9.aspx in 1033/STS/DOCTEMP/SMARTPGS. The main part causing problem here is the change in code for page "spcf.aspx". 

    If anyone has done this, please share your solution.



    Friday, November 23, 2012 7:53 AM


All replies

  • Hey,

    Suggest me if i am wrong in understanding your problem.

    You want to create a new page layouts where you can place webparts right?

    you can easily do it in the SharePoint Designer.

    Go through following links :



    "The Only Way To Get Smarter Is By Playing A Smarter Opponent"

    Friday, November 23, 2012 8:00 AM
  • Hi,

    You need to create a new page layout.

    You can find a sample in this code samples: SharePoint 2010 101 Code Sample - in the WCM_PageLayout project.

    For designing the page layout using SharePoint Designer check this blog post: How to Create Custom SharePoint 2010 Page Layouts using SharePoint Designer 2010.



    You can find my blog here: http://developertrack.blogspot.com

    Friday, November 23, 2012 8:06 AM
  • Thanks Ravi but your solution is for publishing pages whereas I am looking for a solution specifically for web part pages.

    Something like this except that it is not working

    Friday, November 23, 2012 8:13 AM
  • Dan,

    Your solution too is for publishing pages. My guess was that this would be a common problem given that web part page layouts are limited. How do you do it in case of team sites? 

    Friday, November 23, 2012 11:41 AM
  • Hi Sulabh,

    To custom the web part page layouts, there is also a sample shows how to do this with SharePoint Designer, you can have a try:
    Creating your own Web Part Page Layout Template:


    Qiao Wei
    TechNet Community Support

    • Marked as answer by Qiao Wei Monday, December 3, 2012 1:20 AM
    Tuesday, November 27, 2012 6:51 AM
  • I have used this successfully in the past. Here is a link to a blog post by a SharePoint developer in India.


    I've done this and it works.

    Friday, December 7, 2012 10:05 PM
  • Thanks Alex. I tried this and though it works, there are some issues. Like the Title bar properties button does not work. Did you face this issue?
    Saturday, December 8, 2012 6:47 AM