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

0
votes
1answer
579 views

Sys.WebForms.PageRequestManagerParserErrorException: Error parsing near '<HTML dir=“ltr”>

I have an aspx page in SharePoint's _layout folder. This page loads user controls from the controltemplates folder. User controls has ajax update panels. I am getting below error when I'm working ...
1
vote
1answer
677 views

Inserting webpart in pagelayout

I have a custom webpart which inherits from the CQWP and I want to insert and configure it in one of my pagelayouts. I do this using SharePoint Designer and it's no issue inserting it. It's the ...
3
votes
1answer
3k 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) ...
1
vote
1answer
407 views

create a document library view on creation of new page from page layout

I have a requirement where I need to create a new document/library or a new document library view associated with the page when I create a document library page using a custom page layout. I'm using ...
1
vote
3answers
1k views

Missing Custom Layout in Sub Site

I have globally deployed a branding solution that contains a number of page layouts. The web application where I want to use this contains a top level site collection and a number of sub site ...
1
vote
5answers
12k views

How to change the master page associated to a custom page layout?

I'm creating a custom page layout starting from the Article Page layout, which is associated by default to the master page v4.master. I want now associate this web page with a custom master page of my ...
0
votes
1answer
162 views

Error when publishing page that has a custom user control on it

I have a custom user control which is a "subscribe form". The user enters name, email etc and selects values from dropdowns I data bind from lists. I can view the page no problem and use the form but ...
2
votes
1answer
259 views

Is it possible to add page layouts/web parts using a feature activated in a sub site?

I'm trying to keep my code as organized as possible, and in doing so wanted to create sub sites (sub projects) that contain their own page layouts and web parts etc. Is it possible for me to put these ...
1
vote
3answers
158 views

Pagelayout using different version of masterpage

I have made 3 custom pagelayouts, 2 of them just inherit the correct version of the masterpage whilst the last one uses the same masterpage, but an older version of it. It contains the exact same ...
1
vote
2answers
2k views

Adding code behind functionality to a page layout?

I have a page layout that I would like to include a listview that is populated from the code behind. I tried right clicking on my aspx file and choosing "View Code" like I typically would but it does ...
6
votes
2answers
460 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 ...
7
votes
2answers
143 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 ...
2
votes
2answers
226 views

How can I rename Page Layouts without having to manually reset content pages using those layouts?

I need to rename a bunch of Page layouts and Master Pages without having to re-set the Page Layout to each content page that is using those layouts. For example: I have two page layouts - ...
2
votes
1answer
1k views

Enterprise Wiki: how to customize SitePages

I've created a Wiki Page Library and I've noticed that when creating a new page, it doesn't have rating/categories/edit/history facilities as in the Pages library created by the publishing feature ...
0
votes
2answers
617 views

Fixed content in page layouts

I hope you can help me with this simple user case. I have a master page and several page layouts in SharePoint 2010. The master page standardizes only the header, navigation and footer. The page ...
1
vote
1answer
1k views

Content Query Web Parts are not showing up in pages with the Page Layout they are set to

I'am back again with another question. I have a Pagelayout and want to add a Content Query Webpart as Menu. I created a Webpartzone and added a Webpart. <WebPartPages:WebPartZone ...
0
votes
1answer
266 views

Updating Page Layouts created with SharePoint Designer

The system I'm working on is a Publishing site that has page layouts created with SharePoint Designer. Users have created content pages based on these page layouts. I want to update the page layouts ...
2
votes
0answers
590 views

How to edit web part properties in the UI that was added in SharePoint Designer?

Let's say I create a custom page layout in SPD. Instead of adding a web part zone I add a web part (let's say content query web part) in the layout. When I go to a page using that layout I can see the ...
0
votes
3answers
1k views

Custom Page Layout

I am following the following article about Creating a Page Layout in SharePoint 2010 using Visual Studio 2010. I have deployed the solution but when I click on page layout my new type is not there. ...
2
votes
3answers
4k views

How to apply new page layout to all existing pages in a site?

I really need your help. I've created a new page layout in SharePoint Designer 2010 and I want to apply it to all existing pages in a site. Another thing to note, some subsites and pages use ...
3
votes
3answers
1k 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 ...
1
vote
1answer
337 views

Pagelayouts deployed through Feature Module cannot be found

I have created a new Module in which I store all my custom pagelayouts and register them in the XML file like so: <?xml version="1.0" encoding="utf-8"?> <Elements ...
32
votes
6answers
19k 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" ...
3
votes
2answers
2k 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 ...
2
votes
0answers
435 views

Content field not recognized on Page Layout

I'm using SharePoint Designer 2010 to create a custom page layout. I have a content type called "Web Part Page" and its parent is "Page" content type. I have several site columns associated with this ...
3
votes
1answer
156 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 ...
1
vote
1answer
1k views

How do I make Sharepoint 2010 overwrite all files when deploying?

I have a problem where I delete an older version of a page layout but it keeps coming back and the changes I made to that page layout do not take effect. I would like to know if there is a way to make ...
0
votes
1answer
588 views

Put Easy-Tabs in page layout rather than CEWP

Another question about the fantastic Christophe Humbert Easy Tabs library: Can the library be included in a page layout for a publishing site rather than in a content editor web part? This way it's ...
1
vote
1answer
2k views

Custom Publishing Page with WebPartZones - Edit webpart toolbox not showing

I have a custom publishing page with 6 webpart zones on it so I can add webparts to the page. I can click on the edit page button, however when I try and edit individual webparts the page reverts to ...
2
votes
1answer
2k views

“Attempted to read or write protected memory” exception

We ran into this error while trying to open the page /_catalogs/masterpage/Forms/AllItems.aspx. I'd been attempting to approve a page layout that I'd just updated and checked in a major version. By ...
2
votes
4answers
1k views

Creating a news site with out-of-the-box web parts?

In my company we have these periodically released news bulletins. One news bulletin is one html page. Now I am looking for a way to create a decent overview of these bulletins whilst also displaying ...
1
vote
1answer
807 views

Issue with Publishing Image Field

I have a custom Publishing Image field defined as <Field ID="{621EC4B5-457F-4B64-B2F1-6F568F6BFA60}" Name="ContentImage1" SourceID="http://schemas.microsoft.com/sharepoint/v3" ...
2
votes
1answer
344 views

Sharepoint Designer > Use Custom Field from Content Type to set a HTML Attibute

I'm really not a Designer, but unfortunately, I have to design something. Any help will be much appreciated. The Scenario: I have a Page Layout with my own Content Type. One of the Fields in the ...
3
votes
2answers
4k 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 ...
1
vote
1answer
444 views

Page lifecycle events not firing for user control on page layout when anonymous user

I'm using SharePoint 2010. I have a custom user control on a publishing page layout. When an authenticated user visits a page that uses the page layout everything works fine. When an anonymous user ...
0
votes
1answer
489 views

Page layout with value of calendar control

I've got a custom page layout in SP 2010 that will need an ASP.NET calendar control for editors to select a date. Then we want to show the selected date (or a default date if none selected) to the end ...
3
votes
3answers
1k 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 ...
1
vote
1answer
9k views

Change page title in SharePoint 2010

I've noticed that using the default master page on SP2010, there doesn't seem to be any way to change the page title. The page's Edit Properties is grayed out and in SPDesigner, the title area is ...
0
votes
1answer
57 views

How to change the social links

My customer has changed their SharePoint portal design and they changed the "I Like" and "Comments" buttons. I want these buttons to call the old code, I've tried to see what javascript function it ...
5
votes
1answer
957 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 ...
0
votes
2answers
123 views

Accessing additional content type from a page layout (in markup)

I have the following content types Testimonial Page (Inherits from Page) Testimonial Video (Inherits from Video) I have a page layout that is based off of the Testimonial Page content type. I ...
1
vote
2answers
1k views

Delete a PageLayout programatically

In a publishing site, I want to delete a specific page layout. This code snippet is within a FeatureDeactivating event. layout.Folder is returning null, but I need the folder to delete the PageLayout. ...
2
votes
1answer
852 views

Check out a Page Layout to update programatically

In a FeatureActivated event, I am trying to update the associated content type for a Page Layout. I am running in to issues though with the associated ASPX page not being checked out. Here's my code: ...
1
vote
2answers
385 views

Add custom properties to 'Edit Mode' in publishing site - Create as wsp

I have 2 custom fields that are associated to the publishing features Page content type. While looking at the page, in the ribbon, I can click on Edit Properties to view all of the properties of my ...
3
votes
0answers
583 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 ...
2
votes
2answers
1k views

Value of Hyperlink Field in Page Layout

I'm making a Page Layout in SharePoint Designer 2010. I have, as part of the content type for this Page Layout, a field of type Hyperlink. I want to use the "Description" and actual URL stored in ...
4
votes
3answers
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 ...
0
votes
3answers
2k views

Accessing Controls from Page Layout Code Behind

I'm building several publishing layouts for a public facing SharePoint 2010 website. One of my page layouts is associated with a content type that has about 20 fields. I'd like to display all ...
1
vote
2answers
304 views

Adding publishing page > why won't it retain page layout during provisioning

After provisioning a site the new site does not have the right page layout like I instructed the code to be. I went to site settings of the new site and clicked on page layout and site template. And ...
2
votes
1answer
1k views

How to get pagelayout without going through all of them?

I know the name of the layout page. Do I still have to go through this process to get the layout page? foreach (PageLayout pl in pageLayouts) { if (pl.Name.Equals("MyLayout.aspx", ...