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. Facets exposed form block is empty if not on views page

    Randal

    I'm also experiencing this issue in a new project of ours using Facets 3.0.0-beta4, exactly as described above.

    On the view page itself, everything is fine. Anywhere else, all the facets are empty :(

    I'll see if I can find anything, haven't had the time yet to debug.

  2. Add dedicated permission for tools

    Sven Decabooter

    Problem/Motivation

    Currently all the tools use the generic permission check 'administer site configuration'. However, this is a pretty broad permission, which does not allow for fine grained access control. For example we would consider giving this permission to clients, but would not want the extra tools provided by this module to be accessible by the same clients.

    Proposed resolution

    Provide a module-specific permission to access tools.

    Remaining tasks

    - Add a module-specific permission - Provide upgrade path

  3. Scrolls to wrong position

    Fons

    Thanks works great, using the patch in #8 for now.

    Small nitpick: I noticed on mobile the 80% width makes small edits, on a phone for example, a bit hard.

    I'll try to find a solution for this and come back with an updated patch when I can find the time.

    Thanks!

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

    Fons

    Hello thank you for your feedback, it does indeed steer me in the right direction.

    The geocoding might overcomplicate it a bit.

    I think I didn't take enough time to try to describe what I was looking for.

    In the current module you can drop markers which is great but there is no out of the box way (as I can see) to add some context to a marker (which is shown in the tooltip).

    For example it would be great to add markers in a neighbourhood to show locations like:

    • Drop marker on the map and add a label "Post office" (that is shown in a tooltip when viewing the marker on the map)
    • Drop marker on the map and add a label "School" (that is shown in a tooltip when viewing the marker on the map)
    • Drop marker on the map and add a label "Bakery" (that is shown in a tooltip when viewing the marker on the map)
    • Drop marker on the map and add a label "Coffee shop" (that is shown in a tooltip when viewing the marker on the map)

    Thank you for the time to answer my questions and the work on this module.

    Have a great day

    Fons

  5. Masquerade as Authenticated user role only

    Randal

    Hi @mitsuko,

    I'm not entirely certain what the case was anymore but when I built this module, I ran into some strange behaviour when the authenticated role wasn't present. I could test it again, but I figure it's not really important anymore.

    In any case, the reason you didn't run into any such incidents is because with your patch, behind the scenes the module would still apply the authenticated role (even if you didn't select it) in the submit handler.

    I think regarding the validation, we shouldn't worry about that anymore. Before it was deliberately made impossible to leave the role selectbox empty, so we had to double check in the validator to see if people didn't get around HTML validation and leave it empty anyway. But since we now want it to be left empty when required, we don't need that extra validation anymore.

    Any extra roles that are added through the inspector will also fail the form, since Drupal automatically handles that as invalid input as it wasn't in the form element's `#options` array.

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

    Fons

    Thank you for your answers, I was indeed referring to the widget (and not the formatter) my bad.

    As I can see now there is no default way to drop a marker on the map and add some text to the pop-up in the widget.

    I guess the only way to get around this for me is to add an address field (that gets geocoded) and a text field field and render that with a view / code on the map myself.

    Thank you for your feedback.

  7. Masquerade as Authenticated user role only

    Randal

    Hi @mitsuko,

    I see your point, it would be useful to only masquerade as the authenticated role, however I think I'll fix it somewhat differently.

    The authenticated role *should* always be selected, so removing it from the automatically selected roles might produce strange results. I'll just remove the 'required' parameter from the roles selector, leaving the field empty will result to only the authenticated role being enabled.

    That should cover every use case.

  8. 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!

  9. 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

  10. 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.

  11. 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.

  12. 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!

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.