Number of Views not incrementing with CS 2007 SP2 and Aero 2007 SP2

Latest post 06-18-2007 5:08 PM by doverton. 2 replies.
  • 06-18-2007 10:45 AM

    • doverton
    • Top 10 Contributor
    • Joined on 10-28-2006
    • UK
    • Posts 32
    • Points 370

    Number of Views not incrementing with CS 2007 SP2 and Aero 2007 SP2

    Nick,

     I found the article at http://communityserver.org/forums/t/489272.aspx that talks about all themes now needing an update for blog views to count.  Where in Aero 2007 files do we add the magic lines to make it all work?

     <CSBlog:WeblogPostData ID="WeblogPostData3" runat="server" Property="FormattedBody" IncrementViewCount="true">

    thanks

    David

     

    • Post Points: 20
  • 06-18-2007 11:05 AM In reply to

    • Nick
    • Top 10 Contributor
    • Joined on 10-11-2005
    • Gilwern, S.Wales, Uk
    • Posts 2,603
    • Points 19,725

    Re: Number of Views not incrementing with CS 2007 SP2 and Aero 2007 SP2

     ~/Themes/Blogs/Aero2007/PostList.aspx:

    <CSBlog:WeblogPostData ID="WeblogPostData2" IncrementViewCount="true" Property="FormattedBody" runat="server" />

    Apart from that postlist, which isn't really needed, you DO NOT need it.  The view count is automatically updated when you visit the blog post directly (ie /blog/archieve/....)
     

    • Post Points: 20
  • 06-18-2007 5:08 PM In reply to

    • doverton
    • Top 10 Contributor
    • Joined on 10-28-2006
    • UK
    • Posts 32
    • Points 370

    Re: Number of Views not incrementing with CS 2007 SP2 and Aero 2007 SP2

    Ahh, oh dear - my blog counters have stopped dead, even if I directly visit the page.  I've changed the home page to show the number of views and this number has stopped dead since I applied SP2.

     

    However I have tried setting my users site theme to default and it is still broken, so I doubt this is a Aero 2007 fault.

     

    thanks

     

     

     

    • Post Points: 5
Page 1 of 1 (3 items) | RSS