Questions tagged [headless-cms]
234 questions
3
votes
0 answers
Customize admin panel component from strapi v3 plugin
I am developing a local plugin for strapi V3 project and need to make modifications to some main admin panel interface components.
Taking as an example the react component admin/src/components/LeftMenu/LeftMenuHeader/index.js, a possible path is my…

Erme Schultz
- 319
- 5
- 17
3
votes
2 answers
Get response from strapi api for image in a component
I'm trying to get my url img in my axios response from fetching my posts content-type from strapi api.
Here what I've done: I create my posts content-type and I create a components which contains fews media's slot:
Then I call the end point…

Nathan
- 41
- 3
3
votes
1 answer
Accessing image URL from API (strapi) - is this possible?
I’m building a simple portfolio website for a photographer. The collection type that I’m trying to display is called pet pictures, with fields for a title and an image. I’m able to call the API with an async function, but once I have the JSON data…

JordanK
- 65
- 1
- 5
3
votes
1 answer
Url not properly redirecting to a specific page in GatsbyJs
My Problem:
I was trying to integrate Gatsby with headless WordPress and successfully did so. I made multiple menus dynamically from WordPress and called those menus through GraphQL. Every thing seems to work fine but when I try to redirect from my…

Shoaib Arif
- 59
- 7
3
votes
1 answer
How to filter references based on change in another reference?
I have created an object with 3 reference fields - categories, subcategories, and types. I want the subcategories to show subcategories related to the selected category.
{
title: "Product Category",
name: "category",
type:…
user10261767
3
votes
1 answer
Where to add files for Directus 8 front-end hello world?
Checking out Directus 8 for my first time and there's something simple I'm just not getting and don't see it in the docs. My directory setup…

user3525484
- 51
- 3
3
votes
2 answers
Error "Couldn't reach API" when I try to log in
I install Directus CMS via git clone successful. In the database 15 tables were created. In /config folder my projectkey.php file were created too.
After installation I want to login with my credentials and get the error "Couldn't reach API".
In…

GoatMachine
- 127
- 1
- 13
3
votes
1 answer
How to deploy Strapi to an Apache cPanel
I'm setting up a Strapi install in my Apache cPanel (WHM on CentOS 7), and can't find a proper way to deploy it. I've managed to get it running, but when I try to access the dashboard (/admin), it just shows the index page (the one in…

Rom Filippini
- 31
- 1
- 3
2
votes
2 answers
The Sitecore Management Service version of the environment this Sitecore CLI operates with is outdated/Sitecore Headless
I'm using Sitecore Headless ASP.NET Core Getting Started Template to build my project. Everything works fine until I use Sitecore CLI (dotnet sitecore ser pull) and get this error:
The Sitecore Management Service version of the environment this…

Vũ Anh Nguyễn
- 31
- 2
2
votes
2 answers
Which rendering mode to choose with Nuxt? SPA, SSR, SSG?
I'm still new to web dev and trying to build an Ecommerce app using Nuxt and Strapi as a CMS to enable the website owner (which in this case is also me) to easily add/edit/remove products.
I've found a lot of articles about this topic and got really…

Muhammad Mahmoud
- 621
- 1
- 5
- 21
2
votes
1 answer
How to deploy changes to production without downtime (generic hosting)?
What is the recommended way to deploy changes (for example change in some Content Type model) from development to production without downtime?
I’m using this setup.
I have development instance with development postgres database.
On production I…

Tereska
- 751
- 1
- 7
- 25
2
votes
1 answer
strapi forgot password plugin doesn't send email
I use strapi as an admin panel. When a user need to reset his password, the link forgot my password should send an email with a link to reset, but nothing happens.
I don't find any information in the strapi documentation to solve the problem. Does…

Rom-888
- 681
- 2
- 9
- 30
2
votes
2 answers
Uncaught TypeError: Cannot read properties of undefined (reading 'rendered')
im newbie in React and trying to make a headless worpdpress aplication.
when i fetch a post i get only the first value.
I fetch the post and save it in the state
componentDidMount() {
this.setState({ loading: true }, () => {
…

Youssef Ouarrak
- 47
- 1
- 2
- 9
2
votes
0 answers
How to get Dynamic zones like functionality (strapi) in Directus? They say we can impliment using there newer Many-To-Any
so I'm using directus as my new backend as strapi has gotten buggy over the time and it's slower. Few things I miss from strapi are Dynamic Components/Zone
Example- We have 3 components A (title) - B (Image) - C (Markdown)
On one page/post I want…

Alwaz Shahid
- 21
- 2
2
votes
1 answer
How to make a post file using nested getStaticPaths in a category using getStaticPaths? (Using API)
[Next.js]
Using Headless CMS WordPress and the plugin [WPGraphQL],
I was able to create a list of categories by calling the API in getStaticPaths.
src
--pages
----category
------[slug.tsx]
--------page
----------[pageNo.tsx]
The following…

oscar
- 29
- 5