Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 21:29
    joallard commented #716
  • Jan 31 21:28
    joallard commented #716
  • Jan 31 21:28
    joallard commented #716
  • Jan 31 18:42
    ashx starred netlify/netlify-cms
  • Jan 31 18:41
    jessebrack starred netlify/netlify-cms
  • Jan 31 17:04
    erquhart labeled #2047
  • Jan 31 17:03
    erquhart opened #2047
  • Jan 31 16:57
    erquhart commented #1989
  • Jan 31 16:50
    erquhart commented #1285
  • Jan 31 16:42
    erquhart labeled #1985
  • Jan 31 16:42
    erquhart labeled #1985
  • Jan 31 16:42
    erquhart labeled #1985
  • Jan 31 16:37
    erquhart labeled #1983
  • Jan 31 16:37
    erquhart labeled #1983
  • Jan 31 16:37
    erquhart labeled #1983
  • Jan 31 16:37
    erquhart labeled #1983
  • Jan 31 16:37
    erquhart labeled #1983
  • Jan 31 16:36
    erquhart commented #1983
  • Jan 31 16:36
    erquhart commented #1982
  • Jan 31 16:36
    erquhart labeled #1982
Kim Alvarez
@kim23_gitlab
'collections[0]' should have required property 'files'
'collections[0]' should have required property 'fields'
'collections[0]' should match exactly one schema in oneOf
rondlite
@rondlite
does the section under types have the right ident?
2 spaces before - label
Kim Alvarez
@kim23_gitlab
yes
other than the possible wrong indentation there somewhere, does it look right to you?
rondlite
@rondlite
yes i dont see it. sorry :(
Kim Alvarez
@kim23_gitlab
no worries. thank you for your help : ) its at least pushed me somewhere
Robert Hall
@arxpoetica
Anyone have a handy way of fetching a list of all md files for a given collection?
Tom Rutgers
@tomrutgers
@kim23_gitlab can you share your entire config?
Kim Alvarez
@kim23_gitlab
@rondlite @tomrutgers I've actually figured it out! The example in https://www.netlifycms.org/docs/beta-features/#list-widget-variable-types actually still has to be put under "fields" so now my config looks like this, which works:
backend:
  name: git-gateway

media_folder: "site/static/img" # Folder where user uploaded files should go
public_folder: "img"

collections: # A list of collections the CMS should be able to edit
  - name: "post" # Used in routes, ie.: /admin/collections/:slug/edit
    label: "Post" # Used in the UI, ie.: "New Post"
    folder: "site/content/post" # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    fields: # The fields each document in this collection have
      - {label: "Title", name: "title", widget: "string"}
      - label: "Sections"
        name: "sections"
        widget: "list"
        types:
          - label: "One Column"
            name: "one-column"
            widget: object
            field: {label: "Body", name: "body", widget: "markdown"}
          - label: "Spotlight"
            name: "spotlight"
            widget: object
            fields:
              - {label: Header, name: header, widget: string, default: "Spotlight"}
              - {label: Template, name: template, widget: string, default: "spotlight.html"}
              - {label: Text, name: text, widget: text, default: "Hello World"}
ponchique
@ponchique

Hi there,

I'm experiencing the issue in CMS Workflow UI when you want to delete changes that under Draft but instead CMS proposes to delete the whole entry and actually deletes it. My understanding was it should detele only changes you've made but didn't publish

Could you please help with this issue?

delete-changes.png
detele-entry.png
NanyThery
@NanyThery
Hey guys, I am quite new to this. I was wondering, how can I use Netlify CMS with just plain HTML and md files.
I mean how should I communicate the dynamic content with the html templates
Any docs or tutorial you can recommend me please? The docs from netlify only point to site builders and I already have my site built
(on my own)
Tom Rutgers
@tomrutgers
@NanyThery You pretty much need to use a static site generator to convert the md files into html pages
Sverre Johann Bjørke
@sverrejb
Are there any guides on using netlify forms as a way for users to submit content that is published?
Sort of like a comment section
Tom Rutgers
@tomrutgers

@sverrejb Not that specifically, no, but this idea covers the same concept: https://css-tricks.com/using-netlify-forms-and-netlify-functions-to-build-an-email-sign-up-widget/

You need to hook up Netlify Functions to Forms, basically. Try asking here: https://community.netlify.com, since this thread is meant for Netlify CMS related questions.

Sverre Johann Bjørke
@sverrejb
gotcha, thanks!
Logan Houp
@hu0p
Has anyone encountered this error before? Failed to load entry: API_ERROR: Access to endpoint not allowed: this part of GitHub's API has been restricted
It seems as if git gateway isn't enabled, but I can verify it is in Netlify
Oddly, I'm trying to access via localhost and it's acting if I have no markdown files in my project folder
Kim Alvarez
@kim23_gitlab
Hi all! It seems that content published from the cms backend is auto-committed to the master branch (I currently can't find if this can be changed), and that deploying to the production site can be from any branch. I'm curious, what are your staging and deployment workflows like?
Is it possible to locally save content published via the cms and then manually commit so that affected templates can be published at the same time?
rondlite
@rondlite
@mkdizajn I get the current branch from BRANCH process.env .. and set that in cms.js ... if you want to do manual you can specify it in admin.yml
backend:
  name: git-gateway
  branch: master
Robert Hall
@arxpoetica
Is it possible to keep the CMS md/json files repository separate from the Netlify static site repository?
It'd be great if I could keep any client CMS commits separate from the main repo.
Brent Robbins
@brentrobbins
When setting up the Netlify CMS with Bitbucket there's a line in the config for app_id Where/how do I get this id? The docs doesn't really explain this.
Robert Hall
@arxpoetica
Maybe if I set up some CORS rules and just published it to a separate site?
I'm actually really only publishing JSON files anyway (I opted not to go the md route)
btw, I've been doing the legwork on setting things up for Svelte / Sapper
if anyone on the Netlify team wants to reach out to me to add it to https://www.netlifycms.org/docs/examples/, I'd be happy to assist
May be the answer I was looking for.
Robert Hall
@arxpoetica
MMM on second thought, not. I want a totally separate repo. This approach will still mix their commits with my repo, just in a more controlled fashion.
I'd much rather have all the commits go into a separate repo if at all possible.
JoanneTsai
@JoanneTsai1208
Hi, I just got a new Netifly which created the gine-blog repo in Github for me. It shows "page not found" from the start of the whole thing. Nothing changed.
After I change the config in Guthub (just change some reference URL) and push, deployed, the website is still "page not found"
anyone knows where's the problem?
The deploy is successful
vsirghii
@vsirghii
How to use NetlifyCMS with a site on AWS S3? In NetlifyCMS docs all the examples are for the site on Netlify. How about S3, what are the steps of setting the identity, etc? Google search doesn't give any specifics...
Rahul Trivedi
@rahultrivedi180
Can i connect netlify with a private repo?
Jen Udan
@judan
Hi all, I used the NetlifyCMS+NextJS to set up and deploy my site, but for some reason it doesn't show me the collections in the admin dashboard. And when I go to localhost:3000/admin it says "page not found". Any ideas? https://www.netlifycms.org/docs/nextjs/
jugglingjsons
@jadczakd
Hey there! Two quickies here:
  1. Can I do auth with google?
  2. Can I use slug as a variable in other values in the model? eg:
    path: "/blog/{{slug}}"
tranthaison1231
@tranthaison1231
image.png
Hello every one, I wanna query avatar depend on author varible, but it's not working.
image.png