Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Preview buttons are not visible in the list view by default #148

Open
SalahAdDin opened this issue Feb 15, 2025 · 0 comments
Open

Comments

@SalahAdDin
Copy link

After installing the plugin, configuring it and launching the server, we went to the content type list and we didn't find the buttons:

Image

But, you can see the buttons in the Entity view:

Image

Now, we enable them from the content type schemas, and it does work well:

Image

So, it is not enabled by default, we have to enable it manually.

{
  "kind": "collectionType",
  "collectionName": "posts",
  "info": {
    "singularName": "post",
    "pluralName": "posts",
    "displayName": "Post",
    "description": "Write your's website posts."
  },
  "options": {
    "draftAndPublish": true
  },
  "pluginOptions": {
    "i18n": {
      "localized": true
    },
    "preview-button": {
      "listViewColumn": true
    }
  },
}

System Information

Environment: development
OS: linux-x64
Strapi Version: 5.9.0
Node/Yarn Version: pnpm/9.10.0 npm/? node/v22.13.1 linux x64
Edition: Community
Database: sqlite

strapi-plugin-preview-button:  3.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant