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?
@Tina-Jang said in Can't get partial tpl render:
I tried to create new partial template in widget modules
What does this part mean... which folder did you put it in?
Hello, does anyone know the answer?
I tried to search online and find Handlebars information. Do we need to register new partials in nodebb?
jiangcaiyang Anime Loversreplied to Tina Jang on last edited by
@Tina-Jang In my approach, it does't need to register anything. The procedure is okay, maybe you need to
Tina Jangreplied to jiangcaiyang on last edited by
@jiangcaiyang Hey, thanks for the reply. I did it but still no luck.
jiangcaiyang Anime Lovers
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.