🇳🇱 The Netherlands
Account created on 2 October 2006, over 17 years ago
  • Drupal consultant & Partner at Ablerz 
#

Merge Requests

Recent comments

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

It seems that this is the Site e-mail adres in the 2.x version

You can find this under /admin/config/system/site-information/ -> E-mail.

 $default_from_email = \Drupal::config('system.site')->get('mail');

webform_email_reply/src/Form/WebformEmailReplyForm.php

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Apparently the merge request was at the wrong branch...

Fixed this issue at the 2.0 branch.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

ok then let's set focus to #20.

Hide all other files...

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

image styles have a convert task to create a different file format. That is Drupal Core functionality.
Did you use other modules as well? Such as Image Api or other contributed modules?
And is the image style working in just plain Drupal?
To much unknown to reproduce the issue.

Please share some more information about your situation. Now it is not clear it is a bug or something is missing in the configuration or caused by an other module or custom code... etc....

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Hiding all old patches

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Resolved merge conflicts after 📌 Convert FieldFormatter plugin discovery to attributes Active was committed.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

This is already in 10.2 @abelass

See: https://www.drupal.org/about/core/blog/new-drupal-core-branching-scheme-... Why it is : "catch committed bcaa369c on 11.x"

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Feature plans: Make this module Drupal 10 proof.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

The field group module is already offering such "feature". More kind of a work around because things are not wel managed in core.

The issue ticket where that was developed: #2652642: Allow to position the group in the advanced (sidebar) column
Hope this ads some extra info / context.

Great to see some fresh conversations are there.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

I would like to take maintainer-ship off this module, if possible.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

it's the X its self that is not white, but it should always be when a black background color is used as circle.
see https://about.twitter.com/en/who-we-are/brand-toolkit

It is strange that this module is not using the original brand colors on all icons.
Same with Linkedin and Facebook. the F should be always white I guess.
(https://about.meta.com/brand/resources/facebook/logo/)
Maybe something for a flow-up to make other the logo's as they should be.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Thank you @samir_shukla, indeed this request needs more info.

Browser version. Drupal version. Other libraries when used.
Some screenshots of the browser console with error's

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

thank you for the help artemboiko. Renaming it to 10.2.x will make things clearer.

Drupal V 10.3 will be branched from 11.x. I don't this will land in 10.2.x because of the size and changes.
So I think all effort should be at the merge request for the 11.x branch.

I think we need al lot of people testing this, maybe a sign off from a (sub)core maintainer ?

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

We are developing the new version at the 3.x branch.
PHP part is roughly done. JS part has to be done.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

@manojbisht_drupal please use the merge request.

And if you need a patch, everyone can download a diff/patch from gitlab and load it local with composer.

(hide patches to get focus on merge request.)

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Martijn de Wit changed the visibility of the branch 2546212-entity-viewform-mode to hidden.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Martijn de Wit changed the visibility of the branch 11.x to hidden.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Why using the patch from #48?

There is a merge request that is far more recent? containing solution after several discussions with good points ..

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

xmacinfo did you already try the new theme/template generator in Drupal ?

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Martijn de Wit created an issue.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Realy like this feature.

Patch works as advertised.

Only asking my self if this could be done with permission. Because there are different permission for for voting up or voting down. Would make more sense to me to use those, then an extra option.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Add Media revision UI Fixed is committed to core 10.2 that will be released end this year

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

The fact that no one is responding to your question doesn't mean the module is not maintained anymore.

To start with, if you want someone to help you, please add a proper test path.
Maybe some screenshots or a short video of your configuration.

Reading your question; is resulting in a lot of other questions.

  • How did you configure the node display settings.
  • how did you configure the field display settings.
  • what kind of drupal theme are you using
  • Are you using the repsonsive image module
  • How did you configure the image styles.
  • etc..
🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

set to needs review, because there is a patch / merge request.

Hide patch in favour for merge request

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

set to needs review because there is a patch
and remove assignee

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

ran into this issue. Patch seems to fix te problem.

Maybe some extra white space between these two fields:

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

I would opt in for option 3 from #4

Funny fact: If you enable Field Layout (core) module, option 3 is working out of the box.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

yes I meant content.title. sorry for the confusing.

I didn't check this recently, will try to do it this week and come back at it.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Seems we have to rewrite a part of the module and create an upgrade path.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Ran into this problem during a project. Where we use the JSON API to unlock Drupal fields to a decoupled front end.

After installing the patch we get values back and the error message regarding sterilization is gone.

Our error message:
TypeError: Drupal\serialization\Normalizer\PrimitiveDataNormalizer::normalize(): Return value must be of type ArrayObject|array|string|int|float|bool|null, DateInterval returned in Drupal\serialization\Normalizer\PrimitiveDataNormalizer->normalize()

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Will check this in coming weeks.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

@Ajeet

You changed
if (strpos($form_key, '#') == 0) {

into

if (strpos($form_key, '#') === 0) {

But your new patch is also changing the document/patch structure with extra spaces etc.
Please provide an inter-div so the new patch can easily be reviewed.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

@damien

There is also a discussion here: 📌 Add image preload option to help boost actual and perceived performance Needs work on adding extra options to this list.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Made a structure :)

Missed the opportunity to make subgroups. Used to al contrib modules we have in sites, so had the feeling I missed some menu links

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Don't understand why the last one fails.

The same logic for testing a logo is not failing

    $theme_installer->install(['test_theme']);
    \Drupal::configFactory()
      ->getEditable('system.theme')
      ->set('default', 'test_theme')
      ->save();
    $theme = $theme_handler->getTheme('test_theme');

    drupal_static_reset('theme_get_setting');

    // Tests logo set in test_theme.info.yml.
    $expected = '/' . $theme->getPath() . '/images/logo2.svg';
    $this->assertEquals($expected, theme_get_setting('logo.url', 'test_theme'));
🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Claro also doesn't have a favicon in its theme root 🙈 So I will use Olivero for that case. Rest of test cases still uses Stark.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

@anpolimus can you create a new issue ticket as follow up ?

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

unassigning this, because there is no response (yet). and others already worked on it.

Tried to debug the latest version and get it working on [site]/media/add/image, but there is still a lot to do.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Test is failing because the Stark theme itself has no favicon.ico.

3 options to solve this.

  1. Use an other core theme for this test, (only Olivero has a favicon)
  2. Add a favicon to the Stark theme.
  3. Add a favicon to a test theme and use that.
🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Added an issue fork. Used patch from 33.

Then I alter the test to be in sync with the tests used for the logo option test.

---
hiding patches

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Bartik is no longer there. Using Olivero instead.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

A yeah, now I get it :)

I have 2 image fields on my video entity. one named 'image' and one named 'thumbnail' from previous tests.
Sorry for the confusing post.

Then it works as advocated, so it was a good test :)

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Testing the new image style feature.

A user has now 3 options within the poster field:

  • None
  • Thumbnail
  • Image

As showed below the thumbnail option and the image option are equal. With both a user can select an image style. So I was wondering what is the difference?

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

@jmee if you experiencing any new problems. Please open a new ticket as follow up.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Sounds like a good addition!

Only thing that is left is a proper test to move this issue forward.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

All code after #11, doesn't allow an empty value.

This removes the 'arbitrary aspect ratio' feature. Don't know if this is a required feature for this functionality.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Unsetting the float is a neater solution, then adding extra styling.

Using patch #6

The bug in our case:

With the patch:

thnx!

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

We have tested this patch for over a month now and I agree with catch. without an image style it is not usable for content-editors.

For site builders the option list is getting really long now and with adding image style options inside this screen I think we need some extra structure like fieldsets/details to group some settings. (also used an other patch to add some other video settings)

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Sounds like a steady plan. I think a lot of people are waiting on a 10.x stable release for this module.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

np, thank you :)

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Still the problem for [site]/media/add/image is not resolved #33

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

a ^10 is missing in the info file

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Saw a demo via Twitter. It looks very promising all. I think it up to the real editors if they gone use / love this new module.

🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands

Does the bot still works? l-)

Production build 0.69.0 2024