Forum Discussion

kjartan's avatar
kjartan
Contributor
11 years ago

Forum message custom meta data

Hi,

 

I have two questions regarding forum posts:

 

1) Is there any easy way of adding custom meta data to a new forum thread? When you click on "New Message" you can choose tags, labels and etc. but I'd like to be able to have another field that described something else. Eg. Your current status (eating, watching a movie, going to bed and etc.). Also, given that the Lithium team could add this meta data, would they be able to add some API-calls with that. So that I could display all forum posts where people are "watching a movie" for example. It would be basically have the same functionality as labels, just another meta data.

 

2) Given that you have a new field like "status" and you want to put it somewhere in the editor, next to for instance "Subject", is there any way to do this in Lithium? Currently I just used javascript to make a DOM-manipulation, but this is very bad practice.

 

Thanks,

Kjartan

2 Replies

  • kjartan - At present, Lithium doesn't provide much of a control over customizing this page as we only have one encapsulated component on this page. So you need to contact the support and involve Professional Services to make a move further. They add similar fields to the user profile for us and they are available in the APIs as well the user metrics report, so you can confirm from them if the added fields be available in the REST calls. Once they add the custom fields, you can do whatever you want.

     

    I wouldn't recommend doing it via JS on this page, this is a dynamic page which renders differently for other content types, and permissions, though using JS won't be an issue but you'd never want to risk anything on this page which could potentially keep off your user to post/ reply on the community in case of slightest of errors. That's why I'd recommend you to ask PS if they can add a field for you on this page and provide a possible API for this.

     

    Let me know if this helps.

  • kjartan's avatar
    kjartan
    Contributor
    11 years ago
    VarunGrazitti Thank you. This is what I was afraid of, but hopefully they are willing to provide these features, so that I won't have to use JS.