#How to Rename a Collection?
25 messages · Page 1 of 1 (latest)
Original message from @half cipher - Moved from #general message
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
Hey @half cipher
If you want to change the group name (ie "Collections") then you need to define an admin.group in your collection configs and grup them by a common name. If you want to change the label of your collections, IE change Media to Images, then you should define an labels: { ... } property in your collection config
if you can please send me an example? I am not getting it
right now collections: [Pages, Posts, Media, Categories, Users], and globals: [Header, Footer], in config
Ok got it and the theme you have created has stripe is also implemented in there because I have added the stripe plugin but I don't know how I will add the stripe to the collection and I am also getting confused in roles, like I will have 2 roles one admin and one simple user that will able to sign up and sign in to see his data in the frontend I don't know how to implement it
No stripe, no need to use the theme, just define an admin.group in your own collections
Go to one of your collections, and add admin.group: TestGroup and observe how it changes the admin ui
Ok
For roles, I'd take a look at the auth example: https://github.com/payloadcms/payload/blob/main/examples/auth/src/collections/Users.ts
and i want to check about the stripe if you can also tell me about it really it will mean alot
how to change the position bro?
Change the order of how they're imported in the config
it is already correct
also when I click any link it automatically closes
it worked just the name was global as default that was problem
but getting this issue on clicking link it auto closes whole group
Go to /account and reset preferences
Ok
I think that should fix that issue for ya
Yes it is fixed, thanks alot
My pleasure!