1.2.0 • Published 1 year ago

strapi-plugin-prev-next-button v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Strapi plugin prev-next-button

Strapi Plugin Prev-Next Buttons

Adds a Prev-Next Button to the edit view

How to Install

Copy the following code and run from your terminal

#yarn
yarn add strapi-plugin-prev-next-button
#npm
npm install strapi-plugin-prev-next-button

Add the following attribute in the config/plugins.js file:

'prev-next-button': true

Or if you do not have the plugins.js file yet, add the file with the following contents:

module.exports = () => ({
  'prev-next-button': true,
});

How to use

  • ✨ After activation of the Plugin, click the Prev-Next Buttons will be available in the edit view for an easy navigation. npm.io
  • ✨ Both buttons show prev/next entry title on hover. The title is read from mainField which is configured via Configure the view. npm.io
  • ✨ Sorting to show prev/next implemented by defaultSortBy and defaultSortOrder defined in Configure the View Settings. Improvements are coming soon. npm.io