0.1.6 • Published 5 months ago

@webbio/strapi-plugin-published-at v0.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

Strapi plugin published at

Features

  • 1 Adds a custom field customPublishedAt to the configured content types
  • 2 Inherits original publishedAt date
  • 3 Enables customization of new customPublishedAt field
  • 4 Original publishedAt field will remain untouched.

Installation

To install this plugin, you need to add an NPM dependency to your Strapi application.

# Using Yarn
yarn add @webbio/strapi-plugin-published-at

# Or using NPM
npm install @webbio/strapi-plugin-published-at

How it works

Your content type will receive an extra field: customPublishedAt that will initially inherit the original publishedAt date. Unlike the original publishedAt, the customPublishedAt is editable in the sidebar of the configured content types.

Configuration

./config/plugins.js

module.exports = ({ env }) => ({
	// ...
	'published-at': {
		enabled: true,
		config: {
			contentTypes: {
				// Example for a content type called "page"
				'api::page.page': {}
			}
		}
	}
	// ...
});

Then, you'll need to build your admin panel:

# Using Yarn
yarn build

# Or using NPM
npm run build
0.1.6

5 months ago

0.1.5

11 months ago

0.1.4

12 months ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago