How to implement "raw-plugin-outlet"

Hello,
i see {{~raw-plugin-outlet name="topic-list-before-status"}} in topic-list-item.hbr file
i want to implement it in my plugin but can not
could anybody help me ?

3 Likes

Welcome! sorry this wasn’t answered earlier, but hopefully this will help someone…

To use a raw plugin outlet you need to create an hbr file, like this:
/connectors/topic-list-before-status/my-content.hbr

If you’re adding static HTML you can just add it within that file.

If you want to some custom logic, you can use this structure:

/raw-views/my-object.js

/templates/my-object.hbr

and within your /connectors/topic-list-before-status/my-content.hbr file you’d add:

{{my-object}}

1 Like