Forum Discussion

Inactive User's avatar
Inactive User
8 years ago

Is there a Recent Blog Posts page like there is for forums? If so, where. If not, how to create one?

I created a component that displays recent blog posts by a given author to include in their profile. However, it only shows the LIMIT I set or all. I want to be able to go to an archive page / recent...
  • SuzieH's avatar
    SuzieH
    8 years ago

    Hi Inactive User,

    You'll have to build a paging component. It would be great if we had some kind of default pager component that would take in specific parameters in order to be used with custom lists. If you want to post an idea...

     

    Check out the webuisupport FreeMarker context object

     

    I know you're not on the latest version of the Responsive skin, but here are the current variables we have for pagination classes for styling.  You'll have to check the _variables.scss file to see if your version of the skin supports these.

     

    //== Pagination
    //
    //##
    //$pagination-color: $text-color;
    //$pagination-bg: transparent;
    //$pagination-border: transparent;
    //$pagination-hover-color: $text-color;
    //$pagination-hover-bg: transparent;
    //$pagination-hover-border: transparent;
    //$pagination-active-color: $text-color;
    //$pagination-active-bg: transparent;
    //$pagination-active-border: transparent;
    //$pagination-disabled-color: $text-color;
    //$pagination-disabled-bg: transparent;
    //$pagination-disabled-border: transparent;

     

     

    And you might be able to make use of our Font Awesome variables for the pagination control icons: https://codepen.io/gxmikey/full/bZxrZY/