Een hart voor de Drupal Community

Bij make it fly geloven we sterk in Drupal en Open Source software in het algemeen. We maken dagelijks gebruik van vele open source componenten en de vele Drupal modules die beschikbaar zijn. We dragen actief ons steentje bij aan de community door zelf patches, modules en documentatie te voorzien, daarnaast zijn enkele teamleden ook actief in de Drupal User Group vzw.

Een overzicht van onze bijdragen aan de Drupal community vind je terug op onze Drupal.org pagina. Naast het actief meerwerken aan de Drupal community, zetten we ook andere ontwikkelaars op weg door vragen te beantwoorden op Drupal Answers.

  1. Is it possible to add a marker popup with text when using the form formatter (Leaflet Map Default)

    Fons

    Problem/Motivation

    Hello, i'm currently using this awesome module and it's really nice. Thank you!

    The only feature that I miss / can't find is how to add marker popup data (preferably text) when using the form formatter (Leaflet Map Default).

    Now I can add markers (without data / pop-up info), polygons, lines, etc.

    How can this be achieved, can anyone put me in the right direction?

    Thanks in advance!

  2. Offer to co-maintain imagick

    Brecht Ceyssens

    Hi ivnish,

    I just added you as a co-maintainer. All help on the project is welcome!

    Kind regards Brecht Ceyssens

  3. TermStorage::loadTree is not language aware

    Randal

    Problem/Motivation

    As a result of #2615864, this module also suffers from issues with translations. It always retrieves taxonomy terms in their default language, rather than the current language.

    Steps to reproduce

    Create translations of the dictionary vocabulary terms, and add the words to a page in a different language than the default language of the terms.

    Proposed resolution

    Slightly rework the functionality regarding the loading of taxonomy terms in the TooltipManager class.

    I will create a MR with my proposal.

  4. Stable version release?

    Brecht Ceyssens

    Hi Hauke,

    Did you find the ResponsiveImageFormatter? https://git.drupalcode.org/project/combined_image_style/-/blob/1.0.x/src... I also created a formatter for media fields in a project of ours so you can configure combinations for each breakpoint in the display of an entity. No need for responsive images styles. Is that what you're looking for? If so, I can add my work to the project.

  5. Automated Drupal 11 compatibility fixes for tablefield

    Fons

    I just tested the patch in comment #4 and everything seems to work fine.

    I was wondering if this can get merged in a new release?

    For now I'll use the patch as this is one of the modules that holds me from upgrading to Drupal 11.

    Thank you!

  6. Install Tocbot library with composer

    Fons

    Problem/Motivation

    It would be nice if we could add the steps to add the Tocbot library that is used by this module with composer.

    Proposed resolution

    Update the Readme file and project detail page on drupal.org

    Remaining tasks

    Create a patch, if you are open to this suggestion I don't mind creating and posting the patch. -> Patch in comments

    As I see it now the following steps are needed:

    INSTALLATION VIA COMPOSER

    1. It is assumed you are installing Drupal with Composer (https://www.drupal.org/download).

    2. Add the following entry in the "repositories" section of your main composer.json file.

    {
                "type": "package",
                "package": {
                    "name": "tscanlin/tocbot",
                    "version": "4.30.0",
                    "type": "drupal-library",
                    "source": {
                        "url": "https://github.com/tscanlin/tocbot",
                        "type": "git",
                        "reference": "v4.30.0"
                    }
                }
            }
    

    Now you can run the following command to install chosen in the right folder:

    composer require tscanlin/tocbot

    3. Clear the cache 4. Go to Administration > Configuration > Content Authoring > Tocbot Settings (/admin/config/content/tocbot) 5. Configure the module to your needs 6. Click "Save configuration"

  7. Blazy renders the same classes on all blazy elements on a page.

    Fons

    Dear gausarts, thank you for the compliment and sorry to read that.

    Just a thought:

    If we would toggle this setting by default in the install file of the module it would only trigger / set it default for new installs.

    Existing installs wouldn't be affected, if you want to affect those (which you don't and I totally get that) you would add this in an update hook.

    If you are interested in a patch for the install file i'd be happy to make it but it is not a dealbreaker for me.

    Thank you for all your work and have a great evening! There are a lot of good people out there so try to focus on those, that may help!

  8. Blazy renders the same classes on all blazy elements on a page.

    Fons

    Thank you for your reply, I checked the Blazy settings page but it seems that I read over the checkbox to disable these classes.

    I just checked the setting and everything looks better / clean now.

    If I may suggest an upgrade I think it's fair to check this setting by default as a clean DOM is preffered over all these classes in most cases but that is just my view.

    Thanks!

  9. Blazy renders the same classes on all blazy elements on a page.

    Fons

    I created a patch that cleans out the function so the DOM is now a lot less bloated with unneeded classes.

    I might miss the point why all these classes are added on every media element but they are not needed for the module to work and I don't see the value they add.

    Feel free to enlighten me.

  10. Blazy renders the same classes on all blazy elements on a page.

    Fons

    Problem/Motivation

    I'm using blazy on a page in different layout blocks.

    I've noticed the blazy field gets injected with the same classes for all media fields which to me makes no sense.

    Steps to reproduce

    Create a page with multiple blazy elements, you'll notice the same group of classes is used on all elements instead of the relevant classes per item.

    Proposed resolution

    Don't make a huge group of classes and render them on all elements but instead only show the relevant classes per item.

    The classes are added in an array in the following file:

    blazy/src/Attributes.php

    in the following function:

    /**
       * Returns the classes applicable only to the first, not nested containers.
       */
      private static function firstClasses(array &$attributes, $blazies, array $options): array {
    

    If you print the classes before the return you'll see the same array that is printed for every item.

    Remaining tasks

    Needs review

Sven Decabooter - Drupal Developer

"Onze teamleden bouwen zelf ook mee aan ons geliefde Drupal, en daar zijn we trots op"

Sven Decabooter
Drupal developer

Betrouwbare technologie, naadloze prestaties. Dat zijn onze Drupal-oplossingen.