I can define a widget in a template using
Code:
but although I'm told this...
I can't figure out the right syntax to provide the options.
I've tried various variations on passing in
Read more
Читать далее...
Code:
<xf:widget class="Blah\Widget\TestWidget" />
but although I'm told this...
Click to expand...
- You can also provide widget-specific options as attributes when the class attribute is used.
I can't figure out the right syntax to provide the options.
I've tried various variations on passing in
paramName='paramValue'
in the xf:widget
tag (e.g. params="['abc']"
is how they work in an xf:callback
) but I...Read more
Читать далее...