Creating a panel field

Hi, I’m trying to create a new field for the Panel.

I’m looking to convert the structured field so it shows all files on the page (images, video, pdf) as separate entries.

Does anyone know how this can be done?

You achieve that by copying the structure folder from panel/app/fields/structure to site/fields/yourfield.

The fields folder must be created if one doesn’t already exists.

Check out the docs for more info.

I have copied the structure field over to the fields folder however I’m a little stuck trying to get this field to pre populate with all the files on the page.

Share here what you have so far so we can better help you. What are you trying to achieve?