Can't get partial tpl render
I tried to create new partial template in widget modules, but it didn't work. Could anyone point out what I missed?
- creating partial template - topics_new.tpl in partials folder.
<!-- IMPORT partials/topics_new.tpl -->
3. Add popular topic widget in the homepage.
Do I miss anything here?
I tried to create new partial template in widget modules
What does this part mean... which folder did you put it in?
Hello @julian ,
I created it in
Hello, does anyone know the answer?Thanks.
I tried to search online and find Handlebars information. Do we need to register new partials in nodebb?
@Tina-Jang In my approach, it does't need to register anything. The procedure is okay, maybe you need to
@jiangcaiyang Hey, thanks for the reply. I did it but still no luck.
You know, all the public files are minimized into what we call
nodebb.min.jsfile, in this case, try to search text from nodebb.min.js to see if anything are embeded into this file.