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 10965 time(s), 5 post(s) 04.01.2013 21:42:00by super
super

super

04.01.2013 21:42:00
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 ?
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
khorvat

khorvat

07.01.2013 08:51:28
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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
khorvat

khorvat

07.01.2013 08:51:53
Note: We will push this update on Wednesday.
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
super

super

10.01.2013 01:35:03
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>
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
mzilic

mzilic

10.01.2013 10:17:22
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
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts