Forum Discussion
Hi Adam
Thanks for that. I created the board specific custom component per your last message. But now I don't know how to add this custom component to the corresponding board only. When I try to do so in Studio, it ends up being a universal implementation based on the selected Page Type.
I logged in as Admin, went to the specific board, and selected Board Admin option. But from there, I do not have the ability to apply this custom component specifically to this board. Do you have any tips for this?
Are you wanting to have this component display on all boards and have the content shown be specific to the board on which it's shown, or do you just want to display this on a single board?
- sgyani13 years agoMentor
I would like the first scenario you describe.
- AdamN13 years agoKhoros Oracle
To have the component pull in content from the board in which it's shown, you can use the "coreNode" custom context object to determine the id of the board.
The exact method you'll want is "id". You can then plug this into the URL for your REST API request using freemarker:
${coreNode.id}
After you've got the code all set of the component, you'll then want to place it on the forums. You can do this via the "Forum Page" page in Studio.
- jmurray13 years agoChampionThis thread has been immensely helpful.
If I wanted to throw this component into a side rail, how would I go about displaying only the topic name instead of having kudos, author, and date in there along with it?
Related Content
- 4 years ago
- 10 months ago
- 13 years agoInactive User
- 3 years ago