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

News Archive

18 posts, 0 answered
  1. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    01 Nov 2007
    Link to this post
    Sitefinity Team,

    I am just wondering if you could show me how to do the news archive in CMS.

    Thanks in advance
    Tim
  2. UI Crew
    UI Crew avatar
    99 posts
    Registered:
    24 Sep 2012
    02 Nov 2007
    Link to this post
    Hi,

    I am with Tim - I can't work out how to get the Archive function working in Blogs or News.

    In fact it doesn't seem to be working on demo.sitefinity.com/blogs.aspx either...

    Can anyone shed some light?

    What I have done:

    On News.aspx put a newslist and an archive control on the page. Set the archive url in the archive control to the same page... doesn't seem to work.

    Seth
  3. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    02 Nov 2007
    Link to this post
    Hi guys,

    We would like to apologize for the problems you are experiencing with the archive control. It seems that there is an omission on our side. We expect to be able to fix the problem soon and to provide a new patch in a few days. With this patch, you will be able to use the archive control for the blogs and news modules.

    Once again, take our sincere apologies and stay tuned for the upcoming patch. Your Telerik accounts have been updated.

    Kind regards,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. UI Crew
    UI Crew avatar
    99 posts
    Registered:
    24 Sep 2012
    02 Nov 2007
    Link to this post
    Hi,

    I though I was going crazy so that is great news.

    I have a major deployment on Wednesday Australian time to co-incide with the start of a new CEO which makes use of the Archive control in the blogs and news sections.

    Any chance this fix will be available by then?

    Thanks

    Seth
  5. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    02 Nov 2007
    Link to this post

    WOW.............., more points!

    Friday night's drink is on me. I will pay use my Sitefinity points. :)

    Please let us know when the patch is going to be available.

    Thanks
    Tim

  6. UI Crew
    UI Crew avatar
    99 posts
    Registered:
    24 Sep 2012
    05 Nov 2007
    Link to this post
    Hi,

    If I can add to my question above:

    Is there any way you can set a selected state on the list.

    Thanks

    Seth 
  7. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    06 Nov 2007
    Link to this post
    Hi Seth Cleaver,

    The patch will be available later today.

    Best wishes,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    07 Nov 2007
    Link to this post
    Hello Seth Cleaver,

    The patch is available for download from your Client.net account > Downloads, under the Version 3 .1 SP1 heading.

    Greetings,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    07 Nov 2007
    Link to this post
    Sitefinity Team,

    I applied your patch this morning and still getting same error message when I did the blog archive:

     Unable to cast object of type 'Telerik.Blogs.Configuration.GenericContentElement' to type 'Telerik.Blogs.IBlogProvider'.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidCastException: Unable to cast object of type 'Telerik.Blogs.Configuration.GenericContentElement' to type 'Telerik.Blogs.IBlogProvider'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [InvalidCastException: Unable to cast object of type 'Telerik.Blogs.Configuration.GenericContentElement' to type 'Telerik.Blogs.IBlogProvider'.]
       Telerik.Blogs.WebControls.BlogsSelector.CreateChildControls() +210
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.Control.PreRenderRecursiveInternal() +41
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


    Tim
  10. UI Crew
    UI Crew avatar
    99 posts
    Registered:
    24 Sep 2012
    07 Nov 2007
    Link to this post
    Hi,

    I am experiencing the same as Tim - the archive control still doesn't work however I do not get any errors like time it simply does nothing but refresh the page.

    I applied the new patch today and re-setup all my news pages again just in case:

    Created:
    Archive.aspx
    Article.aspx

    Archive.aspx has both Archive and News post list controls on it. The archive control is also on the article page in a column. The Archive control is set to have the archive.aspx page as its target but the post list does not get filtered. The list stays exactly the same no matter what month you click on.

    Am I missing something... does the post list need some special setting to be able to be controlled by the archive?

    Also the archive does not support the "active" state eg. my post news list is set to only display items which are "active" (published but not expired) however i have set the count items to true on the archive control and it counts all items not just active ones.

    I am really in a spot - I have a major intranet deployment which uses the archive control on news, blogs and events (a news provider) which must go ahead at 11am tomorrow Australian time and it is now 2:30 am here in Australia so I am really pushed for time.

    Your assistance is really appreciated.

    Thanks,

    Seth Cleaver
  11. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    07 Nov 2007
    Link to this post

    Sitefinity Team,

    The error occurs when I add archive for Blogs and I know what causes the problem is I added a provider like "pet" for the Blog control in web.config based on your user manual. If I took "pet" provider out and archive works fine for Blog.

    By the way, I didn't see news archive control anywhere in CMS. I only saw archive control for generic content, Blog.

    Please let me know where I can find the news archive control in the CMS.

    Thanks
    Tim

  12. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    08 Nov 2007
    Link to this post
    Hello Seth,

    unfortunately there seems to be a problem with Archive control when you set ArchivePageUrl. We will see how are we going to handle this problem tomorrow, but since you are in such a hurry I've created two custom controls that inherit Archive controls and fix this problem temporarily.

    You can download the control from here :
    http://blogs.sitefinity.com/Ivan/Downloads/ArchiveControls.zip

    For News use the GCArchive while for blogs you should use BlogsArchive control. I've zipped the projects so you just need to build them and upload controls on your page edit (use "Upload control" and then chose .dll).

    Once you are done with that go to web.config and set the section and name for these controls as you wish.

    Archive controls have CustomDataSource property so you can implement your logic here for active state... CustomDataSource should be set by any of the manager.GetContent methods.

    I am really sorry for the problems this has caused you and hope this solution does not come too late.

    Tim,

    the Archive control in Generic Content group of controls should be used for anything except blogs. The one in blogs section is same as that one except that it lets you set the selected blogs property.

    Sincerely yours,
    Ivan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  13. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    12 Nov 2007
    Link to this post
    Sitefinity Team,

    I am just still getting error message when I'm doing blog archives by clicking select blog button using different Blog provider such as "pets". I'm just wondering if you have any plans to fix this problem and when the patch is going to be available for download.

    Thanks
    Tim
  14. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    12 Nov 2007
    Link to this post
    Hi Tim,

    Unfortunately, there is a bug in the blogs selector control which prevents you from choosing a blog for the archive control. Indeed, the selector would work if there is only one provider specified in the web.config. We are sorry for the inconvenience caused and thanks a lot for letting us know about this issue.

    Your Telerik account has been updated as a token of gratitude.

    Best wishes,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  15. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    12 Nov 2007
    Link to this post
    Sitefinity Team,

    What's the time frame to fix this problem? I am still waiting for the solution here.

    Thanks in advance
    Tim
  16. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    14 Nov 2007
    Link to this post
    Hi Tim,

    Service Pack 2 is scheduled for next week and the issue will be fixed for it.

    Best wishes,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  17. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    28 Nov 2007
    Link to this post
    Sitefinity Team,

    I am still waiting for the SP2 which is going to fix the news archive problem with different providers. I am wondering if you could give me the time frame when the SP2 is going to be available.

    Thanks a lot
    Tim
  18. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    30 Nov 2007
    Link to this post
    Hello Tim,

    Please excuse us for the delay. The Service Pack 2 was just uploaded so you could now download it.

    Best wishes,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
18 posts, 0 answered