How do I override nodebb-plugin-composer-default?
-
If I want to preserve the functionality of the nodebb-plugin-composer-default but insert my own template how can I do that?
-
@Michael-Joseph-Aubry can you give an example? Do you want to replace the composer template?
-
Yeah I would like to write the html and css from scratch. I cant really provide an example other than say I am using a custom theme, opening the new topic I get a cid error so I added this
$('#new_topic_test').on('click', function() { require(['composer'], function(composer) { composer.newTopic(1); }); });
Adding this kind of bugs me, the home page is recent.tpl for me and it seems to be an issue with that or how I registered my plugin.json, but however I would like to make some UI changes.
-
Good answer!!!! I am doing that!
Copyright © 2024 NodeBB | Contributors