How to customize composer

I have composer setup for every tag but I want separate composer for every tag. For e.g. I have questions ,articles ,events tags I want separate composer for these tag.
Can anyone help how to implement it.

1 Like

What do you mean by “separate composer”? What is different about them?

You can already have multiple drafts …

3 Likes

Hello and welcome @saish :slight_smile:

Do you mean a different composer template based on the type of topic being created?

If so, I don’t think there’s a way to do that using tags yet but it could be achieved using the form templates if you had a category for each type. There’s also the regular topic templates as well (found in a category’s settings page), but these only allow you to add some pre-filled text to the composer, which might not be exactly what you’re looking for.

(Though there is an existing Feature request to be able to use the form templates with tags that you may want to add your voice to Setting Form Templates with a tag)

There’s also the Discourse Preset Topic Composer plugin which could come in handy as well if you wanted to simplify how users select a particular option.

2 Likes

Thanks for your response I tried using form templates but what I want is I want to add my custom fields under the default fields in composer

Thanks for responding, separate composer means i want to add my custom fields in default composer

You will need to build a plugin to do that.

A lightweight alternative has been suggested above by @JammyDodger

3 Likes

Thank you all for your response and suggestions, I did it using JavaScript.

2 Likes

Would you minding sharing with pics of result?

This plugin may also be of interest

1 Like