-
hot take: keep theme overrides out of core templates
i think we should keep theme-level overrides away from core templates unless there is no other option. in my experience, once a pipeline depends on template overrides, every upgrade turns into a compare-and-fix job. that is fine for one-off branding work. it is not fine when the same override has to survive multiple…
-
is this the right way to use tl3 progress for reporting?
i’m trying to use tl3 progress as part of a member status report and i want to make sure i’m reading it the right way. our team cares about showing people how close they are to the next level, but i do not want to build on top of the wrong numbers. is there a supported way to pull the progress information for tl2 users…
-
can i target only one page with injected html?
welcome any pointers here. i want to add a small html block on just one page, not site-wide. i’m trying to keep it simple for a campaign landing page, but i do not want it showing anywhere else. is there a clean way to scope that in Discourse without editing a bunch of templates?
-
why is my plugin not seeing the updated serializer code?
i’m in the middle of a plugin change and i’m stuck. i updated a serializer, restarted the app, and i still seem to be getting the old output. am i missing a cache step, or is there a better place to hook this kind of change so it actually shows up on the topic page?
-
heads up: verify your plugin overrides after the latest deploy
heads up for anyone shipping plugin changes against recent core work. i checked a couple of sites after deploy and found that older overrides were still assuming the previous serializer shape. the fix was to re-run local tests against the current app and compare the generated JSON before pushing again. no code change was…
-
what finally worked for overriding composer save
i needed to change how composer save behaved without patching core in a brittle way. after trying a few older patterns, i moved the logic into a plugin that extends the composer model behavior directly and kept the change narrow. the key part was avoiding a broad monkey patch and only touching the save path I actually…