Questions tagged [headless-cms]

234 questions
2
votes
1 answer

Role based restricted content with a headless CMS without native members built in

Coming from Umbraco where we have the concept of a User/UserGroup (backoffice) and a Member/MemberGroup (front facing part of website), I'm finding it a bit hard to figure out how to protect content in the front facing part of your website with a…
Dac0d3r
  • 2,176
  • 6
  • 40
  • 76
2
votes
1 answer

How can I use Wagtail Forms for a Headless CMS? ( without Template )

According to the documentation, Wagtail API is read-only ( POST Method not allowed ). Hence, the only way to use Forms from the Sidebar Menu is using Templates, so the client is capable of making post requests against the API internaly. But that´s…
Paul
  • 35
  • 6
2
votes
0 answers

Vue3 Beginner Stuck Trying to Get Apollo-Vue Working w/WPGraphQL on a WordPress CMS Web App

I'm trying to build a website using Wordpress as my backend, WPGraphQL & Apollo-Vue, and Vue for my frontend. It's going ok so far, but Apollo is causing me a lot of grief. I opted to go for Vue3 since it seems that's the future for the library, and…
Cmaxster
  • 1,035
  • 2
  • 11
  • 18
2
votes
1 answer

Text highlight is not being applied at front-end in Sanity CMS

I am trying to create a blog using Sanity Headless CMS and React for the frontend. I have made a decorator for highlighting text. As you can see in the image below, in the editor, the highlighted text has yellow background color. However, I don't…
HKS
  • 526
  • 8
  • 32
2
votes
2 answers

Can't fetch data from Strapi API to next.js frontend

I'm tried strapi and next.js to make a blog site. Here is next.js for frontend code import Head from 'next/head' import styles from '../styles/Home.module.css' export default function Home({ posts }) { return (
{posts && …
mhasan
  • 87
  • 1
  • 10
2
votes
1 answer

Promise rejected and unable to getCollections or getItems within VUE and Directus

Newbie to the world of vueJS and Directus. Learning my way through things by going through the online documentation. Still looking for a decent tutorial showing step by step instructions on how to access a remote install of Directus and use its data…
GlynSzasz
  • 21
  • 1
2
votes
1 answer

Headless Wordpress, Is there a way to access data in wp_options table as REST endpoint?

Wordpress has an awesome REST API interface. https://developer.wordpress.org/rest-api/reference/ But the content in wp_options table seems to be missing REST support. Is there a way to access the content in wp_otions table as REST endpoint via…
Suresh
  • 505
  • 1
  • 4
  • 14
2
votes
1 answer

Custom field not saved

I try to add a custom user field to the user by using WPGraphQL. Therefore I tried to recreate the example in the official WPGraphQL documentation https://docs.wpgraphql.com/extending/fields/#register-fields-to-the-schema…
2
votes
0 answers

Replace absolute urls in post content fetched from headless WordPress with next.js

Been searching for a couple of days now and haven't really found anything related to this issue. URLs in WP post/page content linking to other internal posts/pages are all absolute and when using WP as a headless CMS the domain needs to be…
Bonovski
  • 35
  • 1
  • 7
2
votes
3 answers

strapi database.js / multiple database configs

Strapi works locally if im running sqlite in the database.js but not if I'm running postgres / I've found online that I can specify that npm run develop uses sqlite, and production should use postgres. For REF - I found this answer here:…
Wally
  • 705
  • 1
  • 9
  • 24
2
votes
1 answer

Directus 8 many-to-many not displaying

I have a standard many-to-many table design with 'hosting' and 'months' connected by 'hosting-months'. In Directus 8 interface I set this up as: I've tried multiple display settings, with the table name and without in dot (Twig?) format.…
2
votes
1 answer

Sanity query in an array of references

I have an array of articles with array of tags with references: _type: "article", tags: [ { _id: "123", _rev: "123", _type: "articleTag", key: { _type: "slug", current: "news" }, title: "News", _type: "string" }, ... ], I'm…
kizoso
  • 1,216
  • 2
  • 15
  • 30
2
votes
2 answers

Showing custom plugins (pages) in the left menu in Strapi 3

Strapi 3.0.0 is now in version Betaa, and they have changed a lot comparing to the prior version (Alpha) But now customising the admin panel is not clear anymore in the beta version, The structure has been changed and there is no instruction on how…
Sletheren
  • 2,435
  • 11
  • 25
2
votes
1 answer

How to do conditionally filtering with Directus Javascript SDK?

Problem I am not able to change the default AND operator in the curl call like explained in the directus api docs: https://docs.directus.io/api/reference.html#filtering Question How can I enable the OR operator in order to filter based on different…
Kevin Vugts
  • 1,462
  • 4
  • 21
  • 39
2
votes
2 answers

How can I remove the entries in "Strapi" that have a specific value?

What is the proper way to delete entries in certain cases in headless-cms Strapi? If one content type gets a specific value. For example if the date is reached/expired. In my case I've created an events calendar. It has some content types like…
1 2
3
15 16