Novi Sad, Serbia
Account created on 21 December 2010, almost 14 years ago
#

Recent comments

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi pcambra, thank you for your MR! I didn't realize that GLightbox uses 3rd party player, I thought it was native video player. I'd prefer to fork plyr video player, the lastest release was in 24th March 2023, I don't think that it will be updated often. Usually I pull releases in forked repository it didn't take too much time.

Also we need to keep ability to download this Plyr player locally to make it's working without internet access. I'm going also add settings for Plyr player in GLightbox main settings form.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

You need to add piece of CSS code in your theme:

Because all images are being displayed in full width in your theme now.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

It looks like you are already fixed it on your site. Cheers!

🇷🇸Serbia levmyshkin Novi Sad, Serbia

I see, you need to change 'Image style for content', now it's Miniatura (Thumbnail deafault style 100x100 pixels), but you need to set it Original image (without scaling or resizing). Then image will be full width and with good quality.

As other option, you can use Thumbnail 100x100 pixels, but you will need to add extra CSS in your theme to make image 100px width.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

> In the view I put: GLightbox + thumbnail

Could, you share your Views settings screenshot please?

I tested it locally and it's working fine with Views fields and teasers.

You can update Thumbnail image style, if you display it full width, you shouldn't resize it to 100x100 pixels:
admin/config/media/image-styles/manage/thumbnail?destination=/admin/config/media/image-styles

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Ping me if you will have any questions.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi giordy, by default Glightbox gallery uses Thumbnail image style:
/admin/config/media/image-styles
/admin/config/media/image-styles/manage/thumbnail

You need to update image effects or change image style in your View. Now your thumbnails are just small and resized to 100% width. For your case it will be better to create a new Image style "original image" without any image effects.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Updated 'Installs' counter.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi slideaway, could you, please, check machine name for Image and Remote Videos, EBT/EPT modules expect default Media types:
image
remote_video

The problem is EBT/EPT configs depends on default machine names and field names from Media module. You can update manually config files from config/install folder and replace machine names in files in file names.
https://www.drupal.org/project/ebt_image_gallery/issues/3405023#comment-... 💬 Error on enabling module Fixed

I attempted the EBT config drush command mentioned there, but it just spit out a ton of errors.

Could you, please, share these errors, it can be helpful.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi mydot, I added a new formatter for Responsive Image styles:

I tested it for simple image field, but I think it must be working with Media and media in Paragraphs too. It can be needed for additional Entity Reference Formatter as for Colorbox module:

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi handkerchief, I added you as a maintainer. I fixed the problem with gallery for paragraph, but if you have any ideas you are welcome to update codebase.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi giordy, Colorbox module had conflicts with Drupal Core functionality for editing pages:
https://www.drupal.org/project/colorbox/issues/1189054

You can enable Glightbox Inline submodule, then Glightbox be added on all pages. It gets possible to use .glightbox class in Body text or any other text in content.

I'm not sure about returning "Attach on all pages" checkbox. Colorbox Inline has the same functionality and it will attach Glightbox scripts everywhere even "Attach..." checkbox is be disabled. I found this more confusing.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi 4goodapp, I installed MariaDB and fixed the problem with collations:
https://www.drupal.org/project/fast_distribution/releases/1.0.1

Now it must be working for MySQL, MariaDB and for PerconaDB too.

Also you can ckeck more useful EPT Demo with preinstalled modules and uploaded files:
https://www.drupal.org/project/ept_demo

I fixed collations there too.

Thank you for your report! I didn't even think to check installation on other database rather than MySQL 8.x.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi 4goodapp, empty 'socket' value causes only PHP error, the source of problem in utf8mb4_0900_ai_ci collation. Could you check, please, README.md instructions an remove comments from SQL at the beggining and ending of your dump file. Also I used utf8mb4 and default utf8mb4_0900_ai_ci collation on my local MySQL server.
https://tecadmin.net/resolved-unknown-collation-utf8mb4_0900_ai_ci/

What SQL server are you using MySQL 8.x? Or another MySQL 5.x, MariaDB?

Also, could you, please, expand and share the error below?
mysqli_sql_exception: Unknown collation: 'utf8mb4_0900_ai_ci'...

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi mahmoud barhouma, I applied your patch to 1.0.x dev branch. This problem happens when media references missing File ID.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi mydot, I will have a look this feature on the next week. GLightbox module based on Colorbox module structure, so I will adopt this future from it:
https://www.drupal.org/project/colorbox/issues/2808883 Support Responsive Image module in D8 Needs work

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi medienverbinder, thank you for your report and MR! I merged it and released Glightbox 1.0.9.

I'm still waiting Webform module will be released for Drupal 11 to test a bunch of modules.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

I have no idea if this module will work without action_entity_type_build. So I just deleted Node Export and Action modules entirely.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Patch #13 is working fine for me on Drupal 10.2 and fixed the problem with Entity Share from #7.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi Renato, thank you! One thing, you can use ternary operator or ?? instead of this construction:


  // Default value for "nofollow".
  $nofollow = FALSE;

  // If is configured to add "nofollow", use it.
  if (!empty($ebt_settings['ebt_settings']['links']['add_nofollow'])) {
    $nofollow = $ebt_settings['ebt_settings']['links']['add_nofollow'];
  }

  $variables['nofollow'] = $nofollow;
$variables['nofollow'] = $ebt_settings['ebt_settings']['links']['add_nofollow'] ?? FALSE;
🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi 21kpiyush, I think you're trying to insert Layout Builder inline blocks in EBT Block. It's not supported by Block Field module:
https://www.drupal.org/project/block_field/issues/3191907

I faced with this problem, but I don't think it's possible to solve with Block Field module, because Inline Block doesn't have Plugin ID (or something related to Plugin system) as usual Blocks have.

As I understand Layout Builder hardly support reusable blocks too:
https://www.drupal.org/project/layout_builder_blocks/issues/3424204 📌 Compatibility with Re-usable Layout Builder Blocks Postponed
https://www.drupal.org/project/drupal/issues/2999491 Add reusable option to inline block creation Needs review

It's not convinient, but you can create block first in Block Library and re-use it from there with EBT Block.

I will put this ticket in postponed, because it's definitely a bug, but I can't fix it in EBT Block module, the problem is deeper in Block Field and Layout Builder modules.

Ping me if you will struggling with adding blocks via Block Library.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi Renato, thank you! I merged your changes.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi mark_fullmer, thank you, for adding Drupal 11 support. What can we await a new Media Library Form Element release with Drupal 11 support? I'm so impetiant, because I'm blocked for testing Drupal 11 for my bunch of modules which used Media Library Form Element:
https://www.drupal.org/project/ebt_core
https://www.drupal.org/project/ept_core

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi Wim Leers, I faced with the same problem, here are my configs:

cdn.settings

_core:
  default_config_hash: FGYrMvt5Li0Jm92wyoGSiFFNoI_WqcHTeNDMq4jHId0
langcode: en
status: true
mapping:
  type: simple
  conditions: {  }
  domain: cdn-static.replaced.com
scheme: //
farfuture:
  status: false
stream_wrappers:
  - public

Locally drush cget core.extension doesn't display cdn: 0, but this module is enabled on Production:

$ drush cget core.extension
_core:
  default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc
module:
  abjs: 0
  addtoany: 0
  admin_toolbar: 0
  admin_toolbar_links_access_filter: 0
  admin_toolbar_tools: 0
  allow_iframed_site: 0
  custom_365_breadcrumbs: 0
  custom_365_signup: 0
  custom_a365_segment: 0
  custom_academic: 0
  custom_ad: 0
  custom_ad_free_trial_form: 0
  custom_ad_upgrade: 0
  custom_add_to_head: 0
  custom_api: 0
  custom_breadcrumb_blocks: 0
  custom_cj: 0
  custom_ckeditor: 0
  custom_config_server: 0
  custom_core: 0
  custom_cs2_altiflex: 0
  custom_cs_widget: 0
  custom_custom: 0
  custom_custom_404: 0
  custom_custom_404_slack: 0
  custom_custom_redirect: 0
  custom_dams: 0
  custom_domain: 0
  custom_domain_a365: 0
  custom_domain_ru: 0
  custom_downloads: 0
  custom_dss: 0
  custom_editor_image_wrap: 0
  custom_entity_share: 0
  custom_eula: 0
  custom_events: 0
  custom_extension: 0
  custom_geo_redirect: 0
  custom_geoip: 0
  custom_global_search: 0
  custom_go_promo: 0
  custom_google_sheet_submit: 0
  custom_grad_promo: 0
  custom_job_postings: 0
  custom_launchpad: 0
  custom_legacy_core: 0
  custom_marketo: 0
  custom_navigation_api: 0
  custom_navigation_blocks: 0
  custom_nbsp: 0
  custom_nofollow_action: 0
  custom_onetrust: 0
  custom_pagemap: 0
  custom_proxy_id: 0
  custom_raven: 0
  custom_sales_enablement: 0
  custom_shared: 0
  custom_signature: 0
  custom_sitemap: 0
  custom_superscript: 0
  custom_university_domains: 0
  custom_user: 0
  custom_variator: 0
  custom_video: 0
  custom_video_usage_checker: 0
  custom_waf: 0
  custom_webinars_export: 0
  custom_whats_new_external: 0
  custom_workshop: 0
  auditfiles: 0
  automated_cron: 0
  backup_migrate: 0
  better_exposed_filters: 0
  block: 0
  block_content: 0
  block_exclude_pages: 0
  breakpoint: 0
  captcha: 0
  cdn: 0
  cdn_ui: 0
  ckeditor: 0
  ckeditor_inserthtml: 0
  ckeditor_paste_filter: 0
  ckeditor_templates: 0
  clientside_validation: 0
  clientside_validation_jquery: 0
  config: 0
  config_filter: 0
  config_ignore: 0
  config_split: 0
  config_translation: 0
  content_moderation: 0
  content_translation_redirect: 0
  contextual: 0
  csp: 0
  csv_serialization: 0
  ctools: 0
  ctools_block: 0
  datetime: 0
  datetime_range: 0
  domain: 0
  domain_access: 0
  domain_alias: 0
  domain_config: 0
  domain_config_ui: 0
  domain_content: 0
  domain_language_negotiation: 0
  domain_path: 0
  domain_robots_txt: 0
  dynamic_page_cache: 0
  editor: 0
  embed: 0
  entity_browser: 0
  entity_browser_entity_form: 0
  entity_embed: 0
  entity_reference_revisions: 0
  entity_share: 0
  entity_share_client: 0
  entity_share_diff: 0
  entity_share_server: 0
  field: 0
  field_group: 0
  field_tools: 0
  field_ui: 0
  file: 0
  filter: 0
  google_analytics: 0
  google_api_client: 0
  google_tag: 0
  hal: 0
  health_check: 0
  image: 0
  image_captcha: 0
  imagecache_external: 0
  inline_entity_form: 0
  inline_form_errors: 0
  jquery_ui: 0
  jquery_ui_datepicker: 0
  jquery_ui_slider: 0
  jquery_ui_touch_punch: 0
  jsonapi: 0
  language: 0
  link: 0
  link_attributes: 0
  link_attributes_menu_link_content: 0
  linkit: 0
  locale: 0
  maxlength: 0
  media: 0
  media_directories: 0
  media_directories_editor: 0
  media_directories_ui: 0
  media_library: 0
  memcache: 0
  menu_item_extras: 0
  menu_link_content: 0
  menu_position: 0
  menu_ui: 0
  metatag: 0
  metatag_facebook: 0
  metatag_open_graph: 0
  metatag_twitter_cards: 0
  metatag_views: 0
  migrate: 0
  migrate_drupal: 0

I can see that another sites with the same module and the same cdn.settings are not using CDN for image styles and shows thumbnails directly from Drupal.

I couldn't find how to enable Far-Future via admin panel:

farfuture:
  status: false

But it looks like it needs for a patch:
https://www.drupal.org/project/cdn/issues/3179753 Improve far-future support: generate dynamically generated files automatically (f.e. image style derivatives) Needs work

Also there is Drupal 9.5 with CDN links for image styles, for Drupal 10.3 images styles have Drupal internal paths.

How to disable using CDN links for image styles, it looks like farfetch: false doesn't disable generating CDN links for image styles.

I'm still investigating this problem.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi mark_fullmer, could you apply, please, updates for core version? I created a separate MR to prevent any conflicts:
https://www.drupal.org/project/media_library_form_element/issues/3444970 📌 Drupal 11 compatibility Active

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Created a new issue for core version update:
https://www.drupal.org/project/media_library_form_element/issues/3468851 🐛 Update core_version_requirement with Drupal 11 Active

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi, could you update, please, at least core version for this module:
core_version_requirement: ^10.3 || ^11

Now it's unusable in Drupal 11 distributives.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi hockey2112, I made it, becuase

tag inside

tag is not valid HTML:
https://www.drupal.org/project/ept_core/releases/1.4.12

You can uncheck field "Strip Tags for Title field", then it will act as before, without filtering tags:

Here is the discussion about stripped tags:
Issue #3460287 by axle_foley00: Strip tags in Title field by default

🇷🇸Serbia levmyshkin Novi Sad, Serbia

You can add a new Media/Image field in EBT Webform Popup and display it in template for the block type. Here now is {{ button_text }} variable, but you can insert whatever what you want in the templates:
block--block-content--ebt-webform-popup.html.twig (for content blocks or adding via Block Layout)
block--inline-block--ebt-webform-popup.html.twig (for Layout Builder blocks)

You can override block template in your custom theme, just add -custom in template name:
block--block-content--ebt-webform-popup-custom.html.twig
block--inline-block--ebt-webform-popup.html.twig

Here is more information:
https://www.drupal.org/project/ept_accordion/issues/3418633 🐛 Ignores customized paragraph--ept-accordion-section--default.html.twig in theme folder Fixed
https://www.drupal.org/project/ept_slideshow/issues/3406887 💬 How to override slideshow item template file? Needs review

There are tickets for EPT modules, but I hope I did the same for EBT modules too. If I didn't, ping me and I will add template suggestions for *-custom.html.twig.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Thank you for using EBT/EPT modules! Ping me if you will need any help.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi drupalnesia, EBT Webform Popup module creates usual Drupal block type. You can use it in Layout Builder as you mentioned. Also you can create usual block and place it in right region in Block Layout:
/admin/structure/block

You can also create block in Block Library:
https://www.altium.com/documentation/admin/content/block

And use it with Block Field module in any content type or paragraph type:
https://www.drupal.org/project/block_field

If you use paragraphs, you can use another EPT Webform Popup module, which creates paragraph type instead of block type:
https://www.drupal.org/project/ept_webform_popup

Again, EBT Webform Popup module creates usual Drupal block type, you can use it in any Drupal way you use on your site.

Here is demo page:
https://drupalbook.org/ebt/demo/webform-popup

🇷🇸Serbia levmyshkin Novi Sad, Serbia

I added new releases for EBT/EPT modules:
https://www.drupal.org/project/ept_core/releases/1.4.1
https://www.drupal.org/project/ebt_core/releases/1.4.16

There is a new theme suggestion with --custom suffix, so you can override template in your custom theme:

block--block-content--ebt-accordion--custom.html.twig
block--block-content--ebt-accordion.html.twig
paragraph--ept-accordion--default--custom.html.twig
paragraph--ept-accordion--custom.html.twig
paragraph--ept-accordion--default.html.twig

🇷🇸Serbia levmyshkin Novi Sad, Serbia

By the way, it will brake Quick Editing, but I'm good for now with this solution, since Mercury is not working with CKEditor 5, it's not usable for now.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi axle_foley00, I added new Title Options for EPT settings:


It's going to strip tags by default and show only h2 tag (optionally too). You will need to update EPT Core, EPT Columns and re-save EPT paragraphs on your site.

It's still possible to use <br>, <img>, <i>, <span> for settings styles and multiple lines for title.

I will update all other EPT modules eventually too.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi aanjaneyam, yes, you will be able to use unlimited Paragraph field, not sure about Entity Reference Revision, there are different field widgets:
https://www.drupal.org/project/paragraphs
https://www.drupal.org/project/entity_reference_revisions

There are some separate workflows for translations using Paragaph fields:
https://www.drupal.org/project/paragraphs_asymmetric_translation_widgets
https://www.drupal.org/docs/contributed-modules/paragraphs/multilingual-...
And translation workflow is built with Paragraph field widget.

> e) Also enable manage layout using Layout Builder.

In terms of Paragraphs (EPT) you can use similar approach with Layout Paragraphs:
https://www.drupal.org/project/layout_paragraphs

You can even find Drupal distributive with 'premium' themes and add EPT modules in it:
https://themeforest.net/category/cms-themes/drupal/corporate?term=layout...

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Updated comments and messages in 1.4.x branch.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi rohitsharma401, thank you for your patch, but we need to solve another problem, we should avoid

tags inside

tags.

Here is a discussion about removing extra divs:
https://www.drupal.org/forum/support/theme-development/2022-07-27/fixed-...

And even here is potential problems with Quick editing, possibly for Mercury Editor too:
https://www.drupal.org/project/mercury_editor
https://www.drupal.org/project/quickedit

Looks promising by the way, quick editing is needed only for editors and Google will not see page with additional

wrappers for quick editing.
🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi handkerchief, GLightBox options are added with attachments, so they are being cached. You just need to clear caches, then new options will be applied.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Yes, sure, you can create usual Paragraph field and include any set of Extra Paragraph Types for this field. That's the idea of EPT modules. I'm only not sure what your mean about "inline" paragraphs. Maybe you should use Layout Paragraph to make editing workflow easier:
https://www.drupal.org/project/layout_paragraphs

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi aanjaneyam, Block reference module doesn't support Inline Blocks at all, it's not related to EBT modules:
https://www.drupal.org/project/block_field/issues/3191907
https://drupal.stackexchange.com/questions/299372/how-do-i-attach-a-sing...

Block Reference module maintainers recommend to use Layout Builder or create blocks via Block Library first and insert them as block instances:
/admin/content/block

The problem is Inline Blocks are not plugginable (in my understanding) and don't act as usual Content Blocks.

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Added second button link in EBT CTA 1.4.8 release.

It's needed for additional link field in EBT CTA block type for existing sites:
field_ebt_cta_second_link

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi flyke, thank you for your report! I updated configs in the module, but you can update field locally on your site:

/admin/structure/block-content/manage/ebt_hero/fields/block_content.ebt_hero.field_ebt_hero_second_link

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi mombi, I added EBT/EPT Hero modules with two buttons. I will copy second button functionality for EBT/EPT CTA soon.
https://www.drupal.org/project/ebt_hero
https://www.drupal.org/project/ept_hero

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Hi Renato, I had the same idea for EBT tiles:
https://www.drupal.org/project/ept_tiles/issues/3459498#comment-15676654 Add Optional "Target" for Link, with that editors will be able to configure links to open in a new window/tab Fixed
Maybe we should use 'Per all Tiles' one checkbox?

Production build 0.71.5 2024