next-drupal
next-drupal copied to clipboard
Next.js for Drupal has everything you need to build a next-generation front-end for your Drupal site: SSG, SSR, and ISR, Multi-site, Authentication, Webforms, Search API, I18n and Preview mode (works...
Hi, I load blocks with with getResourceObjectFromContext in the getStaticProps ` const [footerContact] = await drupal.getResourceCollectionFromContext( 'block_content--footer', context, { params: getParams({ name: 'block_content--footer' }) .addInclude(['field_form']) .addFilter('info', 'footer-contact') .getQueryObject(), } );`...
I tried to implement simmillar logic to this ticket https://github.com/chapter-three/next-drupal/issues/23 . But no matter what i do, context.preview is undefined. I also have configured preview.ts file: ``` import { NextApiRequest,...
Hi, We often want to fetch a resource collection which contains more than 50 (default JSON API limit?) resources. At the moment `getResourceCollection()` gives back the first 50 resources by...
The defaultLocale of next.js is not always the same as the Drupal one. So removing the language prefix when retreiving paths will give a 404. What is the reason for...
https://github.com/chapter-three/next-drupal/blob/main/packages/next-drupal/src/client.ts#L1323 - Directly calls the `fetch()` method while calling drupal api to get the access token and not considers/uses the fetcher if added any. Use case - - My drupal...
Preview works fine for nodes, that were created in the DeafultLocale, but when I try to Preview nodes in other languages, it returns me 404. Iframe src loooks like this:...
**Steps to reproduce** - Create a plain vanilla standard instance of Drupal with the Article content type. - Install the Next.js module - Configure Next.js Entity Type for Content: Article...
Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 4.36.1 to 5.27.3. Release notes Sourced from @tanstack/react-query's releases. v5.27.3 Version 5.27.3 - 3/12/2024, 7:55 AM (Manual Release) Changes Fix core: do not count disabled observers as...
This pull request is for: - [x] `starters/basic-starter` - [x] `starters/graphql-starter` GitHub Issue: #601 ## Describe your changes Adds a pages-starter that uses the Pages Router. Upgrades basic-starter and graphql-starter...
This pull request is for: - [x] `examples/*` - [x] `modules/next` - [x] `packages/next-drupal` - [x] `starters/basic-starter` - [x] `starters/graphql-starter` GitHub Issue: #718 ## Describe your changes Replaces "slug" with...