Better Use As Title

Lets each collection compute its admin document title from a custom function

Community 336 32/wk MIT v1.2.2

Installation

pnpm add @payload-enchants/better-use-as-title

About

Better Use As Title lets you build a document's title from several fields, or from any logic you need, instead of picking a single field. You list the collections that should use a custom title, and the admin panel shows the computed value in lists, relationship pickers and the document header. The function receives the current document data and the request, so it can look up related records or the signed-in user. Each collection can also rename the field that stores the title.

Package info

Package name
@payload-enchants/better-use-as-title
Latest version
1.2.2
Unpacked size
15 kB
License
MIT
Weekly downloads
32
Last publish
Jul 16, 2024

More from r1tsuu

View profile

Fills localized Payload content in other locales with Google, OpenAI or copy resolvers

Typed REST client for Payload with the same query syntax as the Local API

Lets API requests pick which fields come back, like GraphQL field selection

Caches local Payload reads for pages and clears them on content changes

Adds SEO meta fields to collections with OpenAI-generated titles and descriptions

Shows each localized field's value in every locale tab in the admin panel

Similar plugins

More in Admin

Records who created or updated documents and shows update history in the admin panel

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Appearance panel where each editor picks a style, palette and icons for the admin

Visual drag-and-drop page builder for Payload collections with live canvas editing