Lack of interest Variables in template phrases

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

cclaerhout

Well-known member
Would it be possible to allow variables in template phrases or is this feature not possible because phrases must be cached in templates?

I know, some parameters can be added to phrases, but what I mean is really to use a variable as the phrase name.
 
Upvote 0

Mike

XenForo developer
Staff member
It's mostly done to discourage usage as that's very inefficient - it would end up costing 1 query per phrase.

You can set that up in the view and then reference that variable if you have to.
 
Top