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

30
votes
6answers
15k 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" ...
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 ...
6
votes
4answers
6k 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 ...
6
votes
2answers
445 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 ...
5
votes
1answer
279 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 ...
5
votes
1answer
127 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
855 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
3answers
208 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 ...
4
votes
1answer
5k 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 ...
4
votes
1answer
874 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 ...
4
votes
3answers
930 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 ...
4
votes
1answer
51 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?
3
votes
3answers
929 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 ...
3
votes
4answers
3k 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' ...
3
votes
1answer
2k 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
3k 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
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 ...
3
votes
1answer
142 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
4answers
409 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
2answers
676 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
265 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
3answers
797 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 ...
3
votes
1answer
198 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 ...
3
votes
1answer
102 views

How to keep the original quick launch menu of a page even after replacing the page layout by another one?

By code, when I create a new blank site and replace the welcome page layout by a new layout page, the original quick launch menu disapears. How to keep the original quick launch menu of a page even ...
3
votes
2answers
138 views

Custom Landing Page

I am developing a complete custom SharePoint Portal... We are using C# & ASP .NET to create the webparts. I want to create seperate landing pages for ADMIN & NORMAL USER.... How do i achieve ...
3
votes
1answer
565 views

Paging and sorting with BCS - Is it really possible?

I'm trying to add paging on an external list and so far it does not work 100%. The best references I could find (that actually... kinda... work) are these: Paging and sorting with BCS Paging and ...
3
votes
3answers
856 views

SharePoint 2010 VS development: Intellisense for ASPX files

I'm using Visual Studio 2010 to develop a SharePoint Server 2010 solution. Part of this includes custom Page Layouts, but when editing them, intellisense is completely broken, since Visual Studio ...
3
votes
0answers
168 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
0answers
554 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
3answers
2k views

Coding against SPUrl

How can I work with SPUrl in my code-behind file for master pages and page layouts? I don't see any access to this in the SharePoint namespaces.
2
votes
4answers
911 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 ...
2
votes
2answers
893 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 ...
2
votes
3answers
3k 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 ...
2
votes
4answers
408 views

Web Parts overlapping undesirably

On our SharePoint 2010 Enterprise environment, every page is having some strange behavior with the web part zones. In Edit mode, it essentially looks like this: In non-edit mode, it looks even ...
2
votes
2answers
2k views

Closed vs. Hidden Web Part - what is the difference?

What is the difference between "Hidden Web Part" and "Closed Web Pat"? PS. I tried to search on the internet but could only find "deleting vs. closing" web parts Sharepoint 2010 (Sharepoint ...
2
votes
1answer
310 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 ...
2
votes
2answers
31 views

User Control is is not rendering in pagelayout in MOSS2007

Hi I registerd user control in pagelayout and trying use that but it seem like it not rendering any thoughts %@ Register TagPrefix="sd" TagName="adbanner" ...
2
votes
3answers
4k 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 ...
2
votes
1answer
1k views

Re-Ghost an UnGhosted Customized PageLayout?

I have a development environment, a test environment and a production environment. I develop packages in the development environment and update the solution in the test environment. As it turns out my ...
2
votes
2answers
433 views

How to use one page layout for few content types

I have elements.xml with module: <Elements> <Module Name="IntranetNewsPageLayout" Url="_catalogs/masterpage"> <File Path="IntranetNewsPageLayout\IntranetNewsPageLayout.aspx" ...
2
votes
1answer
792 views

Parent content type Page or Page Layout?

When to develop custom page layout via Visual Studio, which parent content type must be chosen for content type? From different articles i see both Page and Page Layout selected as base Content type. ...
2
votes
2answers
856 views

Application pages and master pages

We plan to use SharePoint 2010 application pages and wondered about our current setup, which has the default master page (v4.master) with no changes but a heavily customized page layout for the ...
2
votes
1answer
695 views

Should custom page layouts be displayed in the More Options menu?

I'm working on a SharePoint 2010 Publishing Site that was upgraded from 2007. I've noticed that when I go to Site Actions -> More Options, I can create lists, sites, pages, etc. I see my custom Site ...
2
votes
1answer
47 views

How to include a default hmtl markup on a content editor webpart

I have a page layout with one RichHtmlField, this page layout is the one I am using for my blog posts here: ...
2
votes
1answer
116 views

Changing the original calendar colour (blue) to match the overlay colour

I have 5 calendars where I have overlayed 4 of them inside a general calendar, and for each of the overlayed calendars I have defined a different color (red, green , pink, etc) which worked well. But ...
2
votes
1answer
1k views

How to add a webpart to 2nd “Top” Zone of a Webpart Page Programmatically

I Have a webpart page, which has layout as shown in picture, Now I want to add a webpart to second "Top" zone of my page but I dont know how to access it, If I want to add it to first top zone I ...
2
votes
3answers
3k views

Page layout not showing Content type fields

I'll try my best to describe this problem as it is quite tedious. We have a sharepoint solution, in where we create Columns that are deployed through a feature. I added my custom columns to a custom ...
2
votes
1answer
246 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 ...
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", ...
2
votes
4answers
577 views

Masterpages and Page layouts list/page not working

Greetings I think I messed up. In the project I'm working on I made a Module adding some PageLayouts to the Masterpages and Page layouts library through it. After deploying the solution the ...