I know it good that I can place the footer from admin, but I am not sure how to write a html to show it.
Simply, how to add a footer just like this forum?
It's a global widget placed in footer.tpl
There is a permission file problem on nodebb/build/public
After change permission and rebuild, it's ok now
@mattdjuk You can do a search for the string emailer.send( in src/ to see every invocation of the emailer.
From the first argument passed in, you can see which template it attempts to use, and the third argument shows the template data passed in.
@ape if you're using that hook, the routes are mounted to /api/v3, so the definition you provided would end up being accessible at /api/v3/test123
WOW thank you so much!!
I have to say that programmatically being able to show and hide content in a widget is fabulous. I now have a Global > Global Header widget that displays an image and text only when it is the "home" page.
This is how I implemented one widget: