Questions tagged [strapi]
Strapi is an open-source Node.js headless CMS built on top of Koa. It's frontend-agnostic and claims to not be an MVC framework. It auto-generates RESTful endpoints and has support for GraphQL and WebSockets.
strapi
2,855
questions
0
votes
0
answers
14
views
Strapi enum values change based some value
Is it possible in strapi to set different enums based some value?
I want to change my enums list based my exercise type, because I want to others who used admin panel for menage exercise data will ...
0
votes
0
answers
14
views
Proplem with Strapi client v4
I am watching a video in youtube tutorial working with strapi here is the link : https://www.youtube.com/watch?v=gPFbxwRGhiQ&list=PLVpp0SvtYtdfMvoSB1NwHq3J0MFHSz5FQ&index=17
at 4:34 ,You can ...
0
votes
0
answers
7
views
Cannot deploy strapi app to cpanel using phusion passenger
I have old version of cpanel having node 16. I am trying to deploy strapi app but it keeps on failing
I have just create a zip of code and than uploaded it to document root, after that I click on ...
0
votes
0
answers
11
views
fetch data from strapi 4 with populate and filter
i am using strapi 4. I want to fetch data with ** populate parent** of table **features ** is null.
it will works when i use API:
/projects?populate[features][populate]=parent
but when i use this API ...
0
votes
1
answer
23
views
Failed to solve: failed to parse stage name "node:-alpine": invalid reference format
The context is as follows: create an image of Strapi on GitLab.
Please forgive me, this is one of my first approaches to Docker.
I get this error in Docker after using the following command:
docker ...
0
votes
1
answer
34
views
Strapi crash while trying to create Gallery
I am following quick start guide and installation runs correctly. I can access admin panel, everything seems working. I am able to crate new "Collection type". However whenever I try to ...
-1
votes
0
answers
76
views
The "path" argument must be of type string [closed]
There seems to be an unexpected error, try again with --debug for more information
││ ...
0
votes
1
answer
21
views
How do I create a custom endpoint API in Strapi?
I recently started using Strapi. I would like to learn how to create my own custom APIs, I did everything according to the documentation, but when I go along my route, I get a 404 error. In the ...
0
votes
1
answer
22
views
What's the most efficient way to structure your landing page content in Strapi?
What's the most efficient way to structure your landing page content in Strapi?
How good is it :
1 collection type as 'home-screen'
Multiple components as 'heroSection', 'aboutSection', 'Footer'...
...
0
votes
1
answer
51
views
CORS in strapi v4.24.2 doesn't work anymore
i'm trying to add CORS for some of my sub-domains/domains such that only those will be able to access my strapi resources but unfortunately i'm unable to do so. I followed the documentation as per ...
0
votes
1
answer
37
views
Why does console log undefined when fetching data from Strapi API in Next.js?
I'm trying to fetch posts from my Strapi backend in a Next.js application. My Strapi server is running on localhost:1337. Here is my component code:
When I try to fetch data, posts is logged as ...
3
votes
1
answer
18
views
STRAPI CMS: OneToOne Relation Problem from one Collection
so i have the following problem at my strapi project:
I have a Collection called Player (Many Names) and a Component called Substitution.
Inside the Component i want to just select 2 Players from the ...
1
vote
1
answer
39
views
Strapi Custom Endpoint for Updating User Not Appearing in Admin Roles and Permissions
I'm trying to extend the users-permissions plugin in Strapi to add a custom endpoint for updating user information. However, the new endpoint is not appearing under the roles and permissions section ...
0
votes
1
answer
25
views
How to get Strapi relationship fields in lifecycle methods
In my Inventory model, I have two relationships, one for supplier and one for the product. They are both 1 to many with Inventory. My question is how can I get these relationships from the event ...
0
votes
0
answers
19
views
How to Retrieve the Entry Title in a Strapi Plugin?
I am currently building a plugin that will be able to modify the content types.
I would like to get the Entry title, which can be accessed and edited here, for example, for the content type “Type”: ...