Amman
Account created on 13 June 2021, about 4 years ago
  • fullstack developer at Vardot 
#

Merge Requests

More

Recent comments

🇯🇴Jordan rahaf albawab Amman

Fix uncheck for group option

🇯🇴Jordan rahaf albawab Amman

Hi pdureau,

Many thanks for checking. Yes, I'm sending the items (menu structure) to the items slot in the nav component.

I removed the type array and used the include function with context, but nothing has changed.

🇯🇴Jordan rahaf albawab Amman

Sounds good. Many thanks to everyone!

🇯🇴Jordan rahaf albawab Amman

Hi @pdureau,

Sure thing! I have a menu template in my custom theme where I called the nav component using @include. Additionally, I have item slots (the menu items' details).

Here is how I called the component.

{% include 'varbase_components:nav' with {
  utility_classes: [
    'social-media--menu',
    'w-fc',
    'h-px-32',
    'align-items-center',
    'gap-20',
  ],
} %}

When I try to render the items in menu.html.twig, the array renders correctly (see "before" image). However, when I use @include to call the nav.twig component, the array gets converted to an indexed array (see "after" image).

Please let me know If you need another Information.

🇯🇴Jordan rahaf albawab Amman

Hi

I'm trying to use pattern and component function in my twig template but I got this error, why?

Twig\Error\SyntaxError: Unknown "pattern" function. Did you mean "_ui_patterns_normalize_props", "_ui_patterns_preprocess_props"? in Twig\ExpressionParser->getFunction() (line 95 of themes/custom/x/components/organisms/nav/nav.twig).

🇯🇴Jordan rahaf albawab Amman

Hi @rajab.

I also noticed a conflict: varbase_layout_builder requires drupal/varbase_editor ~10.1.0 || 10.1.x-dev, but this conflicts with your root composer.json requirement (10.0.x-dev).

🇯🇴Jordan rahaf albawab Amman

I added validation for the link text and URL.

🇯🇴Jordan rahaf albawab Amman

I added some changes to the MR to make it work with media edit and support the DropzoneJS module.

🇯🇴Jordan rahaf albawab Amman

The file is created in the DropzoneJsUploadForm form. I save the entity file, get its ID, and then set the value of the upload field.

🇯🇴Jordan rahaf albawab Amman

Hi @scott_euser.
I'm facing the same issue, and my key length is also 132. I created a merge request; you can check it.

🇯🇴Jordan rahaf albawab Amman

I'm facing the same issue in the AddToCartEvent class. I rolled back the fix in the merge request and applied the same changes to AddToCartEvent

🇯🇴Jordan rahaf albawab Amman
  • Support Gin, Claro
  • Create general style
  • Add default and fullback image
🇯🇴Jordan rahaf albawab Amman

I fixed fatal error in Edit form, also I did some enhancements on the design.

🇯🇴Jordan rahaf albawab Amman

Thanks @qusai_taha, @josebc, But there is an issue with the HTML checker: we can't append the tag inside the
tag. So, I removed from
, but I kept it in the drimage wrapper.

🇯🇴Jordan rahaf albawab Amman

Thanks @Alshami, For helping us!

I found another issue when the end-user adds a non-existent internal link. I added my fixes and I push the code soon,

🇯🇴Jordan rahaf albawab Amman

Thanks @Alshami, for reporting!

I'll check the issue and your patch soon and merge it to the module.

🇯🇴Jordan rahaf albawab Amman

Hi @sheetal-wish.

In my template, I used item.in_active_trail, and it's always true for any link with on any page.
I did some debugging in Drupal\Core\Menu\MenuActiveTrail and the result are correct there.

🇯🇴Jordan rahaf albawab Amman

All the errors and the warning fixed in the new release.

🇯🇴Jordan rahaf albawab Amman

I replaced README.txt with README.md and followed the standered for README.md

🇯🇴Jordan rahaf albawab Amman

I applied patch #132 to Drupal 10.2, but nothing changed because in the editor.libraries.yml file, drupal.editor has the version set as VERSION. Therefore, I rerolled the patch and removed it. If this is incorrect, please don't hesitate to provide the correct solution.

🇯🇴Jordan rahaf albawab Amman

The issue still appear in version 8. I create a new patch to solve the same issue.

🇯🇴Jordan rahaf albawab Amman

I created a list of permissions:

  1. Delete sections
  2. Configure sections
  3. Delete custom blocks
  4. Configure custom blocks
  5. Move custom blocks
🇯🇴Jordan rahaf albawab Amman

I passed the 'Display the banner' to the config. Then I checked if the current user not in the 'Display the banner', Hide the banner

🇯🇴Jordan rahaf albawab Amman

I applied changes to the existing JavaScript function.

🇯🇴Jordan rahaf albawab Amman

The patch didn't work for me
I add block from block layout and hide it from the home page when i edit the layout builder the block appears on the backend

Production build 0.71.5 2024