1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Urls to posts in different blogs

Urls to posts in different blogs

2 posts, 0 answered
  1. Jeff
    Jeff avatar
    118 posts
    Registered:
    08 Jul 2011
    10 Jun 2012
    Link to this post
    I have a bit of a problem that I haven't been able to solve. I have three pages each with a sitefinity blog posts widget on it under a single group page. I also have a user control that I drop on various other pages (some under the same group page and some outside the group page) that lists the latest blog posts from these three blogs.

    The problem I've run into is in the user control. When I create an anchor to go back to the blog post the url is incorrect if I'm on a page outside group page. The url is missing the group page name. But if I'm on a page under the same group page the url is correct.

    I found a post here on the forums that discusses a similar problem but I get an "object reference not set" error on post.Parent.GetValue("DetailsPage") when building the url.

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/blog-widget-url.aspx

    Can someone help? I'm using sitefinity 5.
  2. Jeff
    Jeff avatar
    118 posts
    Registered:
    08 Jul 2011
    11 Jun 2012
    Link to this post
    I decided to combine all the blogs onto a single page
2 posts, 0 answered