I am getting the hook to work, but how can I display the new data in the composer.tpl ? so let say before I return the data on the hook, i add data.aName, how can I display {aName} in the template? thx
A
Ali Hussain
@Ali Hussain
Posts
-
Composer tpl - add custom data. -
Create custom fields in composerI have tried filter:composer.create and filter:composer.build and both are not firing, the only filter hook that is firing for me is filter:composer.formatting but that does not have the correct data i need (for example the catogory, etc)
I am using nodebb v3.0
thx for your help
-
Create custom fields in composerHey,
How can I listen to a hook just before a composer is open.
I want to create a plugin that add custom fields to the composer (and post) based on the category. So I need to listen to a hook that can give me the category id as I open a composer to create/edit a post.
Regards,
-
nodebb-plugin-recent-cards - how can cards background match category colorsHey,
I am using the recent cards plugin (https://github.com/NodeBB-Community/nodebb-plugin-recent-cards). How can I make the bg color of each card match the category color?
Thank you