Custom ui for create, update and list


#1

Hi,

I wonder if possible to have customized views for each or some collections? i.e I want to create a custom “Create Post” form for posts collection so when I clicked “Add Entry” it will open customized UI. If possible where should I create this view file? And how it should look like.

Thanks


#2

Create config/collections/posts/views/entry.php with your custom code.

See:

If you don’t want to write anything from scratch, copy the content from https://github.com/agentejo/cockpit/blob/next/modules/Collections/views/entry.php to your custom view and modify it.


#3

Thanks that’s what I was looking for.