@PitaJ is correct, the option is called the "tags whitelist", and you can decide which tags to allow, and do so on a per-category basis
Open new topic composer
-
hi, is there a route, or link to open New topic composer other than the New Topic button?
the goal is to add another menu or button on top (along with tags, popular, recent etc, or persistent on the corner) to open composer window to add new topic (easy access) - since when user are inside a thread/posts - user need to go back to make a new topic.thanks!
-
@outboks Yes, I think you can do it without writing additional code (except the code to add the button).
Just add a button and make sure you set the
id
attribute for that button tonew_topic
and it should work. -
hi @pichalite, it doesnt work, i did set the id
-
@outboks that will only work for a button added on the page itself. Doesn't work for header.
-
@outboks Hmm, that's probably my fault. There's no reason it shouldn't work on the header that I can think of.
Change this line here and it should work.
https://github.com/NodeBB/NodeBB/pull/5003/commits/fc68b64fe0565a9252c7f54a82b455f800658c97 -
@pichalite said in Open new topic composer:
@yariplus that doesn't solve the problem completely for header. Links in header are anchor tags so page will reload before opening the composer unless you modify the header and add the link manually with
data-ajaxify="false"
it works, as anchor i use '#' - it seems t does not reload the page, should i add the data-ajaxify="false" as well?