Page layout is the part of graphic design that deals in the arrangement and style treatment of elements (content) on a page.
25
votes
5answers
10k 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
139 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 ...
5
votes
1answer
253 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
2answers
386 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
685 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
196 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
3k 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 ...
3
votes
3answers
584 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
1answer
1k 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
3answers
621 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 ...
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
100 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
2answers
585 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
156 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
747 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
3answers
1k 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 ...
3
votes
1answer
70 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
90 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
380 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 ...
2
votes
3answers
1k 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
558 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
677 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
2k 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
2answers
919 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
3answers
2k 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' ...
2
votes
1answer
230 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
207 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
2answers
755 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
622 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
950 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
2k 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
175 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
2answers
470 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 ...
2
votes
1answer
828 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
464 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 ...
2
votes
1answer
64 views
Full control user can add Page Layout to top level site but not the sublevel site
Has anyone seen the problem that we can add page layout to the top level site but not the sublevel site?
I've got the following behaviors:
In the "Site Settings" the "Master pages and page ...
2
votes
1answer
100 views
What kind of page to use?
I'm building an interface that allows for users to customize the webpart zones on their page to a layout of their choosing.
It seems the best way to do this is to have all possible layouts present on ...
2
votes
1answer
158 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 ...
2
votes
2answers
146 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 ...
2
votes
1answer
1k 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
1answer
33 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 ...
2
votes
0answers
69 views
How can I create a Enterprise Wiki pagelayout with a repeating content type?
So this is the situation: my customer wants to have a web service catalog in an Enterprise Wiki.
Per service we need to store fields like:
- service name
- description
- goal
- status
- version
...
2
votes
1answer
160 views
Can I edit a custom page Layout to add 3 new zones
I have a custom branding solution which was written before I started at my current client. Now they want their custom page layout modified, by adding 3 adjacent zones next to eachother. This page ...
2
votes
1answer
107 views
A list of all Sharepoint-specific tags & attributes for PageLayout/MP use?
I'm having trouble locating a url/document or a book, that describes extensively all the tags and attributes we can use within Page Layouts and Master Pages (2010) in order to change the way that HTML ...
2
votes
0answers
225 views
NullReference when creating custom page
I am trying to display content in a formatted, custom page in SP10.
I created a content type, I'll call BobType, which uses "Page" as the parent (actually, i've tried it with "Enterprise Wiki Page" ...
2
votes
0answers
411 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 ...
2
votes
0answers
347 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 ...
2
votes
0answers
456 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 ...

