XF 2.0 Can Phrases be posted outside of Templates?

Bryan Gilchrist

Active member
Licensed customer
I have a disclaimer I want to use on several parts of my website and would like to set it up as a Phrase so I don't have to change it in 15 different spots if I make a change to it. I've tried creating the phrase and inserting it - {{ phrase('disclaimer') }} - but all it does is display the {{ phrase('disclaimer') }} and not the actual disclaimer itself. Is there a way to use phrases outside of templates?
 
The code you've shown is template syntax so it will only work in templates or places which explicitly mention that they support template syntax. Otherwise, you'd generally need to insert the text directly.
 
You may need to contact the style author, if it's a third party style - they likely need to update it to accept XF syntax.
 
Back
Top Bottom