Questions tagged [directus]

Questions regarding development with directus CMS. Note: questions must be programming questions.

Directus is a free and open-source database API and 'headless' CMS. Unlike traditional CMS that encompass your entire project codebase, the decoupled approach of Directus offers an API and SDKs to connect your content to

Directus is built with

Backbone.js, Underscore, Require.js, Zend DB, Slim, Handlebars, jQuery, Moment.js, Sortable.js, Noty, and SASS.

311 questions
0
votes
1 answer

Which one is better Nuxt+Vuetify or Directus?

I'm about to work on a rebuild/revamp legacy application that has CMS/Admin to monitor surveys. The current stack for the Admin is Voyager+Laravel while VueJs is use for the surveys. I'm thinking of moving away to Voyager and decouple the front-end…
AstralProgrammer
  • 169
  • 1
  • 12
0
votes
1 answer

Bring your own database?

The website of Directus 7 states something along the lines „... bring your own database“. Now, I indeed do have a relational DB (consisting of a few related tables). Is it indeed possible to use Directus to use this DB together with Directus…
0
votes
1 answer

Directus HTTP PUT Method Not Allowed

Hey I'm using Directus with Ionic 3 for browser and I got a problem with HTTP PUT. The error: error: {code: 6, message: "Method Not Allowed"} proto: Object headers: HttpHeaders {normalizedNames: Map(0), lazyUpdate: null, lazyInit: ƒ} message:…
Ragnar Lodbrok
  • 163
  • 1
  • 3
  • 16
0
votes
1 answer

directus cms how to join

I'm using directus for the first time. According to the documentation, database joins are possible. However, there is nothing about usage in the documentation, just a note to add this in future. Does anyone of you know how to use it anyway?
hGen
  • 2,235
  • 6
  • 23
  • 43
0
votes
1 answer

Add Array to field instead of String

I have the following problem: I want to add my field value the value of value=…
0
votes
1 answer

API Structure for an application

I would like some help to build something a la https://pokeapi.co/ . I have a problem when I try to make the following structure: "forms": [ { "url": "https://pokeapi.co/api/v2/pokemon-form/1/", "name": "bulbasaur" …
-1
votes
1 answer

Why am I getting crypto.getRandomValues() not supported when trying to use "@aws-sdk/client-quicksight" in nodejs?

I'm building an extension for a CMS (directus) and one of the dependencies @aws-sdk/client-quicksight is trying to use a module that is not supported (crypto). I get crypto.getRandomValues() not supported as an error from the CMS' logs; How can I…
carlinhop
  • 1
  • 2
-1
votes
1 answer

Gatsby 4 dynamic routes with Directus data seems imposible

I'm trying to create dynamic routing. Lets say we are building a blog. The graphql data i get from Directus looks like this: { Directus { Posts { id slug Title Body } } } and this seems to be a problem. No matter…
-1
votes
1 answer

Directus : How to create a many-to-many relationship to the same collection properly

I created a topics collection. And I want to create a many-to-many relationship to the same collection. The column name is related_topics. I followed the documentation so I created a many-to-many relation for this column and a junction table which…
Zied Hf
  • 491
  • 3
  • 10
  • 30
-2
votes
2 answers

Cannot read property 'api' of undefined - what does that mean?

I just tried install Directus locally. I created account and when I want to sign in I see error "Cannot read property 'api' of undefined". When I was installing Directus there werent any errors. Whats problem and how to fix it?
-2
votes
1 answer

Update an item in Directus CMS with PHP

I have tried to update an item following the Directus documentation, but I can't update the record, it always returns { "error" : { "code" : 6, "message" : "Method Not Allowed" } } My PHP code is: $url =…
1 2 3
20
21