It's possible to fix the problem with missing {{ content }} variable by replacing {{ content }} with {{ elements.content }}. There are the same data, but I'm sure it should be different from {{ content }} for some cases, so I'm trying to return {{ content }} variable back to the EBT templates.
I found out that Drupal 11.2 has enabled Big Pipe by default and it doesn't allow to pass conent to custom templates in EBT modules. I'm still debugging and trying to fix this. Content for blocks are being inserted dynamically and it's harder to debug now.
When I checked this module, it used flock() function and this function is not working on S3. It brings to error:
Drupal\Core\Lock\LockAcquiringException: Couldn't acquire an exclusive lock for public://file_resup_temporary/6-596436733-1757948105046-Legacy_Documentation.zip. in Drupal\file_resup\Controller\UploadController->build() (line 182 of /var/www/html/web/modules/contrib/file_resup/src/Controller/UploadController.php).
So use this module instead:
https://www.drupal.org/project/s3fs_cors →
Hi marianrk, thank you for your report! I will review new hook system usage, possibly, it will be needed to create 1.5.x brach for all EBT/EPT modules with support Drupal 11.2+.
Added some information about GLightbox Media for videos support
You are right, it's something new. I added a fix in this new release:
https://www.drupal.org/project/ebt_core/releases/1.4.35 →
You need to update EBT Accordion module with dependencies:
composer update drupal/ebt_accordion -W
Hi victorvico1966, it was fixed in EBT Core module, you need to update EBT Accordion module with dependencies (or update EBT Core module):
composer update drupal/ebt_accordion -W
Hi Dave, what Field Widget are you using for Paragraph field: Stable Paragraph, Legacy Paragraph, Layout Paragraph, Mercury? Drupal can load a lot of by relationship, so for Layout Paragraph it should be limited:
https://www.drupal.org/project/ept_columns/issues/3450536#comment-15616377
🐛
EPT Columns/container won't load
Closed: cannot reproduce
Try this field widget for paragraph:
https://www.drupal.org/project/layout_paragraphs →
Also, could you check that EPT Columns are not selected for other paragraph fields, EPT Columns inside EPT Columns also can cause the error:
Nested Paragraph References: A common cause in Drupal Paragraphs is when a paragraph type references another paragraph type, and a circular dependency is inadvertently created (e.g., Paragraph A contains Paragraph B, and Paragraph B also contains Paragraph A). This can lead to an infinite loop during rendering or saving.
This works for me on Drupal 10.5.1
Hi tehmilcho, thank you for your research, I added your snippets in 1.0.1 release. Dates are stored as UTC in Drupal database, but it doesn't use Sitewide timezone to bring it in UTC. It uses User timezone:
/admin/config/regional/settings
/user/1/edit
And I think it's OK for count down functionality when User and Sitewide timezone are the same. But I still need to investigate how to display it right for the case when User have different timezone, than Sitewide. Maybe it's already OK for this case too. I close this ticket for now and continue investigation by myself.
I thought about different cases. If you are only one editor on the site, than Sitewide timezone will work fine. But if you have events in different cities and users will add own events, when it will be needed to get timezone from User settings. I will try to add your snippet and add User specific timezone first.
You need to update EPT Core module or EPT Hero with dependencies:
composer update drupal/ept_hero -W
Hi, syawillim, thank you for your report! I wanted to do it a long time ago. I updated code for EBT/EPT modules:
https://drupalbook.org/ebt/demo/hero
https://drupalbook.org/ebt/demo/image
https://drupalbook.org/ept/demo/hero
https://drupalbook.org/ept/demo/image
I need to investigate this situation with Timezone, it's not clear for me now where is source of truth for timezone. It can be changed on Server, Sitewide, User specific, Field Storage/Instance/Formatter specific.
But then preprocess will not be working. Did you face this problem on Drupal 11 after upgrade from Drupal 10? I'm still waiting to upgrade from Drupal 10 to Drupal 11 cause of CKEditor 5 plugins, but eventually I will upgrade my site drupalbook.org and test all EBT/EPT modules with Drupal 11 too.
I see.. there are two places with block_content:
$variables['elements']['content']['#block_content']
$variables['content']['#block_content']
I added validation for both of them:
https://www.drupal.org/project/ebt_basic_button/releases/1.4.12 →
Hi thomas kaisuka, thank you for your report, I added additional validation for field_ebt_settings:
https://www.drupal.org/project/ebt_basic_button/releases/1.4.11 →
https://drupalbook.org/ebt/demo/basic-button
Hi heatherwoz, albertho425, thank you for your MR! I merged it and released Glightbox 1.0.18:
https://www.drupal.org/project/glightbox/releases/1.0.18 →
It looks fine for me:
https://drupalbook.org/ept/demo/video-and-image-gallery
https://drupalbook.org/ept/demo/image-gallery
Hi heatherwoz, albertho425, I added data-alt attribute in links with text from Caption. I'm not sure if you need additional separate field for alt attribute. Usually it should be enough to have something meaningful in alt="" attribute. And I removed aria-label from tag, it's not button or , so "title" attribute is enough for that. You can try dev version of the module or I will add a new module version later on this week.
Added validation for field_ept_settings, field_ebt_settings fields exist for all EBT/EPT modules.
Hi heatherwoz, I checked Responsive image with Content Type > Media (multiple values) > Image field and description is working:
But you are right, I cloned Colorbox module and moved 'data-gbox-img-attributes' instead of 'data-cbox-img-attributes' from Colorbox:
GLightbox uses data-glightbox attribute with 'title' and 'description' values:
https://github.com/biati-digital/glightbox?tab=readme-ov-file#examples
I need to know your struction of content type, images can be in different nested entity types, for example:
Content type > Paragraph field > Media > Image
Content type > Paragraph field (gallery) > Pagraph field (gallery item) > Media > Image
Content type > Paragraph field > Image
Content type > Paragraph field (gallery) > Pagraph field (gallery item) > Image
It's impossible to predict all possible structures and nested levels for images, so I fetched few most common structures for captions.
https://www.drupal.org/project/glightbox/issues/3487478
📌
Allow caption tokens from parent (paragraph entity)
Active
https://www.drupal.org/project/glightbox/issues/3511270
🐛
Allow caption tokens paragraph access if there is a parent paragraph
Active
https://www.drupal.org/project/glightbox/issues/3492657
📌
Create a service for caption calculation
Active
If you describe your structure, I will add your case as well.
Hi , thank you for your report! I added 4.x version for Field group module in composer.json.
I added commit in 1.4.x dev branch with my phone, but I can't test the changes for now to release these changes. Obviously I need to add this validation for all EBT modules.