I'm pretty new to Keystone as I recently inherited a codebase on a project that used it. We were locked into version 0.2.42 so I just updated to the latest, version 0.3.12 and now I'm having a strange issue. All our models with images use S3...
I'm having a hard time removing the newline between elements in an each statement in a pug js template (formerly jade)  My code looks like this. I'd like to have no whitespace between the li elements when the HTML is rendered, so I'm atte...
I try to customize Keystonejs Admin UI theme: change primary colors, etc.  So I'm going to override keystone.less which is located in node_modules:  . |____node_modules | |____keystone | | |____public | | | |____styles | | | | |____keystone.less...
Error in keystone js using mongo : Vehicle.model.updateItem is not a function TypeError: Vehicle.model.updateItem is not a function .  The goal is to update the model using an object just like how I did create Items using the ff. code below.  CreateI...
I am trying to build a contact form which is very similar to the one used in the keystone demo but i have hit a road block, While trying to save to db, I get the following errors       { message: 'Validation failed',   name: 'ValidationEr...
Is there a way to add custom plugins to KeystoneJs Admin UI without messing around with the source code too much....
I have a contact form that I added to my index.jade file and I am trying to send a post request to the / route using the following code in the jade template which renders fine.  if enquirySubmitted  .row     h3 Thanks for getting in touch. else   .ro...
Model code:  const Item = new keystone.List('Item')  Item.add({   name: { type: String, initial: true },   channel: { type: Types.Relationship, ref: 'Channel', initial: true },   program: { type: Types.Relationship, ref: 'Program&...
I want to run a function once I have a new or updated item in a specific KeystoneJS model. How do I do that? Would I add an event... is there an event already? Do I add it in the model or elsewhere?...
I have a model with an address field that is type Location (KeystoneJS address + geo coordinates). As I understand it, the geo coordinates in this field are indexed as 2dSphere.  However, if I try to query with the MongooseJS near function it returns...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.