Reply Template

The Reply Template is a theme component and not connected to a topic template.

My suggested plugin would work in conjunction with reply templates.

Yep, got that. I was clarifying on the plugin. Basically, it places the desired reply template in the topic post of all topics in a specific category which has the Journal plugin enabled?

1 Like

It would be triggered independently of the journal plugin.

Here is my quick and dirty spec sheet:

  • Plugin settings:
    • checkbox: enable ā€œForce reply templateā€ plugin
    • tag picker: enable ā€œForce reply templateā€ for topics with this tag
  • Category settings:
    • checkbox: enable Force reply template in category
  • Condition:
    • If the above conditions are met AND if a reply template is found in first post, THEN enable fill the reply template into the composer after users hits the Reply button
    • Condition does not apply to reply buttons in individual posts
3 Likes

When I click the button when not logged in:

You can test yourself here:

What can be the problem?

1 Like

@agligorijevic Are you on the latest version of Discourse, and of the Theme Component?

1 Like

The component needs an update. I will make a PR.


3 Likes

There is a method to use the reply templates automatically (on specific categories)?

1 Like

AFAIK there isn’t. There are only category templates in core.

1 Like

I think that this TC does what you are looking for:

2 Likes

Thanks Nat, from what I understand (please correct me if I’m wrong) the propose for this plugin is to change the Placeholder text on topics and -not expected- the text still remains in the textbox.

I tried it, and it’s currently not working. If it’s updated, it could work as a workaround, for sure!

1 Like