Forum Discussion

lorseau's avatar
13 years ago

What's new in the Forums / Blogs

Hello,

 

I would like to know if there are standard Lithium components to:

- give the latest changes in the forums

- give the latest changes in the blogs

 

something like the "Active Areas" component but not for blogs & forums together.

 

Thanks

Laurent

  • If you're looking for recent threads, it's possible to specify an interaction style (ie. forum, blog, tkb, etc.) with the default recent threads component. You'll need to edit the XML for the page in Studio, for example:

    <component id="forums.widget.recent-threads" interactionStyle="forum" />
    <component id="forums.widget.recent-threads" interactionStyle="blog" />

     

    I hope this helps!

     

  • You should be able to change the title of the component via the text editor in Studio or via Toolbelt. Toolbelt would probably be easier in this case since the text keys will be very similar.

     

    There's unfortunately not any documentation currently available for component attributes like that.

     

     

6 Replies

  • AdamN's avatar
    AdamN
    Khoros Oracle
    13 years ago

    If you're looking for recent threads, it's possible to specify an interaction style (ie. forum, blog, tkb, etc.) with the default recent threads component. You'll need to edit the XML for the page in Studio, for example:

    <component id="forums.widget.recent-threads" interactionStyle="forum" />
    <component id="forums.widget.recent-threads" interactionStyle="blog" />

     

    I hope this helps!

     

  • Do you know if it's possible to change the title of the "box" ?
  • and btw, is there a documentation for the components (with the attributes and their values)?

     

    thanks

    Laurent

  • AdamN's avatar
    AdamN
    Khoros Oracle
    13 years ago

    You should be able to change the title of the component via the text editor in Studio or via Toolbelt. Toolbelt would probably be easier in this case since the text keys will be very similar.

     

    There's unfortunately not any documentation currently available for component attributes like that.

     

     

  • Concerning these components, i have another question:

     

    Is it possible to have the "recent posts" or the "recent topics" component for a special forum or blog?

    The idea is to have a special forum with some informations about our community and we would like to show the new posts/topics on the home page.

     

    thanks,

    Laurent

  • AdamN's avatar
    AdamN
    Khoros Oracle
    13 years ago

    Hi Laurent,

     

    Unfortunately that's not possible with the standard component, but as was mentioned in the related thread you started, it would definitely be possible via a custom component. Claudius posted a good example in the other thread. Here's another example that might help get you started:

    http://lithosphere.lithium.com/t5/Lithium-Developers/Latest-3-blog-articles-Freemarker/m-p/23884

     

    You'd really just have to swap in a different REST API call and then tweak the component a bit to your liking.

     

    I hope this helps!