Damus
hypolite · 3w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqjyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78q6m9q72 Looking at the bookface_custom_footer code from your repository, I'd encourage you to ...
Random Penguin profile picture
@hypolite I used the footer hook because I couldn't figure out how to do it with a template. The documentation on this stuff is still pretty thin so if you could either point me to an add-on already doing that or just tell me how to do it I'd appreciate it.

I'm also planning on moving all those settings into a single array so this add-on isn't cluttering up the pConfig table with a gazilion entries.
1
hypolite · 3w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqjyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78q6m9q72 Let's see, you would have to write something like this: function bookface_custom_footer(string &$body) { $t = Renderer::getMarkupTemplate('footer.tpl', 'addon/bookface'); $html = Ren...