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

3
votes
1answer
155 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
570 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
786 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
327 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
430 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
469 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
929 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
823 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
379 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
574 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
971 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
294 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", ...
0
votes
2answers
846 views

How to setup an internet facing site using MasterPages and Page layouts?

I'm trying to customize my SharePoint site to be an internet facing site. I know I can do this by setting up customized masterpages and page layouts, but I didn't find a lot of documentation for ...
0
votes
2answers
656 views

Reusable content disappearing on Publishing Page

On the publishing site I've created a simple page with a Page Content. I've added a web part there and then I'm trying to add a Reusable Content. However it turns into a like here Any workarounds?
2
votes
4answers
641 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 ...
4
votes
1answer
6k 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 ...
1
vote
1answer
2k views

Change Default Page Layout for Pages in Enterprise Wiki Library - 2010

I have a Site called Workspaces, created with the Enterprise Wiki Template, and am hosting two Wiki Libraries within the site. Whenever a user views an individual Wiki Page, regardless of the Wiki ...
6
votes
1answer
285 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 ...
3
votes
2answers
725 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 ...
0
votes
1answer
986 views

Date Field format in a Publishing layout

I have created a publishing layout for SP 2010 Publishing site. I have created it based off a page layout publishing content type. One of the field is the standard OOTB Date field. Using SP ...
1
vote
3answers
1k views

How do I render a Reusable Content item from a page template?

In a SharePoint publishing site, what do I need to include in my layout file to make it render the Reusable HTML from a specific item in the Reusable Content list?
0
votes
3answers
1k views

Change the default page layout used for new sites

When a create a new publishing site within my site collection, a default welcome page for the site is automatically created which always uses the layout file /_catalogs/masterpage/WelcomeLinks.aspx ...
1
vote
3answers
3k views

Sharepoint Designer 2010 - imported master page ends up showing under page layouts

When I import a master page in Sharepoint Designer 2010, using the 'Import Files' button (while clicked into the "Master Pages" section, the file is imported, but not to Master pages. It goes instead ...
0
votes
2answers
2k views

Correct taxonomy field to use in EditModePanel?

We have a SharePoint 2010 content type with a ManagedMetaData field bound to a custom TermStore/Set in the Managed Metadata Service. We are using an EditModePanel on the PageLayout for the content ...
0
votes
1answer
503 views

Can I have Custom Layout Pages in WSS3?

I know that the Publishing feature for SharePoint is only available when you're using MOSS. I gather that this feature allows you to define different page layouts/templates, so that when a user ...
0
votes
1answer
271 views

Web Part Zones/Web Parts not rendered on page in Firefox

I am currently working on building out publishing site and since yesterday having issues with Firefox. We have pretty simple layouts that have a main Page Content Region and underneath this region ...
0
votes
1answer
1k views

Editing page content, I lost the HTML editing options in SP2010

I have a SP2010 Foundations site and I was editing my content pages and using the HTML option to make small tweaks here or there. I've created my own Master Page and added my own CSS as well. Things ...
2
votes
1answer
706 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 ...
3
votes
3answers
893 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 ...
0
votes
1answer
725 views

Show item from specific subsite level in page layout

I'm using a page layout to style some content pages on my Sharepoint 2010 public facing website. On this specific page layout I need to add something which is only visible from the third level of ...
1
vote
3answers
2k views

Creating new SharePoint 2010 Sites with the old/v3 UI?

I have a SharePoint 2010 Server that is running an upgraded SharePoint 2007 Content Database. Thanks to the v3/v4 Layout Support, all the "old" Pages still use SharePoint 2007-style layout. However, ...
2
votes
2answers
1k views

Set custom publishing page layout custom field programatically

I have a custom publishing page content type, based on the Publishing Article Page content type. On this content type, I have a custom field named "PageContentCategory". In my code to create new ...
1
vote
2answers
2k views

Custom New Web Part Page Template when creating page

I want to give the user the ability to create web part pages, from a template, where the the left column is a web part, lets call it LEFTNAVPART, and the header is another web part, let's call it ...
6
votes
3answers
211 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 ...
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.
0
votes
1answer
793 views

clscompliance parser error when adding web part in webpartzone zonetemplate

I am adding a web part directly into a zonetemplate in a page layout. When i insert a custom web part that has a web part property of type uint, i get an YSOD server error: Parser Error ...