Ask questions about the Netlify CMS open source project. netlifycms.org
Questions tagged [netlify-cms]
277 questions
0
votes
1 answer
Netlify-cms existing collection items are not displayed even if github request returns item
I'm using netlify-cms 2.10.68, netlify-cms-app 2.11.20 with Gatsby 2.26.1 to do a simple event listing site.
When I restart the server or redeploy, existing collection items are not displayed in the cms.
When checking the network traffic to github…

crowgers
- 232
- 3
- 19
0
votes
1 answer
issue with next.js file-loader, load image from JSON file (netlify cms)
I'm having an issue with images.
I'm working on a project that uses Next.js, and Netlify CMS, which allows you use a CMS to upload content and images and it generates a JSON file, and I'm consuming this JSON file on my component.
Everything is…

Natacha Romano
- 21
- 3
0
votes
1 answer
How to make collection path start unchangeable
I have two collections, blog, and news.
Blogposts have the path: example.com/blog/blogpost1, example.com/blog/blogpost2, etc.
News have the path: example.com/news/newsa, example.com/news/newsb
I want to have all the news to start from a relative URL…

Pikk
- 2,343
- 6
- 25
- 41
0
votes
1 answer
Is it possible to automate NetlifyCMS to bookmark websites?
I use a Hugo on Netlify with NetlifyCMS to bookmark websites. But every time I want to do that I need to make it by hand and then publish. Is there any way to automate this?
How would you go about if you want to do make it? Maybe browser extension?

idm
- 189
- 1
- 11
0
votes
1 answer
Embedding a youtube video in markdown field in Netlify CMS
I'm developing a site that uses Next.js (static/pre-rendered) with Netlify CMS as a way to manage content, and also run the blog.
For each blog post, I have a few fields such as title, author etc that are string fields, and I have a markdown field…

user14479400
- 1
- 1
0
votes
1 answer
How to set media_folder and public_folder in Netlify CMS when not using static site generator?
I’m connecting Netlify CMS to a website built without a static site generator.
In my config.yml I have media_folder: “/images/uploads”. At the moment I’m using public_folder: “/images/uploads” in config.yml which should, to my understanding, add…

Crocky
- 75
- 10
0
votes
1 answer
Netlify CMS Images are uploaded into wrong Media folder
This is my config.yml for Netlify CMS
backend:
name: git-gateway
branch: master
repo: franva/askwinston
commit_messages:
create: 'Create {{collection}} “{{slug}}”'
update: 'Update {{collection}} “{{slug}}”'
delete: 'Delete…

Franva
- 6,565
- 23
- 79
- 144
0
votes
1 answer
Why is the content of my js file replaced by html code?
I am trying to use functions in dcsubscriber.js:
However, when running the website, the content of dcsubscriber.js is replaced completely by some odd html code:
Update:
I use Admin panel to add html code from Markdown editor

Franva
- 6,565
- 23
- 79
- 144
0
votes
0 answers
Gatsby transforming string into relative path
I have a field in the frontmatter for a page my_field: /contact/. When I query this field on my page it gets transformed into ../pages/contact but I want it to be exactly what I typed, just /contact/.
How do I prevent Gatsby from transforming my…

Jake
- 383
- 6
- 26
0
votes
1 answer
FaunaDB updating records only updates ts(timestamp), nothing else changed
I am using Netlify recommended FaunaDB.
This is my update query:
const response = await client.query(
q.Let(
{
matchRef: q.Select([0], q.Paginate(q.Match(q.Index("sub_search_by_auth"), auth)))
},
q.Update(q.Var("matchRef"),…

Franva
- 6,565
- 23
- 79
- 144
0
votes
1 answer
Netlify CMS + Gatsby: How to reference to an image from html code in Markdown editor on the Admin portal
I am trying to add an image button from the markdown editor on About page.
I have images under a folder static/img and can see those images are copied into public/img folder
But when open the About page, the image always broken
so it seems that…

Franva
- 6,565
- 23
- 79
- 144
0
votes
0 answers
Gatsby + Netlify CMS Html element in markdown doesn’t pass in correct key or keyCode value
in my separated js file:
function yell(e) {
console.log("yell() ", JSON.stringify(e.value));
console.log("yell() keycode ", e.keyCode, e.key);
if (e.key === 'Enter' || e.keyCode === 13) {
// Do something
}
}
I would…

Franva
- 6,565
- 23
- 79
- 144
0
votes
0 answers
Gatsbyjs + Netlify CMS how to create a new page and use javascript functions on the new page
I need to create a new page or just re-use the existing About page
to add one html textbox which will call a subscribe(event) function when users click Enter.
As you can see here, I'm using Netlify CMS's admin portal to modify my About page. I did…

Franva
- 6,565
- 23
- 79
- 144
0
votes
1 answer
Make multilingual content folder template for Hugo with Netlify CMS
Any ideas on how to make a deeper sub-folder structure for the Netlify CMS template that serves the content pages. Is it possible to be done with Netlify CMS config.yml template.
That's what I have currently:
/Content / Topic Folder / Topic section…

idm
- 189
- 1
- 11
0
votes
1 answer
TypeError: Cannot read property 'map' of undefined on Netlify CMS/React.js
Environment
Netlify CMS version: netlify-cms-app@2.12.17
Git provider: git-gateway
Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89
Safari/537.36
Explanation
As you can see…

Luiz
- 1,275
- 4
- 19
- 35