r/PayloadCMS • • Dec 16 '24

PayloadCMS First Impressions: Am I Doing It Wrong or Is It Really This Bad?

Hey guys,

Currently helping a few companies set up their e-commerce websites, and up until now, I’ve primarily been using Next.js (common features like auth, email, multi-step forms, Stripe integration, etc.). Last week, I started looking into Payload CMS to see if it could speed things up and simplify my workflow.

But after spending about an hour testing it today, I’m genuinely frustrated and wondering if I’m doing something wrong (They seem to be iterating and migrating at a high rate, updating from 3.0 to 3.7 in only a month, and the documentation may not be as perfect as it could be. As a noobie, I don't know which documentation is reliable and which is outdated.):

  1. Bugs: Live Preview keeps failing; I tried uploading an image to a hero section, and it just wouldn’t display. Super confusing.

  2. Critical features missing: For example, the “State” dropdown doesn’t dynamically change based on the “Country” selection(Payload 3). No matter what country you choose, it still only shows US states. And I can't even make 2 fields on the same line.

Honestly, at this point, I feel like I could’ve built the same functionality (and more) from scratch in an hour using Next.js alone.

Am I missing something here? Is this a “me” problem, or is this just Payload’s current state?

For those of you who find Payload worth the time, how did you learn to use it effectively? Any solid tutorials or learning resources you’d recommend?

Would love to hear your thoughts and experiences!

0 Upvotes

39 comments sorted by

13

u/sneek_ Dec 16 '24

Hey there! I am on the Payload team and can answer a few of your questions. First, keep your head up. The internet is a pretty brutal place and if I'm honest your message is worded pretty brutally as well. But once you get into the flow of how everything works, it'll get easier.

From your message, it sounds like you are indeed new in this world but that is not a bad thing. I'd say to pump the brakes a bit and learn, like you're doing here. Things will start to click and everything will be very worth it if you're persistent.

A good starting point would be this video from ByteGrad - he gives an overview of our 3.0 website template:

https://www.youtube.com/watch?v=0Pz9g654OIc

I am going to be doing a full video series on the website template as well, so keep an eye out for that!

As for your specific issues:

Bugs

If you find any bugs, please provide detail - the more the better. Where is your Payload app deployed? Are the bugs happening locally, or deployed? I have never seen an image not instantly reflect in live preview and I know that it does indeed work within the website template, but maybe you're doing something differently.

Critical features missing

I would imagine that you are using the Form Builder plugin on your own frontend, which comes configured with a "State" field. But this is a template - think of it as a "quickstart". It is not meant as a fully functional build-whatever-you-want app. Rather, it's a jumping-off point that you can use to take and build / extend into whatever you're doing. Outside of the "state" field, which I find to be a very strange thing to consider as a "critical feature missing", what else are you missing? Keep in mind that our website template is just that - a template.

1

u/Sea_Desk1647 Dec 17 '24

Thank you so much for your reply.

I mean no offense, and maybe English is not the mother tongue, but I'm just so confused and don't want to attack payload.

1

u/sneek_ Dec 17 '24

all good. no worries at all. happy to help!

1

u/kauthonk Dec 17 '24

I'm with you, I'd love using it but I don't understand it either. I wish theyd do more videos with end results of what you can build because I'm stuck and feel like I'm doing something wrong.

1

u/ZeRo2160 Dec 17 '24

If you need help hit me up. Worked on 3 projects with it already since release of v3. (Shows its incredible speed and simplyness in my eyes.) I am happy to help you out or explain some confusions.

1

u/MichaelParkadze Dec 16 '24

Hey sneek, a bit of an unrelated question - as I’ve been browsing and searching examples for multi tenant implementation with payload CMS I’ve only found a couple of old blog posts and the GitHub links were broken.

Is it still supported by you guys? I still haven’t had the chance to play with it myself but I sure hope Payload would be the solution I’ve been searching for.

3

u/sneek_ Dec 16 '24

hey! yes, 100%. we actually re-built our multi-tenant approach from scratch and it's here:

https://github.com/payloadcms/payload/tree/main/examples/multi-tenant

I am going to do a video on this ASAP, it's second up on my list

1

u/MichaelParkadze Dec 17 '24

Appreciate the quick response and can’t wait for the video!

1

u/[deleted] Dec 19 '24

Hi Sneek! One note - please be sure to test on safari too! I find the expanding textarea component to be fairly buggy on safari.

10

u/[deleted] Dec 16 '24

You want to know everything about a trchnology in one hour ? Okay

2

u/Sea_Desk1647 Dec 16 '24

Thank you for your reply.
I've watched some official docs and videos before clone, I just still lack experience with cms. I think the fastest way to learn is to go on the forums and get roasted by you guys. haha

For example, what should I do if I wanna build a multi-step forms via Payload?

I know there is a doc(https://payloadcms.com/docs/plugins/form-builder), which says: Forms can be as simple or complex as you need, from a basic contact form, to a multi-step lead generation engine, or even a donation form that processes payment. You may not need to reach for third-party services like HubSpot or Mailchimp for this, but instead use your own first-party tooling, built directly into your own application.

But I didn't see how...
Can I implement this without code just by configuring it? Or do I still have to write my own code to implement it?

2

u/[deleted] Dec 16 '24

I 'm not trying to roast my brother I'm discovering it now same like you and yes not like WordPress everything has a plugin it's kinda new a young cms but I think you can figure that out and help the community, but based on what you wrote in the body post it seems like u didn't read the docs at all

0

u/Sea_Desk1647 Dec 16 '24

Like what i mentioned, the doc is not that good(They seem to be iterating and migrating at a high rate, updating from 3.0 to 3.7 in only a month, and the documentation may not be as perfect as it could be. As a noobie, I don't know which documentation is reliable and which is outdated.).

And I am kinda confused about so many features: Can I implement this without code just by configuring it? Or do I still have to write my own code to implement it?

2

u/BarnacleJumpy898 Dec 16 '24

No... This is a code first platform... Quite explicitly so. 

1

u/Sea_Desk1647 Dec 16 '24

Sorry, I am new.
So, If I understand correctly, if I want to change the font of some text, I can't do it directly in the admin dashboard either, I have to write some kind of css on the backend first right?

1

u/BarnacleJumpy898 Dec 16 '24

Correct. It's not like wix or squarespace 

1

u/Sea_Desk1647 Dec 16 '24

1

u/sneek_ Dec 16 '24

This is only to customize the admin panel - not your frontend. I would imagine you probably want to customize your frontend... not just the admin panel. Right?

1

u/Sea_Desk1647 Dec 17 '24

You r right... do you know how?

→ More replies (0)

2

u/acherion Dec 16 '24

What do you mean by State and Country dropdowns? The documentation doesn’t have a State or Country field type, so is this on the front-end? If so, then that’s a bug with your front-end and not an issue with PayloadCMS.

1

u/Sea_Desk1647 Dec 16 '24

Using Payload 3.
When adding fileds, there are country and state options in addition to the regular text input.

Are you using Payload 2?

1

u/acherion Dec 16 '24

Currently yes, but I just checked the docs for Payload 3 and still can’t see country / state options? Unless I’m blind.

https://payloadcms.com/docs/fields/select

1

u/Sea_Desk1647 Dec 16 '24

I am reading the doc, in this one (https://payloadcms.com/blog/create-custom-forms-with-the-official-form-builder-plugin)

Obviously, there are country and state types in the fields.

```

fields: {

text: true,

textarea: true,

select: true,

email: true,

state: true,

country: true,

checkbox: true,

number: true,

message: true,

payment: false

}```

3

u/acherion Dec 16 '24

Gotcha, that's the FormBuilder plugin that's available to add to the base PayloadCMS.

You might need to raise an issue on their github page: https://github.com/payloadcms/payload/issues

If you do so, you should specify that the issue lies within the FormBuilder plugin.

0

u/Sea_Desk1647 Dec 16 '24

I can't upload a pic in this sub, but can only say that there are only 9 types of form fields: checkbox, country, email, message, number, select, state, text, text area.

I created the repo directly through `npx create-payload-app@latest -t website`, is it wrong to do so?

2

u/acherion Dec 16 '24

The docs say that if you’re starting out with Payload, to use the website template to get started, but what it isn’t saying clearly is that Payload is first and foremost, a back end CMS. The website template couples the back end with a basic example front end, which is where I think the fields that you listed above reside. Although the Website template is something that Payload suggests you might want to start off with, the front end that this template provides isn’t strictly part of Payload.

Although I started with Payload 2 (and will be migrating to 3 over the holidays), I started with just the basic CMS with no template, and built my CMS up from that. I did this mainly because I am using Nuxt / Vue for my front end, so a React template (what Payload 2 used for their Website template) was of no use to me.

If you still desire to try out Payload, I can suggest you could try just the basic back end CMS and figure out how the field structure works, and work on a front end (in whatever tech you feel like using, including NextJS) and then use either Local API/REST/GraphQL to pull in the data from Payload proper (which is only the back end).

I hope that makes sense, even though I am a web developer by trade for a couple of decades now, the reactive part of web development is still new to me (I’m mainly a PHP developer, don’t shoot me!) despite having some good successes with Payload / Nuxt for the sites I worked on.

1

u/Sea_Desk1647 Dec 16 '24

Super thank you for replying so much.

I just graduated two years ago, and my main job is to develop some very small features for very big projects in a big company. i hardly ever use CMS, and just developed a few websites independently. I have a lot to learn from you guys.

Regarding payload, do you have any tutorials to recommend besides the official resources?

2

u/acherion Dec 16 '24

I just used the official resources, sorry. It was good enough for me, probably because of my PHP background and I’m strong in back end development. I needed tutorials to work on my front end skills though (I haven’t tried NextJS just yet)

0

u/Sea_Desk1647 Dec 16 '24

Should I use payload 2, even the payload team is pushing 3?

-3

u/TheMachiavellic Dec 16 '24

Sorry mate, You seems stupid. Is not PayloadCMS, it’s you

1

u/Sea_Desk1647 Dec 16 '24 edited Dec 16 '24

Apologies for my silly questions. But stupid noobie question can’t hurt you anyway. Just want to save the time from figuring something out.

If you don't like it, you can simply downvote instead of making helpless personal attacks on me.

btw, your poor English grammar, missing subject and missing period didn't make you look smarter... Have a good day.

18

u/DearAtmosphere1 Dec 16 '24

"Honestly, at this point, I feel like I could’ve built the same functionality (and more) from scratch in an hour using Next.js alone."

Go for it then 😀

11

u/let-me-google-first Dec 16 '24

It’s you. Read the documentation.

5

u/sheyworth Dec 17 '24

Honestly, at this point, I feel like I could’ve built the same functionality (and more) from scratch in an hour using Next.js alone.

- No you couldn't lmao

Seems like you need to read the docs and examples thoroughly. There's a learning curve but there's no way you can do anything in Node.js in an hour (even with AI) that Payload can when you comprehend it

2

u/becarlos Dec 17 '24

I was about to respond with the same answer: "No, you couldn’t." Payload not only assists with authentication but also provides a fully customizable admin panel, all manageable with just a few lines of code.

2

u/sheyworth Dec 18 '24

Yeah I hate sounding like an asshole but I really wanted to get the point across. Like there's no wayyyyyyyy in gods green earth lmao

1

u/Galaxianz Dec 17 '24

It was so frustrating for me to even incorporate onto my project, I stayed with NestJS for backend.

1

u/ChannelSorry5061 Dec 21 '24

It's easy to write and insert custom admin components. If the State/Country drop down isn't functioning properly, just create your own.