Questions tagged [keystonejs]

742 questions
0
votes
1 answer

KeystoneJS custom content types

I'm using keystone js cms on my recent project, this is my first time when im using any kind of cms. So, i need to make custom content/post types on the site so any one without coding experience can edit them, example website header / info page of…
ALoppu
  • 65
  • 2
  • 10
0
votes
1 answer

Post Categories in default Keystone JS

I've been experimenting with Keystone CMS for the past week and I realised if you tagged your posts with categories that you've created in the post categories section, you'll get the following errors: TypeError: Object # has no method…
Mμ.
  • 8,382
  • 3
  • 26
  • 36
0
votes
1 answer

Matching variables in jade template

I am trying to show a link as a dropdown if it corresponds to the parent category. I checked the values and they are coming in correct but for some reason the if condition isn't returning true. This line is the issue: if(link.id ==…
user1572796
  • 1,057
  • 2
  • 21
  • 46
0
votes
2 answers

Querying javascript date object in mongodb

I have a Keystone.js blog and I want to add blog archives similar to Wordpress /archive/year/month. I added some extra date fields to the post object but I feel there is a way to do this using the published date. Right now archive year is just…
user1572796
  • 1,057
  • 2
  • 21
  • 46
0
votes
1 answer

Route in keystone.js for numerical value

I am redoing a wordpress blog in keystone.js and need to setup archives. I need to replace 2012 with some sort of generic number detection to show the archive page. Not the greatest solution but will work for this project. I would just prefix the…
user1572796
  • 1,057
  • 2
  • 21
  • 46
0
votes
1 answer

Is it possible to have per domain database setup with KeystoneJS/NodeJS?

I would like to serve several sites with the exact same codebase, but separated databases. I know how to do this with Django, but would prefer experimenting with some node.js based approach. My preferred node based framework would be KeystoneJS. Is…
Akasha
  • 2,162
  • 1
  • 29
  • 47
0
votes
1 answer

Using Ghost on a subdomain of Amazon EC2 Instance

I have an Amazon EC2 instance setup with nodes installed. I'm currently using Keystone.js as my cms, but I'm also interested in trying out ghost for blogging. I have set up and elastic ip and my domain is correctly pointed to my amazon instance, but…
mike
  • 1,441
  • 2
  • 19
  • 31
-1
votes
1 answer

How do I create a Keystone.js field that can take multiple images as an input and then store them?

Basically, I want to know how I can create a field in Keystone.js (Ver.6) that can take in multiple images as an input and then store them in a specified storage (S3 or Local). I checked to see if their are any options for the Image file type, but…
Vibhavi_T
  • 1
  • 1
-1
votes
1 answer

Keystonejs, stop graphql to write the error and hints out

I am developing a JAMStack project using keystonejs 6 and nuxtjs. As we know, keystonejs uses prisma and graphql (I guess apollo) to serve CRUD (generic) actions on our data model. So it makes the apis (even graphql or rest) and the errors generated…
ConductedClever
  • 4,175
  • 2
  • 35
  • 69
-1
votes
1 answer

Error in GraphQL where clause on Keystone 6

I am using Keystone 6, which ships with the latest version of Apollo. Normally, with GraphQL, we could insert a simple where clause with the following statement: query { posts ( where: { title: "test" } ) { title } } However, upon trying…
user36191
  • 13
  • 1
  • 2
-1
votes
2 answers

When i started app getting "Unknown keystone list" Error In Keystone 4.0

I have added routes to post-event data. var keystone = require('keystone'); var Event = keystone.list('Event'); module.exports = function (req, res) { if (!req.body.name || !req.body.startTime || !req.body.endTime) { return res.send({…
Rigal
  • 611
  • 2
  • 6
  • 25
-1
votes
3 answers

How do I properly set up my Keystone.js app to run in docker with mongo?

I have built my app which runs fine locally. When I try to run it in docker (docker-compose up) it appears to start, but then throws an error message: Creating mongodb ... done Creating webcms ... done Attaching to mongodb, webcms ... Mongoose…
-1
votes
1 answer

Keystone JS - Update / seeding / with Relationship

I'm fairly new to KeystoneJS and struggle with pre-populating a database through seeds / updates. I have no problem with independent properties but struggle with properties with relationships. I have for example a Location Model that includes…
GBouffard
  • 1,125
  • 4
  • 11
  • 24
-1
votes
1 answer

Customization of keystone js (Node CMS)

I am working on keystone. I am stuck in a issue where we have two fields that are dependent on one an other. country: {type: Types.Select, required: true, initial: true, options: 'Pakistan'}, state: {type: Types.Select, required: true, initial:…
-1
votes
2 answers

How to create standalone custome page?

I'm looking for a way to create single page model/ standalone single page. It's like a custom single page for 'About Us', 'Home Page','Our Team',etc. They are single page with backend options. Anyone have any idea ?
Binh Nguyen
  • 1
  • 1
  • 1
1 2 3
49
50