Page layout is the part of graphic design that deals in the arrangement and style treatment of elements (content) on a page.

learn more… | top users | synonyms

42
votes
7answers
26k views

How to update custom master page and page layout, which is already deployed

I have a feature which deploying custom page layout. It's done by this code: <Module Name="MasterPageModule" Url ="_catalogs/masterpage"> <File Path="MasterPageModule\defaultTemplate.aspx" ...
15
votes
5answers
21k views

Sharepoint 2013 add css in a page layout

I'm trying to add my custom CSS file in my sharepoint 2013 page layout. I add it with the link tag or with CSSRegistration and when the page is rendered, the css does not appear in the source. Also I ...
11
votes
1answer
520 views

Page Layout html page field filter outside of web part zone

I have a page layout with some web parts outside of a webpart zone so that they are added to already created pages which use the page layout. I want to add a page field filter to the page as well ...
7
votes
2answers
146 views

Pulling hair out: How to customize MOSS2007 site to be front facing

I have a client that I've been working for that has a front facing MOSS2007 site, and wants another one. I originally did the work by using SD2007, creating a master page, and then creating a bunch of ...
6
votes
4answers
1k views

Do updates to page layouts reflect on current pages?

I am working on a 2010 Publishing site. We have a bunch of pages tha are based off of a layout that controls news stories. We have made the change in the layout which is just adding some additional ...
6
votes
1answer
322 views

SharePoint Designer broke my Page Layout. How do I repair it?

I have a Page Layout which is used by some Publishing Pages, and uses code-in-front like <%= DateTime.Now %>. I opened this Page Layout in SharePoint Designer and modified it and saved it, and ...
6
votes
1answer
2k views

setting page layout using JSOM

I want to change page layout for some of my publishing pages using a SharePoint-Hosted app. Is there a way to changing (setting) page layout to a publishing page using JavaScript?
6
votes
2answers
480 views

Can't deploy packaged page layouts because they are already in the content database

In our SP2010 publishing site we have a lot of content (publishing pages) which are associated with custom page layouts. These page layouts have previously been edited on the server using SharePoint ...
6
votes
3answers
215 views

Equivalent of a database table in SharePoint?

I'm making a Publishing site, and part of this site will display information about company products. We have a number of products, and each one should have its own description page. The description ...
6
votes
1answer
807 views

SharePoint Bug? Conflict Error when saving a Page with a “Required” DateTime field in the page layout

I've just recently encountered a weird error / bug in SharePoint. Here is the scenario: I have a custom column "Test Date" that is of DateTime field type. The field is configured as required. It is ...
5
votes
1answer
11k views

How do I find the ID for associated content type when adding a page layout?

I'm following the creating a page layout in this example http://blog.beckybertram.com/Lists/Posts/Post.aspx?ID=71 It adds a page layout using this xml, <File Path="masterpage\MyCustomPageLayout....
5
votes
2answers
1k views

Upload Master Page / Page Layouts using PowerShell

I want to know how to provision a page layout using PowerShell (CSOM) for Sharepoint Online? Any information,examples etc are welcome. I know this can be done using SharePoint hosted App as well. I ...
5
votes
1answer
427 views

How do I localize page layouts and masterpages in a sandboxed solution?

In farm solutions you can use resource files inside aspx-pages by deploying resx-files to the hive. MSDN have some documentation but there's no example for page layouts, just managed code which is ...
5
votes
1answer
2k views

FieldName for Field Controls added to a Page Layout in SharePoint Designer 2010

In SharePoint Designer 2010, when I drag a field from the toolbox onto a page layout the generated field control uses the field ID for the FieldName attribute. <PublishingWebControls:RichHtmlField ...
5
votes
1answer
2k views

What is the recommended approach to update page layout

I have an intranet publishing portal with web-templates and custom page layout. I get requirement to update page layouts and the way I have been pushing any changes to page layout is Updating ...
5
votes
0answers
641 views

Filtering an XLV with a Managed Metadata Field in a Publishing Page Layout

I have a custom Page Layout which inherits from Enterprise Wiki, with an additional column of type Managed Metadata. In SharePoint Designer, I place this field as a control onto my customised page ...
4
votes
3answers
3k views

Page layouts vs. Master pages

When do you create a custom page layout vs. a custom master page for a site? Is it good practice to create custom page layouts only for limited branding of SharePoint 2010? I'm thinking the page ...
4
votes
4answers
7k views

Page Layout editing in Visual Studio: “Unrecognized tag prefix”

When editing a Page Layout in Visual Studio 2010 the 'asp' prefix is not recognized. For example: <asp:Content contentplaceholderid="PlaceHolderBreadCrumb" runat="server"> Has 'asp' green-...
4
votes
3answers
8k views

SharePoint designer is showing “Server error: this file may not be moved, deleted, renamed or otherwise edited”

I want to edit the seatle.master master page for my enterprise wiki site collection. So I did the following:- I copy the seatle.html inside the SP designer. Paste it. It automatically creates two ...
4
votes
1answer
1k views

SP2013 special chars broken in HTML page layout

I'm creating some page layouts for my custom .master in a SP2013 Publishing SC. There are some hard coded texts in the layout. Since it's for a German client there will be some special chars like ...
4
votes
3answers
236 views

Is there a way to display a warning message inside my enterprise wiki page layout , when the page status is Rejected

I am working on a publishing site collection using the Enterprise wiki template. Currently I got this behavior regarding the versioning setting. For the library I specify that the library content ...
4
votes
1answer
2k views

How do create a page from pagelayout using code in sharepoint 2013

I was wondering, what APIs are available if I'm writing a farm-based sharepoint solution, for sharepoint 2013. Basically I read about this thing called Page Layouts, and they seem like page templates....
4
votes
2answers
3k views

Structuring wiki pages with templates in SharePoint 2007

I need to create a custom template for SharePoint 2007 wiki pages. With ability to add multiple web parts zones on Wiki Page. Is it possible to do that, as I have read from online that wiki pages in ...
4
votes
1answer
1k views

Page Layout html xsltlistviewwebpart with custom view

GOAL: I am trying to create a custom page layout based on a custom content type that contains 3 xsltlistviewwebparts which use custom views that were created for the lists in the browser. I have ...
4
votes
3answers
2k views

Customizing the default alert type on /_layouts/subnew.aspx?

On the alerts dialog page for a list, can the default change type be configured to be "New Items added" instead of "All changes" for everyone. Can this be done through subnew.aspx which under the ...
4
votes
1answer
647 views

Creating pages dynamically through code?

First thing is first, I'm doing this in Sharepoint 2013. I'm not exactly sure what the best approach is to be, so I'm explaining my problem and hopefully people can throw around some terms or ideas ...
4
votes
1answer
385 views

Default Webparts not rendering in a RichHtmlField on a custom page layout built in Visual Studio

I have a bit of a conundrum.I've built a Visual Studio solution for SharePoint 2010. It comprises of a custom master page and a bunch of page layout templates. I'veAssembled a master pageAssembled a ...
3
votes
2answers
201 views

The same CSS displays different view in SharePoint 2013

I have a customed CSS file. I add it in my farm solution and then deploy. And it works well. But some persons do not have same view as me. I don't know why. We are in the same company, have the same ...
3
votes
3answers
14k views

How Can I Change My Intranet's Homepage Page Layout?

As part of the branding of our new SP2013-based intranet, I have created a new custom Masterpage and Page Layouts and set this as the default Masterpage. I have also created a custom Masterpage and ...
3
votes
2answers
5k views

Path to jQuery file for SharePointWebControls:ScriptLink

I'm working in SharePoint 2010 Designer to create a custom page layout. I've added a SharePointWebControls:ScriptLink control but am not sure what the path is to my jQuery library. It's uploaded to ...
3
votes
3answers
913 views

More than one Pages library?

We have requirements where we need to add multiple pages libraries on a site, but this seems impossible to do via both the GUI and code. Is it all possible / supported ?
3
votes
3answers
1k views

Search in List view on publishing page layout

UPDATE after trying the OOTB list app: I have a strange issue with placing a list view web part on a publishing page layout. The searchbox is displaying, but when I search it does not load any ...
3
votes
1answer
4k views

Possible to set the default page layout for a site using Powershell?

I have a bunch of sites in which I would like to change the default Page Layout. Is there a way to set this to a custom Page Layout using powershell? (The page layout is already on all the sites) ...
3
votes
2answers
41 views

Create Page Layouts in SP 2010

Need to create Page Layout with multiple trs and three columns layout in my SP 2010 site collection. I have a requirement to create a home page with the above and add an image and description of the ...
3
votes
1answer
195 views

Removing page from content database via feature deactivation

I deployed page via module. Module is deployed via feature (method FeatureActivated). After that process page is deployed in content database. What I need is to be able to delete (remove) page from ...
3
votes
1answer
46 views

Is there a way to only load javascript based on the authenticated or anonymous user?

We have several page layouts that are calling a javascript file and we are trying to improve our page speeds and we figured we only need to call this js file if the user is logged in. Otherwise for ...
3
votes
2answers
771 views

Update available page layouts of web using CSOM

Is it possible to update the available page layouts of a web using CSOM? In the interface you can change them by going to the site setting and then to page layout and site template settings, but I ...
3
votes
4answers
9k views

SharePoint 2013 Fixed-Width Master or Fixed-Width Page-Layout or both?

I'm planning a Site and I know the default landing page needs to be a fixed width. I've also seen the awful things fixed-width does to Lists and Libraries (A List with too many columns looks ...
3
votes
1answer
2k views

How can I update a publishing page's page layout via PowerShell?

I have a few publishing pages that need a page layout change. The layout includes a Content Editor Web Part pointed to an html file in the site assets folder. The layout changes but the Web Part ...
3
votes
2answers
986 views

How to put web parts on publishing pages?

Scenario: On a intranet page there is several site verticals (hierarchies) (e.g products and services). Now I want for each site to have a familiar welcome page. How is it best to put web parts on ...
3
votes
1answer
62 views

What's the point of xlmns:ie=“ie”?

Sharepoint page layouts often include the following markup: <div xmlns:ie="ie"> <!-- contents --> </div> What's the use of the attribute xlmns:ie?
3
votes
2answers
11k views

Copy a page across different site collections

Our SP2013 farm contain 10 site collections. Each collection have their own Master page. In one of site collection I created a page with some OOB search webparts and a customized natvigation webpart. ...
3
votes
1answer
985 views

Provision Master Page / Page Layouts in SharePoint 2013: App vs Feature

I was looking at a video, and the presenter created a scenario to push master pages and page layouts into the Master Page Gallery and set the master page of the site collection by use of an App. In ...
3
votes
3answers
1k views

Document Set Contents Not Displaying With Custom Branding

I have a simple masterpage based off of the Oslo theme & the Starter Master Pages kit (https://startermasterpages.codeplex.com). We have a site with a Document Set library and while the list ...
3
votes
1answer
11k views

How to add web part in page layout?

Ok I created my first master page and now I am working on page layout. I created a new "Publishing Content Type" page layout in SharePoint Designer whose content type was "Page". In that page I want ...
3
votes
2answers
739 views

Is it possible to use powershell to change the content type of a page layout after its been uploaded to a masterpage gallery?

Im trying to automate as much of the upgrade I am working on and one of the manual steps is to change the page layout of 5 root webs of site collections, each of which has to have this new page layout ...
3
votes
3answers
2k views

(Welcome Page) Search People Page Layout

I am trying to add page in SharePoint Online but page layout (Welcome Page) Search People is not showing up among the options. Is it some SharePoint Feature that I need to activate to get the page ...
3
votes
2answers
2k views

Changing the Title of a Web Part Page

I have a page that I am unable to change the page title from the file name of the URL. I'd like to be able to change the title of the page so it is something different. I've tried editing page ...
3
votes
2answers
3k views

SPDesigner - This page cannot be edited in SharePoint Designer

What are the reasons that I can't edit a page in SharePoint Designer? I am using a publishing page with a blank web part page layout.
3
votes
1answer
2k views

Adding branded Quick Launch Menu to a 2013 Custom Layout Page

I have build an html master page with bootstrap header and footer, referenced JS and CSS. Not much in the way of snippets apart from a search box in my header. All good Ok, now I have created some ...