Showing posts with label Web Part Pages. Show all posts
Showing posts with label Web Part Pages. Show all posts

Friday, January 07, 2011

Creating Web Part Pages with a Quick Launch

Web Part Pages in Team Sites by default do not show the Quick Launch left navigation. Basically the panel is hidden by a CSS style written into the page <head>:

<style type="text/css">
body #s4-leftpanel {
 display:none;
}
.s4-ca {
 margin-left:0px;
}
style>


and two placeholders in the <body>, which override the masterpage placeholders:

<asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server"></asp:Content>



To show the Quick Launch open the page in SharePoint Designer and remove the style and the placeholders.

Wednesday, January 05, 2011

MOSS 2010 Team Site Pages

First impressions of MOSS 2010 Team Sites

MOSS 2010 Team sites are slightly different from their 2007 counterparts in that they are based more on Wiki pages, meaning that you can mix content and web parts within a rich text area.

By default when a team site is created it contains a default.aspx file (located as before in the site root directory) and a home.aspx file. The home.aspx is now the site homepage and is located in a document library called "Site Pages" (/sitepages/home.aspx), generated by a feature dependency of the "WikiPageHomePage" feature called "WebPageLibrary" (see: 14\TEMPLATE\FEATURES).

New pages created using the "Site Actions / New Page" button by default will create new Wiki pages, which will reside in the "Site Pages" document library. If the "Site Pages" document library does not exist you will be prompted to create one before new pages can be created.

New pages created via "View All Site Content / Create" or "View All Site Content / Pages / ... ribbon ... New Page" allow editors the choice to create either a basic page or a web part page. Selecting a web part page prompts choices of page layouts (one col, two col etc) and available document libraries (Pages, Site Pages, Documents, Custom etc). Note that these Web part pages do not display the Quick Navigation panel on the left side of the website, which if integral to your site navigation / heirachy display will pose some important decision making with regards whether or not to activate publishing.

Thursday, October 23, 2008

MOSS Page Setting Error - Value does not fall within the expected range

Thanks to these guys for the solution

I found an error when trying to change the Page Settings of a default.aspx in one of my sites today.

I wanted to update the page layout template in use but on selecting Page Settings from either the Page drop down in edit mode or from the Site Content & Structure page i received the follwoing error:

Value does not fall within the expected range
  1. Open the site in SharePoint Designer
  2. Select File / Export and choose the page you are trying to update
  3. Open the page locally using Notepad
  4. Search the source for “mso:PublishingPageLayout"
  5. Look at the path :

    http://mossdev/_catalogs/masterpage/customLayout.aspx, Custom Reports Layout

  6. The string points to my old development environment http://mossdev
  7. Update the path to the live environment eg: http://mosslive
  8. Save the file
  9. In SharePoint Designer select File / Import and choose the modified file
  10. Check the files back in and approve them.
Problem solved - i can now update the page settings with no error.

Wednesday, March 26, 2008

Creating web part pages in a custom Pages library

I just created a new document library called "IS Email Newsletter Pages" and set the content type to Pages with the idea that this would create a new place to store web part pages in my SP site.

When i click on New on the document library toolbar i am redirected to Create Page where we fill in the page title, description, URL name and layout type etc.

I was expecting the URL name to reflect the new document library URL (IS Email Newsletter Pages/testpage.aspx) but it doesn't - it still points to the original Pages library (Pages/testpage.aspx) and when the page is created it is created in the Pages library.



Does anyone know how to create pages in a custom pages library???