Damus
hypolite · 3w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqjyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78q6m9q72 Let's see, you would have to write something like this: function bookface_custom_foote...
Random Penguin profile picture
@hypolite Oh, so it's similar to using templates in a theme, only addon ones are appended rather than replacements?

Thank you for your help! Turns out it was simpler than I thought and I was messing it up by making it overly complicated.

I've got it working now ๐Ÿ˜ƒ And because I moved all the settings into an array my footer.tpl is just 7 lines of code to iterate through that array.

The original purpose of this add-on was to make it easier to change/translate all the pseudo-element nav and action button labels. With all of those now moved into the core I'm not sure how useful this add-on still is, but it also gives pretty granular control over most of the Bookface CSS variables. I knew someone who was colorblind and their computer looked like the Joker's from Batman because it was all purple, yellow, and lime green. Looked great to them I guess.

I'm just about finished updating Bookface for 2026.08-rc. I just need to actually install the RC on my Dev Server to check it.
1
hypolite · 3w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqjyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78q6m9q72 Yeah, as an addon developer you get to define your own templates instead of overriding existing ones from the core. It can also be used for specific addon screen. Glad I could help!