XenForo
Administrative
- Thread starter
- Admin
- #1
Hello @Kirby or @Jeremy P
you might able to help in the request. Is it possible to call xf:widget in the template with a key, which came from options or properties settings?
Code:
So if the property TestName is filled use this one, if not then use a default.
If I tried it I get the following error: Template tag attribute "key" must be a literal string
Thanks
Read more about this Feed . . .
you might able to help in the request. Is it possible to call xf:widget in the template with a key, which came from options or properties settings?
Code:
<xf:widget key="{{property('TestName') ? property('TestName') : 'whats_new_new_post'}}"/>
So if the property TestName is filled use this one, if not then use a default.
If I tried it I get the following error: Template tag attribute "key" must be a literal string
Thanks
Read more about this Feed . . .