Key features of payload Cms

1. Headless CMS API-First Approach: Payload is designed to be API-first, allowing you to deliver content across any platform, whether it’s web, mobile, or other connected devices. GraphQL and REST APIs: Provides both GraphQL and REST APIs out of the box, giving developers flexibility in how they query and manipulate content. 2. Customizable Admin Panel… Continue reading Key features of payload Cms

Crop and Focal Point Selector in payload

This feature is only available for image file types. Setting crop: false and focalPoint: false in your Upload config will disable the respective selector in the Admin panel. Image cropping occurs before any resizing, the resized images will therefore be generated from the cropped image (not the original image). If no resizing options are specified… Continue reading Crop and Focal Point Selector in payload

Payload-wide Upload options in Payload

Payload relies on the express-fileupload package to manage file uploads in Express. In addition to the Upload options specifiable on a Collection by Collection basis, you can also control the express-fileupload options by passing your base Payload config an upload property containing an object supportive of all express-fileupload properties which use Busboy under the hood.… Continue reading Payload-wide Upload options in Payload

Email Verification in payload CMS

If you’d like to require email verification before a user can successfully log in, you can enable it by passing true or an options object to auth.verify. The following options are available: generateEmailHTML The function that accepts one argument, containing { req, token, user }, allows for overriding the HTML within emails sent to users… Continue reading Email Verification in payload CMS

REST API in payload CMS

A fully functional REST API is automatically generated from your Collection and Global configs. All CRUD operations are exposed as follows: Auth Operations Auth enabled collections are also given the following endpoints: Global: example: import { CollectionConfig } from ‘payload/types’ 2 3// a collection of ‘orders’ with an additional route for tracking details, reachable at… Continue reading REST API in payload CMS

How to create a New Fields on the existing the Users Tabs on payloadCMS

Solution note: To create the necessary field on the user tab, for more specific information on the user detail 1. Login to the administrator in the payload. 2. Then, browse to the Users option from the side navbar. 3. Check which fields are available in the User tab. Follow this in the code section 1.… Continue reading How to create a New Fields on the existing the Users Tabs on payloadCMS