This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Integration: Linguise with Drupal for Multilingual Site

Hello everyone,

I’m exploring the best way to manage multilingual content in Drupal and wanted to share an option I recently worked with: Linguise. It’s an AI-powered translation tool that integrates with Drupal to help translate websites automatically while keeping them SEO-friendly.

Cannot fork repositories

I am trying to fork a repository (entity_events) and getting a generic error:

An error occurred while forking the project. Please try again.

I tried a different repository (address) and received the same error.

The console is showing network errors:

I don't see any way to add images to this post (really Drupal!?)

There are two errors:

  • Name: git-error - Status: CORS error - Type: xhr 
  • Name: git-error - Status: 404 - Type: Preflight

 

Drupal 10 Slick Slider and DataTables Causing Lag and Crashes on Desktop

Hello!

I'm developing a Drupal 10 theme using DXPR Builder with the following setup:

Setting a Date field programmatically with Timezone information.

This is not a question, just a place to put some information which I could not find for the love of god anywhere and ChatGPT sent me down a wrong rabbit hole. Hopefully it saves somebody else some time? :-)

$new_datetime = gmdate('c', strtotime('+10 days'));

$date_time_obj = new DrupalDateTime($new_datetime, new \DateTimeZone('Pacific/Apia'));

$entity->set('your_date_field', ['value' => $date_time_obj->format(DateTimeItemInterface::DATETIME_STORAGE_FORMAT), 'timezone' => 'Pacific/Apia']);

Webform generic_element option?

This is a knowledge question because I've never worked with webforms before and am curious about a finding.

separating uploaded files list and upload widget

Hi , i have content type named: "exams_and_assignments" and a field named: "field_exams_assignments_files"

i want to give permission to all teachers to add files to the node, but prevent them to edit other's uploaded files.

so, i made a custom module to disable field values in dispaly form : 

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions