contentful Questions
11
Solved
I have a Gatsby site that has been running smoothly for 3 months online.
As of Friday 24th July I have started to receive the below result and users only see a blank screen.
This is likely a bug...
Anthroposophy asked 26/7, 2020 at 21:40
11
Solved
So I'm using the Contentful API to get some content from my account and display it in my Next.Js app (I'm using Next 9.4.4). Very basic here. Now to protect my credentials, I'd like to use environm...
Irvingirwin asked 15/6, 2020 at 10:44
3
Solved
I have the following rich text document
{
"data":{},
"content":[
{
"data":{},
"content":[
{
"data":{},
"marks":[ ],
"value":"test",
"nodeType":"text"
}, {
"data":{},
"marks":[],...
Vasti asked 7/1, 2019 at 23:4
2
Solved
I'm encountering the following error when attempting to open a project I forked via GitHub.
success open and validate gatsby-configs - 0.492s
ERROR #11331 PLUGIN
Invalid plugin options for "...
Sodality asked 14/3, 2021 at 2:37
3
I think this is quite a vanilla question but I can't find anything on Google.
I'm learning NextJs (using TypeScript) and I've got a site successfully working with dynamic routes, SSR, and increment...
Sternutatory asked 1/1, 2021 at 1:40
1
I have a little problem with the ISR. I have the revalidate prop equal 1s like here
export async function getStaticProps({ params }) {
const data = await client.getEntries({
content_type: "p...
Alsatia asked 3/4, 2021 at 11:18
2
I am trying to publish Gatsbyjs by Azure Static web app.
I have a plugin (gatsby-source-contentful).
I need to pass variables like:
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: pro...
Millwater asked 16/1, 2021 at 11:22
3
As I see there is no json option anymore when querying the contentfulBlogPost only raw. I was able to make some changes to get everything from the body, except the image from that post.
If I made a...
Marijuana asked 21/1, 2021 at 14:12
1
Solved
I have a gatsby app in which I am rendering rich text content. everything is working well, other than me being unable to fetch the text which I hyperlinked in the contentful CMS. Current code looks...
Alesha asked 9/2, 2021 at 18:4
3
Solved
I have a Gatsby GraphQL query for a list of posts ordered by date and filtered by category.
{
posts: allContentfulPost(
sort: {fields: [date], order: DESC},
filter: {category: {slug: {eq: $slug...
Bergschrund asked 26/6, 2018 at 16:38
0
I am using next.js 10 and have a [slug] page which creates dynamic pages from Contentful CMS.
I am changing the slug inside CMS and run next dev the old slug correctly returns 404 and the new slug ...
Asinine asked 7/1, 2021 at 15:51
5
gatsby: 2.20.8
gatsbh-source-contentful: 2.2.5
I've verified my spaceId and accessToken are correct, and I've verified that these keys have access to my Contentful development environment. I've t...
Corinthian asked 27/3, 2020 at 19:30
2
Solved
I made a page which pulls data from Contentful. The data is pulling correctly, but buttons which use functions from methods don't work. Live updating of variables (for example, using v-model) doesn...
Hereditable asked 21/3, 2020 at 20:28
3
I am new to vue.js. I have a simple index.vue which tries to connect to contentful and display the entries from contentful. My code in index.vue looks like this:
<template>
<div>
&...
Jewry asked 17/1, 2019 at 2:58
4
Solved
I used this tutorial: https://github.com/gatsbyjs/gatsby/blob/master/docs/docs/environment-variables.md
Steps I followed:
1) install [email protected]
2) Create two files in root folder: "....
Leddy asked 3/11, 2017 at 0:59
1
Solved
I am trying to figure out how to retrieve specific articles based on author (reference), my current function retrieves all articles, but I only want the author specific ones
const resp = yield cl...
Nutritionist asked 9/7, 2019 at 11:49
2
Solved
I'm using gatsbyJS with contentful. When I start to query any contentful content I don´t get the support from graphql. When I start to type "allContentful*" no contentful stuff appears:
When i d...
Trochaic asked 17/1, 2019 at 9:18
2
I am setting up a UITableView programmatically. I would like the content of the cell to span the entire width of the screen. I have successfully set the cell to span the width of the screen, but th...
Disport asked 29/1, 2016 at 17:14
5
Is there any simple way to convert markdown text from contentful api to render into html code to be display on html page. I have tried using pagedown and some similar techniques , but none seem to ...
Musser asked 10/12, 2015 at 8:54
2
I am trying to write a query to retrieve an object with the property linkedCards that contains an array of objects with different schemas.
I have 3 different schemas (built in Contentful):
CardA ...
Gulick asked 15/4, 2019 at 22:25
1
Solved
I have a Gatsby project with very similar GraphQL queries for two different types of content: regular pages and wiki articles.
Page by slug
export const query = graphql`
query($slug: String!) {
...
Phio asked 10/7, 2018 at 15:30
1
I'm using React context to store the locale for a NextJS website (e.g. example.com/en/). The setup looks like this:
components/Locale/index.jsx
import React from 'react';
const Context = React.c...
Giacobo asked 14/1, 2019 at 12:10
1
I am trying to retrieve a single entry based on the name custom field of my entry.
I have tried using the JS SDK with various options:
client.getEntry("entryID")
// .where("content_type", "Resta...
Louvre asked 20/1, 2019 at 10:27
2
Solved
In the Contentful CMS, I have two different content-types: BigCaseStudy and BigCaseStudySection. To get this content to appear in my Gatsby 2.x site, my thinking was:
Do query 1, which gets all t...
Carliecarlile asked 17/9, 2018 at 4:52
2
I am new in contentful and I am trying to display content from contentful to a web page. I am displaying the content using contentful.js, I wanted to know How can i hide these information(space id ...
Prepossessing asked 21/3, 2016 at 15:3
1 Next >
© 2022 - 2025 — McMap. All rights reserved.