RSS Feed/News Passing attributes to a class widget?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,751
Points
823

Reputation:

I can define a widget in a template using

Code:

<xf:widget class="Blah\Widget\TestWidget" />

but although I'm told this...
  • You can also provide widget-specific options as attributes when the class attribute is used.
Click to expand...

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

Continue reading...
 
Status
Not open for further replies.
Top