Blog Display Settings

There are a number of properties for the blog feature that can be controlled from the theme.skin file.

Note that if your theme.skin does not already have this near the top, you must add this first:

<%@ Register Namespace="mojoPortal.Web.BlogUI" Assembly="mojoPortal.Features.UI" TagPrefix="blog" %>

The following example shows the available properties:

<blog:BlogDisplaySettings runat="server"
UseBottomNavigation="true"
UsejQueryCalendarNavigation="true"
HideCalendar="false"
HideFeedLinks="false"
HideStats="false"
BlogViewUseBottomDate="true"
BlogViewHideTopPager="false"
BlogViewHideBottomPager="false"
ArchiveViewHideFeedbackLink="false"
HideTopSideBar="false"
HideBottomSideBar="false"
OverrideListItemHeadingElement=""
PostListForceExcerptMode="false"
PostListForceTitleOnly="false"
PostListUseBottomDate="true"
PostListDisableContentRating="false"
DetailViewDisableContentRating="false"
UseBottomContentRating="true"
DisableShowCategories="false"
DisableShowArchives="false"
DisableShowStatistics="false"
RelatedPostsPosition="Side"
HideAvatarInPostList="false"
HideAvatarInPostDetail="false"
ShowAuthorBioInPostList="true"
ShowAuthorBioInPostDetail="true"
ShowTagsOnPost="true"
ShowTagsOnPostList="true"
ShowAuthorBioInPostList="false"
ShowAuthorBioInPostDetail="false"
ShowSubTitleOnList="true"
ShowSubTitleOnDetailPage="true"
PostDetailSubTitleElement="h3"
ListItemSubtitleElement="span"
/>

Most of the settings should be obvious what they do by their name.

UseBottomNavigation when true can improve SEO by moving the side navigation markup below the main post markup and content. The side navigation has all the links for categories, archives, etc which is less important than the actual content of the post so it is better to have it at the bottom, however changing that to true may throw off the layout and therefore require CSS changes to correct the layout.

UsejQueryCalendarNavigation is new as of mojoPortal version 2.3.9.3, it allows using the jQueryUI datepicker for ther calendar navigation instead of the ASP.NET calendar, this reduces markup quite a bit since the ASP.NET Calendar renders as nested tables. It may also require changes to your CSS to make the calendar fit into the column.

RelatedPostsPosition is also new as of mojoPortal version 2.3.9.3, allowed values are "Side" and "Bottom".

Last Modified by Elijah Fowler on Oct 03, 2017