MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

How to change page title for blog web part ?  (Mono Support )

Viewed 9812 time(s), 5 post(s) 1/4/2013 9:42:00 PMby super
super

super

1/4/2013 9:42:00 PM
I placed blog webpart on homepage but now the page title on the browser says "All Blog Posts", I don't want this title on homepage. This title is good for blog section only not for homepage, - How to change it ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

1/7/2013 8:51:28 AM
Hi,

you should have a RewritePageTitle property on the WebPart that you can set to false and turn off the page title rewriting.

I have exposed few more properties around Blog WebPart related to this so if you can't turn page title rewriting off you will have to use the latest MonoX nightly build.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
khorvat

khorvat

1/7/2013 8:51:53 AM
Note: We will push this update on Wednesday.
This content has not been rated yet. 
15993 Reputation 2214 Total posts
super

super

1/10/2013 1:35:03 AM
I don't see any "RewritePageTitle" property in BlogContainer ?

I placed blog webpart on homepage but now the page title on the browser says "All Blog Posts", I don't want this page title on homepage.

Please help me in locating this property ? what to change and where to change ?

I am using the 1/9/2012 build which is latest.

BlogContainer.ascx only has this:

<%@ Control
    Language="C#"
    AutoEventWireup="True"
    Inherits="MonoSoftware.MonoX.ModuleGallery.Blog.BlogContainer"
    Codebehind="BlogContainer.ascx.cs" %>
 
<%@ Register TagPrefix="MonoX" TagName="BlogPostList" Src="/MonoX/ModuleGallery/Blog/BlogPostListHome.ascx" %>
<%@ Register TagPrefix="MonoX" TagName="BlogPostEdit" Src="/MonoX/ModuleGallery/Blog/BlogPostEdit.ascx" %>
<%@ Register TagPrefix="MonoX" TagName="BlogPostView" Src="/MonoX/ModuleGallery/Blog/BlogPostView.ascx" %>
<%@ Register TagPrefix="MonoX" TagName="BlogSettings" Src="/MonoX/ModuleGallery/Blog/BlogSettings.ascx" %>
<%@ Register TagPrefix="MonoX" TagName="BlogComments" Src="/MonoX/ModuleGallery/Blog/BlogCommentsList.ascx" %>
 
<div class="blog">
    <MonoX:BlogPostList ID="blogPostList" runat="server" RssEnabled="true" ParseCustomTags="Description" />
    <MonoX:BlogPostEdit ID="blogPostEdit" runat="server" />
    <MonoX:BlogPostView ID="blogPostView" runat="server" />
    <MonoX:BlogSettings ID="blogSettings" runat="server" />
    <MonoX:BlogComments ID="blogComments" runat="server" />
</div>
This content has not been rated yet. 
6018 Reputation 709 Total posts
mzilic

mzilic

1/10/2013 10:17:22 AM
Hello,

As Kristijan mentioned RewritePageTitle property is exposed on the BlogContainer.ascx control. To set it on the Blog.aspx page for example you need to set it in the following manner for example:

<MonoX:BlogContainer ID="blogContainer" runat="server" UsePrettyPhoto="true" DateFormatString="d" RelatedContentVisible="false" EnableSyntaxHighlighter="true" GravatarRenderType="NotSet" RewritePageTitle="true" />
You can also edit the web part properties using the designer, please see the attached screenshot.

Regards
This content has not been rated yet. 
2218 Reputation 300 Total posts