Ok, so for example, if I wanted to get the js for the reply, favorite and upvote button functionatliy, where/how would I grab that script? I noticed the buttons all use the component system, so do I have to somehow include components.js in the new template? How would I go about doing that?
how to remove header and footer from 404 error templates.
Moved
NodeBB Development
-
I have created 404.tpl , and added my custom message. however, I dont want anything else to appear. I tried to use Jquery to do this and it works but after the page is load, so it shows the header and footer for a second then hide them. is it possible to do so before page load ??
thank you !!
-
the answer is in this topic :
https://community.nodebb.org/topic/11906/add-a-class-to-the-body-if-the-template-is-404/3