KeystoneJS setting page

83 views
Skip to first unread message

Mika Andrianarijaona

unread,
Aug 25, 2015, 7:19:05 AM8/25/15
to Keystone JS
What is the best way to create a setting page in KeystoneJS Admin UI? Imagine I need to be able to set my site title, slogan, phone-number, etc.... in a form, how should I implement that? 

Thanks, 

Mika

Joss

unread,
Aug 25, 2015, 7:26:29 PM8/25/15
to Keystone JS
Hi Mika,

The best way would be to setup a keystone list "settings" or "config" something like that with nocreate set as an option. To populate the admin UI, write an update script declaring the default values you want for each field

Don't forget to add your list to the admin ui navigation :)

All the best,
Joss

Mika Andrianarijaona

unread,
Aug 26, 2015, 1:35:37 AM8/26/15
to Keystone JS
Thank you Joss!!
Reply all
Reply to author
Forward
0 new messages