Forum Discussion

John Aage Andersen's avatar
John Aage Andersen
Iron Contributor
Sep 20, 2016

Site Pages, which page layout is used? and where are they?

We have several site pages that seems to be based on the Wiki Page. As far as we understand, every page in our site is based on the Master Page, a Page Layout and the Page itself.
Please correct us should this be wrong :)

The site pages shows their page title as the Name (aka filename) property. We need the site pages to show the Title property, thus may need to correct the Page Layout.

How do we identify the Page Layout being used and where is it located?

Kind regards, John

6 Replies

  • If you would open the page in SharePoint designer and go to advanced mode you will end up in the correct Page Layout 

     

    But be aware you are changing it for every body who uses the page layout best practice would be to make a copy of the Layout in a new pagelayout and use that one so it does not interfer with default page layouts pushed by MS.

     

    Kr,

     

    Paul

    • John Aage Andersen's avatar
      John Aage Andersen
      Iron Contributor

      Thanks Paul

       

      In Sharepoint Designer, in Site Pages, located the page "SD-team.aspx", in the file settings it states "This file is based on a file from the site's definition". Thus this file/page should be based on a Page Layout.

       

      Using right-click to open the context menu, I see the option "Edit File in Advanced Mode" - is that the one you mean?

       

      Using the option open the file/page in the Editor, showing the code. In the code I can read a namespace "Microsoft.SharePoint.WebPartPages" - does that mean that this file/page is based on the Web Part Page Layout?

       

      Still not able to see any Page Layout with a name like that in any of the site locations/folders?

       

      Would it be possible for you to show the steps to identify the Page Layout and where it is located?

       

      Kind regards, John

      • Deleted's avatar
        Deleted

        Hi John,

         

        looked a bit more i guess this blog is  a good start point.

        https://blogs.msdn.microsoft.com/kaevans/2011/04/02/page-layouts-in-sharepoint/

         

        If you go to this link https://tennant.sharepoint.com/_layouts/15/sitemanager.aspx

        you can browse to the masterpage gallery and see which pagelayouts there are to edit/copy and edit

        you can also see how many contenttypes are connected to different pagelayouts.

Resources