Additional Settings to Better Customize Your Blog
Single Item, Advanced, and Module Settings
The single item settings determine how each individual blog is displayed in a Sitefinity Module.
1. Pick 'Open single item in…' Then, choose one of the following:
- Auto-generated page: A blog will open in the same layout as the list page when you click on it.
- Selected existing page: Pick the specific page from a list of existing pages.
- Default page for blog: It will use the default page set in the backend when making or editing a blog
2. 'Detail template' Choose the template you want for the blogs on the webpage
3. 'CSS classes' Expand 'More options' and specify the names for your CSS files. Also, apply additional CSS classes to the Blogs widget.
With advanced settings, you choose the traits for each widget.
1. ‘DetailPageMode’
This specific setting decides where a user from your website is directed after clicking on a blog title.
- ‘PerItem’
This is the default option for all Sitefinity Developers, and it uses the individual settings of the blog item. You may set separate pages when you make or edit the blog post.
- ‘SamePage’
The details of the blog are displayed on the same page when you click on the blog title.
- ‘SelectedExistingPage’
The details open up in a page with ID 'DetailsPageId' when a Blogs widget is dropped there.
2. ‘DetailsPageId’
You get the ID of the page selected in the 'Selected existing page...' in the tab page for 'item settings' with this setting.
3. ‘DetailTemplateName’
You will receive the template you picked in the dropdown menu 'Detail template.' This setting is found in the 'Single item settings' tab page.
4. ‘ListTemplateName’
Remember the template you picked in the 'List template' dropdown menu? That's the one you get here.
Model settings refer to all the traits tied to the 'Blogs widget model.' All you need to do to get to open them is to click the 'Model/button' in the 'Advanced settings.' Within this category, there are a few settings you can control. Let's go over each of them.
1. ‘ContentViewDisplayMode’': The default settings for any Sitefinity Module display an item in the 'Detail' view. It lets you pick if you want the content shown in 'Detail' or 'List.'
2. ‘DetailCssClass': It gives and sets an extra CSS class to the detail view of a blog item.
3. ‘DisplayMode': Gets the value you picked in the 'Simple List settings' tabs page:
- Paging (default)
- Limit
- All
4. ‘FilteredSelectionMode': Filters content by the set metric. You can choose one of:
- MinPostsCount
- MaxPostsAge
5. 'ItemsPerPage': This setting determines the number of blogs per page to be shown when you enable paging.
6. ‘ListCssClass': It gives and sets an extra CSS class to the list view.
7. ‘MaxPostsAge': Defines the period for when a post should be made. And it depends on you choosing 'Only blogs that have posts not older than… months' in the settings.
8. ‘MinPostsCount': Defines the minimum number of posts a blog should have when you choose the setting 'Blogs with more than … posts'.
9. 'ProviderName': You can use blog providers different from the one set to default for Sitefinity Developers. And all you need to do is give its name.
10. ‘SelectionMode': Gets you the option that you chose in the 'Content tab page.' You can choose from these values:
- Allterms
- Selectedterms
- Filteredterms
11. ‘SerializedSelectedItemsIds': If you choose a particular blog, its ID is serialized and populated.
12. 'SortExpression': This setting adds more additional sporting expressions for a blog.