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!
-
hi @pichalite, it doesnt work, i did set the id
-
@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 -
@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"
-
@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?