Adding custom admin UI functionality

103 views
Skip to first unread message

Vlad Cazacu

unread,
May 26, 2016, 11:27:34 AM5/26/16
to Keystone JS
Hey guys,

I'm just starting out with Keystone on a new project and couldn't find any docs that describe adding custom functionality to the admin UI.

Some of the things I'd need to implement but couldn't find any resources about:
  1. Creating new pages in the admin that are not dependent on models. In this case I'd need to use my own views, frontend JS and backend endpoints, which I'm not sure how to include or how to hook up to the admin UI. Is there a Keystone way of achieving this?
  2. Customising listing pages. For example i have some custom models that I'd like to reorder by drag-and-dropping in the listing table and have an additional save button above the table that submits the new order to an endpoint. For this I'd need a way to inject some custom JS and HTML in the respective listing page, but I'm not sure how to do that, if it's even possible.
  3. Custom fields in the admin item page that I don't want auto-generated by Keystone from the model. Is there a way to hijack the Keystone view for a specific model type and add custom elements?
  4. Declaring a new model with data from mongo from the same model. For example having a Category model that has a select element with other categories for selecting parents.
Sorry if these issues have already been discussed / documented, but I couldn't find any info related to them. 

Thanks and looking forward to your thoughts on these issues.

Vlad

Chris Troutner

unread,
May 26, 2016, 3:11:57 PM5/26/16
to Keystone JS
Have you checked out ConnextCMS.com? It's a Backbone.js based alternative to the Admin UI that runs on top of KeystoneJS.
Reply all
Reply to author
Forward
0 new messages