Introduction Let’s finish the solution by creating the site, attaching the content type, configuring the web parts and the navigation.
Step 4: Create the site
We will create a new Publishing site called Marketplace. Select the desired settings such as navigation inheritance and/or permissions.
Step 5: Attach the posting content type
Our users will add new postings by creating pages so we have to be sure our posting content type is selected by default when creating a new page. We have to execute the following steps:
- Click at Site Actions
- Click at View all Site Content
- Click at Pages
- Click at Library
- Click at Library Settings
- Click at Add from existing site content types and add the posting content type
- Click at Change new button order and deselect all the other content types
- Click at Posting and rename Posting Category to Category
Step 6: Attach the marketplace welcome page
We can attach our new welcome page by executing the following steps:
- Click at Site Actions
- Click at Site Settings
- Click at Page layouts and Site templates
- Choose at Pages in this site can only use the following layouts for:
- (Article Page) Marketplace welcome page
- (Posting)Posting
- Select at New Page Default Settings for:
- (Posting)Posting
- Click at Ok.
Step 7: Configure the web parts
We are almost there! Let’s configure the web parts we want to use. We want the following web parts:
- Introduction
- Wanted
- For sale
- My postings
The introduction to the marketplace will be provided by the content editor web part. We can use the following settings:
- Appearance:
- Introduction
Wanted
The Wanted web part will be presented by the Content Query web part. We can use the following settings:
- Query:
- Show items from the following list:
- Pages
- Show items of this content type group:
- Contoso Content Types
- Show items of this content type:
- Posting
- Show items from the following list:
- Additional filters:
- Posting category is equal to [PageQueryString:category] AND
- Type of posting is equal to Wanted
- Presentation:
- Item limit:
- 10
- Item limit:
- Appearance:
- Title:
- Wanted
- Title:
For Sale
The For Sale web part will be presented by the Content Query web part. We can use the following settings:
- Query:
- Show items from the following list:
- Pages
- Show items of this content type group:
- Contoso Content Types
- Show items of this content type:
- Posting
- Show items from the following list:
- Additional filters:
- Posting category is equal to [PageQueryString:category] AND
- Type of posting is equal to For Sale
- Presentation:
- Item limit:
- 10
- Item limit:
- Appearance:
- Title:
- For Sale
- Title:
My postings
The my postings part will be presented by the Content Query web part. We can use the following settings:
- Query:
- Show items from the following list:
- Pages
- Show items of this content type group:
- Contoso Content Types
- Show items of this content type:
- Posting
- Show items from the following list:
- Additional filters:
- Contact is equal to [ME]
- Presentation:
- Item limit:
- 10
- Item limit:
- Appearance:
- Title:
- My postings
- Title:
Step 8: Configure the quick launch
The quick launch needs to display all the categories so a user can select the desired category with all the for sale and wanted postings. We need to execute the following settings:
- Click at Site Actions
- Click at Site Settings
- Click at Navigation
- Select at Current Navigation:
- Display only the navigation items below the current site
- Deselect show subsites and pages
-
- Click at Add Heading:
- Title:
- Categories
-
-
- Click at Ok to save
- Click at Add Link:
- Title:
- Name of the category. For example Books
-
- URL:
- /sites/contoso/Marketplace/Pages/default.aspx?category=Books (connect this to your URL and category)
-
-
- Click at Ok to save
9:15 AM
Jasper Oosterveld
Posted in: 
0 replies:
Post a Comment