Does Templates support custom variables?

Does the variable replacement support customize variables? And fallback to other variables?

2개의 좋아요

No, only the specified variables are available and it is not possible to fallback to another variable.

What kind of customized variables do you have in mind?

3개의 좋아요

I’d like to use the templates in wiki posts. For example, we have three wikis about the community library and don’t want to repeat ourselves writing down the same field many times and updating it at once.

Like this:

Name: %{name}
Address: %{address}
Opening Hours: %{opening_hours}

Of cause, we could also share the same style in one template.

And I may get your point, allowing the admin to add customized variables to work like other Pre-filled variables also a good idea.

4개의 좋아요

Brilliant plugin! It really takes the canned replies to the next level.

Would you consider adding a couple of variables? These would be very helpful in places / situations where using just a first name is considered much more friendly (and appropriate).

  1. my_first_name
  2. reply_to_first_name

This might be of some help:

5개의 좋아요

Thanks! The feedback has been very positive so far!

We are gathering ideas to improve the plugin to decide what to do next. I can’t say I’ll add them at the moment but I’m definitively taking notes.

6개의 좋아요