More in this section

Forums / Developing with Sitefinity / Blog Archives List

Blog Archives List

3 posts, 1 answered
  1. Jay
    Jay avatar
    51 posts
    Registered:
    16 Jul 2008
    19 May 2010
    Link to this post
    On the main Sitefinity.com site, the blog has an archives tab which shows a simple list of archives that looks like this:
    May 2010
    April 2010
    March 2010
    etc, etc.

    I'd like to do the same on my site but the default BlogArchive control uses a treeview which groups them by year like this:
    2010
     - May 2010
     - April 2010
    2009
    - December 2009
    - etc, etc

    How can I get rid of the grouping by year in my archives control so that it's all in one simple list like it is on the Sitefinity blog?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    20 May 2010
    Link to this post
    Hello Jay,

    1. Drop BlogArchvie on your page.
    2. Open the control for edit and  under Behavior Tab set TimeDisplay to Months
    3. Add the following css to your theme or control stylesheet.

    .RadTreeView .rtTop,.RadTreeView .rtMid,.RadTreeView .rtBot{padding:0 !important;padding-left:0px !important;padding-right:0px !important;padding-bottom:10px}
    .RadTreeView_Default .rtSelected .rtIn{background:none !important;color:#333 !important;border:0 !important;padding-left:0px !important;padding-right:0px !important}
    .RadTreeView_Default,.RadTreeView_Default a.rtIn,.RadTreeView_Default .rtEdit .rtIn input{
    color:#376AAC !important;padding-left:0px !important;padding-right:0px !important}
    .RadTreeView_Default .rtHover .rtIn{background:none !important;border:0 !important;text-decoration:underline}.RadTreeView .rtSp{width:0 !important}
    .RadTreeView_Default,.RadTreeView_Default a.rtIn,.RadTreeView_Default .rtEdit .rtIn input{
    font:13px/1.4 arial,sans-serif !important}


    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
    Answered
  3. Jay
    Jay avatar
    51 posts
    Registered:
    16 Jul 2008
    20 May 2010
    Link to this post
    Perfect... excellent support as always.
Register for webinar
3 posts, 1 answered