🇳🇱Netherlands @zebda

Account created on 30 September 2013, about 11 years ago
#

Recent comments

🇳🇱Netherlands zebda

The problem was in installing the module. Just running composer require drupal/footnotes installs version 3.1.0. When I discovered this I installed the last 4 beta 5 version. This didn't solve the issues.

When I disabled and enabled the module all works as aspected.

🇳🇱Netherlands zebda

Why is this kebab menu necessary? Is it tested on users, not developers using Drupal but the real users our clients?

🇳🇱Netherlands zebda

@Rajab I tried your code in the hook_form_alter but it doesn't work. How do you use this to exclude items from being hidden?

🇳🇱Netherlands zebda

Is there a way to get all the options out of the kebab menu? I don't find it very user friendly.

🇳🇱Netherlands zebda

Good question...its my custom theme...others don't give this problem.
I'll see if I can find the problem.

🇳🇱Netherlands zebda

zebda created an issue.

🇳🇱Netherlands zebda

Found it...I tracked it down to an added library in a custom module I created. Fixed it...so module works as it should.

🇳🇱Netherlands zebda

Good one, that was the first thing I looked at when bumping in to this problem. And no I don't have a base theme. Should I have one?
I tried adding Stark as the base theme but this didn't seem to make any difference.

🇳🇱Netherlands zebda

Okay but still complete issue and the upstream issue is about code being scrambled. Mine is about CKEditor not outputing the right accessible code in the first place. Its not scrambling the code it is just not present. I found one mention on the upstream issue about this but I don't know if this is highlighted enough or will be fixed when the upstream issue is fixed.

🇳🇱Netherlands zebda

I don't have the feeling this is the same. The issue you are referring to is about pasted in code been scrambled. My issue is about code CKEditor delivers that is not accessible.

I create the table using the CKEditors interface not using code. I can add the scope attribute manually but I don't want to bother my users with this. This should work by default.

🇳🇱Netherlands zebda

Thanks for the reply, I found out my problem was because of an infinite loop.

To reproduce:

  • Add one paragraph
  • Add a field to add a nested paragraph
  • On node level add a paragraphs field

Because there is one paragraph this is added by default and because the paragraph has a nested paragraph it keeps adding paragraphs till a 500 error occurs. So if this is your setup make sure the paragraph is not added by default.

🇳🇱Netherlands zebda

Same problem here, unfortunately removing or changing the code doesn't work for me.
http.response.debug_cacheability_headers: true
Any suggestions on how to solve this?

🇳🇱Netherlands zebda

zebda created an issue.

🇳🇱Netherlands zebda

I now also get this error on PHP 8.2. What does the error mean and how can I fix this?

🇳🇱Netherlands zebda

I'm also looking for a option like this...when I use the option to have multiple colors in one field (multi value field) I also want to be able to remove colors. When using the HTML 5 widget which is the best accessible one (Spectrum can't be used using the keyboard) I'm not able to empty the field is there some kind of work around or way to solve this? Is there a remove item buttons just like there is an add item button.

🇳🇱Netherlands zebda

Thanks for the explanation. It is clear for me what happens now and it is the feature I'm looking for.

🇳🇱Netherlands zebda

I also tried this but I see I had my skip limit higher than I thought. So yes this does work. What I am wondering though is what does enabling TFA do if disabling doesn't disable TFA but resets it? Maybe it is an idea to rename this option?

🇳🇱Netherlands zebda

Sorry if I wasn't clear in my first post. I want the settings of one user to be reset not disabled.

  • Disabling will disable TFA for an account. So this user can, when TFA is not enabled again, log in without TFA.
  • Reset will only reset all setting so the user is forced to setup authentication again otherwise the user will be blocked after 3 times logging in without validation.

When you disable TFA and enable TFA for a user the account is reset and the user is forced to authenticate again. But this is not what I want because I want the user to be able to reset its TFA settings, for example when the user bought a new phone, without being enable to disable TFA all together. Because I want all my users to use TFA.

Hope it is more clear what I am looking for.

🇳🇱Netherlands zebda

I got it to work, thanks a lot!

🇳🇱Netherlands zebda

Thanks how can I use this change as patch?

🇳🇱Netherlands zebda

Thanks for the info I'll try and see if I can find a workaround.

🇳🇱Netherlands zebda

I need exactly this, can you explain what you added to the macro to get the parent name on submenu level?

🇳🇱Netherlands zebda

I got an error on Drupal 10; the preprocess_block region is null, so build in an extra check:

/**
 * Implements hook_preprocess_HOOK().
 *
 * Pass block region value to content so this can be used in
 * THEME_theme_suggestions_menu_alter.
 */
function THEME_preprocess_block(&$variables) {
  if (isset($variables['elements']['#id'])) {
    $block = Block::load($variables['elements']['#id']);
    if (!empty($block)) {
      $region = $block->getRegion();
      if (!empty($region)) {
        $variables['content']['#attributes']['data-block']['region'] = $region;
      }
    }
  }
}
🇳🇱Netherlands zebda

I'm looking for this functionality as well. Any thought on this?

🇳🇱Netherlands zebda

I have the same problem. Is there a fix for this without downgrading?

Production build 0.71.5 2024