Discourse-tag-sidebars وعلامات البرامج النصية المضمنة المهملة

Continuing the discussion from Modernizing inline script tags for templates & JS API:

Hi Discourse team! :waving_hand: On the Image.sc Forum admins are now seeing the warning:

[Admin Notice] One of your themes or plugins needs updating for compatibility with upcoming Discourse core changes. (id:discourse.script-tag-hbs) Identified theme: ‘discourse-tag-sidebars’.

I investigated how to fix it, but it looks like the discourse-tag-sidebars component hasn’t been updated in a few years? Our community loves the tag sidebars and I’d like to keep them working if possible. What’s the best way forward to resolve this impending incompatibility?

CC @david @awesomerobot

إعجاب واحد (1)

Have you tried out the “Discourse Topic List Sidebars” theme component, which is listed as the replacement for discourse-tag-sidebars?

إعجابَين (2)

Nope! I’ll give that a try, thanks!

إعجابَين (2)

We are seeing the same warning for the ‘Light’ version of the Discourse Theme. Not clear what to do to resolve as this is a default theme.

[Admin Notice] One of your themes or plugins needs updating for compatibility with upcoming Discourse core changes. (id:discourse.script-tag-hbs) Identified theme: ‘Light’.

Any suggestions welcomed. :slight_smile:

Have you made any customizations? So, is something displayed in the custom code section of that theme? Something like:

Thank you @Moin, yes. Is there something in particular I should be looking for in the custom code that would be causing this?

I would look for the code mentioned in the dev-news topic you linked.

إعجاب واحد (1)

Found and fixed for now. Thank you again!

إعجاب واحد (1)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.