Questions tagged [contentful]
Contentful is a cloud based CMS framework using a RESTful JSON API.
contentful
875
questions
0
votes
0
answers
9
views
What's the most efficient way to structure your landing page content in Strapi?
What's the most efficient way to structure your landing page content in Strapi?
How good is it :
1 collection type as 'home-screen'
Multiple components as 'heroSection', 'aboutSection', 'Footer'...
...
0
votes
0
answers
10
views
Contentful CMS - extract image url for BLOCKS.EMBEDDED_ASSET
I use Contentful and have issue doing custom formatting when my RichText receives the content.json for rendering.
In the case of [BLOCKS.EMBEDDED_ASSET] nodes I try to "process" them in ...
0
votes
0
answers
24
views
Why does Contentful Delivery API sometimes return Child References as type "Link" rather than "Entry" after 3-4 weeks?
After 3-4 weeks, when fetching Contentful data via Contentful Delivery API, I noticed that most child references show up as "type": "Link" instead of "type": "Entry&...
0
votes
0
answers
13
views
Project with Auth0, Contentful and Nextjs14
"I need to do a blog project with these technologies. It will be my first professional project and I'm a little lost. Should I start with the database using Contentful, with Auth0, or with the ...
0
votes
1
answer
21
views
How to Preserve Slashes in Contentful Slugs with Next.js
I am using Contentful and Next.js in my project. The slugs I receive from Contentful contain slashes (e.g., news-insights/blogname). However, when I fetch these slugs and try to build the pages, the ...
0
votes
1
answer
45
views
Contentful GraphQL Destructuring Fragments in Array
Got an issue with fragments, in a graphql query for a gatsby site I am working on that uses Contentful as the CMS:
Consider the following query:
export const query = graphql`
query ...
-1
votes
0
answers
12
views
Get content model from Contentful API
Even though Contentful's CLI provides a way to export all data from a space, including content models, the documentation covering Contentful's APIs don't seem to refer to this usecase.
Does Contentful ...
0
votes
0
answers
10
views
How to get the definition of the content model of a specific type with Contentful CLI
Contentful CLI supports exporting all content models with the following command:
$ contentful space export --skip-roles --skip-content
Let's say that we are only interested in exporting a single ...
0
votes
1
answer
25
views
How to test deserialization in calls to Contentful's GetEntries?
I am adding a new content model in Contentful, and I'm using Contentful's .NET SDK to retrieve its entries. In the past I've experienced problems migrating from Newtonsoft.Json to System.Text.Json, ...
0
votes
0
answers
14
views
Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'PARAGRAPH')
(https://i.sstatic.net/mLjkpUbD.png)
I'm encountering a TypeError in my code even before attempting to make a service call to Contentful. This issue is preventing me from progressing with my ...
0
votes
0
answers
34
views
Next.js with Contentful CMS, acces denied on a client component
Im working on my first Next.js app. Im using Contentful also for the first time (first time with a CMS) So far I really enjoy Next and everything is smooth sailing. But now I ran into some problem ...
1
vote
0
answers
50
views
Preview is returning the published post. I want the modified post
I'm working in a Next.js 13 app, using Contentful CMS. I have the rights ENV vars and i want to have the preview of each post before to publish it.
I wrapped my _app.js with
import { ...
0
votes
1
answer
263
views
Render html content in rich text - Contentful + Next.js
I am building a website using Next.js and Contentful. Now I want to render html content something like <span style="font-size: 18px">View</span> in Contentful rich text. I am not ...
0
votes
0
answers
28
views
Unable to Update Entry in Contentful with Next.js: "Access token invalid" Error
I'm encountering an issue while attempting to update an entry in Contentful using the Contentful Management SDK. I've followed the example provided in the documentation, but I keep receiving an "...
0
votes
0
answers
27
views
Contentful GraphQL collection filter for a Link field with two content types
I've Referral content type which has excludedClient field which is a Link(Many references) and it consists of Client | Client Group content types.
Both Client & Client Group content types has ...