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

Forums / General Discussions / Blog and Archive control - unfunctional

Blog and Archive control - unfunctional

5 posts, 0 answered
  1. Roberto
    Roberto avatar
    18 posts
    Registered:
    12 Jan 2011
    15 Apr 2011
    Link to this post
    Note, this is a direct copy from my tickets, as no one has responded since I made the post 2 days ago....

    This is causing me so many issues.
    I have an archive control on my page which lists months of my articles. It looks like it is using the publication date to retrieve it's months.
    But the front end, you have already stated, uses the EventStart date (although I can not find that anywhere.... it doesn't exist in the database, nor in any of the fields I can use).

    The main thing that is annoying is this:
    If you look at the screenshot I have attached to this, you can see that it states the article was published on the 11th April (or the EventStart) but if you hover over the link of the article, you can see that the URL it has generated using URL Rewriting, is actually using the PublicationDate.
    This is really frustrating......because my archive control won't work because the 2 are using different dates.

    If you go to: http://www.brightdigital.co.uk/blog/blog/2010/07/25/cuts-and-bruises-bright-and-spikes-cavell-heal-the-wounds you will see the post in the screen shot.
    As you can see by the URL it shows a date of 2010/07/25, but if you use the archive control on that page and select July 2010, it takes you to this url: http://www.brightdigital.co.uk/blog/2010/07 where no posts are listed. But if you click the April 2011 link in the Archive control, it takes you to this page: http://www.brightdigital.co.uk/blog/2011/04. On page 2, you will see the cuts and bruises article.....

    I have even tried setting all the dates in the sf_blog_posts table in our database to the same date (so that should force sitefinity to be accurate for all the dates as they should all be the same) but it just isn't working.
    The EventStart date is still being used and I can't find it.

    As you can imagine, this is getting really frustrating and it is driving me up the wall, so any help would be greatly appreciated.
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    16 Aug 2017
    20 Apr 2011
    Link to this post
    Hi Roberto,

     Can you please specify in more detail the concrete information related to the blog posts that are causing trouble. It is not very clear form the explanation below whether you are talking about a BlogPost or an Event, since I see you mentioning EventStart several times, but there is no property EventStart for BlogPosts, can you clarify.
    Generally a BlogPost will have a DateCreated (the one you see when you go to Content->Blogs->YourBlog->YourBlogPost in the Grid showing all posts in a blog) and PublicationDate. The archive widget is taking the PublicationDate for its sorting, please specify if you demand different fuctionality. There might be a problem with the PublicationDate of one of the states of a blog post differing from the others, that's why the problem with archive widget and information displayed on your page. Can you please verify if this problem occurs only for this particular blog post, or has multiple occurrences. If you could tell me some more details about the problem (specific steps to reproduce it and/or when was the post created, was it edited, etc. ) this will definitely help me give you a more specific answer, so please do not hesitate to  write back.

    Regards,
    Boyan Barnev
    the Telerik team

  3. Roberto
    Roberto avatar
    18 posts
    Registered:
    12 Jan 2011
    09 May 2011
    Link to this post
    Hi,

    The reason I speak about EventStart is because I have this issue logged as a ticket also and I recieved this reply quite awhile ago:

    Hi Roberto,

    The backend shows PublicationDate, since the frontend control shows EventStart date. This is from where the difference might come from.

    Regards,
    Ivan Dimitrov
    the Telerik team
  4. Roberto
    Roberto avatar
    18 posts
    Registered:
    12 Jan 2011
    09 May 2011
    Link to this post
    Anyway.
    I have been in the backend database and changed the PublicationDate to a different date.
    The blog still shows the wrong date. I cannot find the field that holds the date that is displayed on the blog page.

    Can you tell me where I can find it. Surely I don't need the api, surely I can just change the value in the database (it must be held somewhere) and it will be reflected on the Blog post AND the archive control?
  5. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    16 Aug 2017
    10 May 2011
    Link to this post
    Hello Roberto,

    Can you, please, try changing the DateCreated in the Database as well and inform us if the problems persist.

    Best wishes,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
5 posts, 0 answered