#1 April 9, 2018 10:22am

tsamant
Member
From: Chicago
Registered: May 14, 2015
Posts: 52

How to implement a new (possibly) admin widget

Hi,

A certain template I am defining needs a variable-length list of web links. A link is (for now) a URL and anchor text, both text fields.

I am trying to put together a friendly UI for admins but I am confused.

I see similar widgets throughout admin (callouts, categories, etc), and it seems that a "matrix" field might do the trick. Is this right? If not, what is the minimum code that would have to be written?

Thank you,
Tushar

Offline

#2 April 9, 2018 11:10am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 978

Re: How to implement a new (possibly) admin widget

The matrix field is the way to go.

Offline

#3 April 9, 2018 11:36am

tsamant
Member
From: Chicago
Registered: May 14, 2015
Posts: 52

Re: How to implement a new (possibly) admin widget

Thanks Tim, it's working! Tushar

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.