๐Ÿ‡ฎ๐Ÿ‡ณIndia @vinai_katiyar

Delhi NCR
Account created on 19 May 2021, over 3 years ago
#

Recent comments

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

vinai_katiyar โ†’ changed the visibility of the branch 3476439-term-list-performance-test to hidden.

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hi @darkodev,

I tried to reproduce issue on my local machine but unable to reproduce the issue.

I've attached a recording of the steps I followed to reproduce the issue and kindly help me if I followed any incorrect steps to reproduce the issue.

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hi @akhilavnair,

I tried to replicate the issue on my local machine using the specified PHP and Drupal versions with DDEV, but I was unable to reproduce it.

For both issues, it appears that the website cannot write to the destination file path, likely due to directory permission issues where it attempts to store uploaded images.

I would suggest please check the permission of the directory where the images are being uploaded.

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hi ,
I have found a workaround that might help until we get a permanent fix.
Attached a video for reference.
Thanks,

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hello @joy-kodali,
I tried to reproduce the issue as the steps are mentioned but I didnโ€™t face the issue. It's working as expected for me.
Attached a brief video for reference.
Thanks!

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hi @yan2020,
I also tried to reproduce the issue but didnโ€™t face any issue. It worked for me as expected.
Attached screenshots for reference.

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hi @bala_28,
I followed the mentioned steps to reproduce the issue but couldnโ€™t. Could you help me to reproduce the issue ?
Attached screenshots for references.

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hi @ishwar,
The submodule AddAvg CDN is removed under the release 6.0.0-alpha1 โ†’ version.
To resolve their dependency in Drupal10 , you can use hook_js_alter() and hook_css_alter().

Example Using hook_js_alter()

<?php
/**
 * Implements hook_js_alter().
 */
function my_module_js_alter(&$javascript) {
  // Replace with your CDN URL
  $cdn_url = 'https://your-cdn.com';

  // Target specific JavaScript file
  $jquery_lib = 'core/assets/vendor/jquery/jquery.min.js';

  // Check if the specific JavaScript file is set
  if (!empty($javascript[$jquery_lib])) {
    // Replace the local path with the CDN path
    $javascript[$jquery_lib]['data'] = $cdn_url . '/jquery.min.js';
  }
}

?>

Example Using hook_cs_alter()

<?php
/**
 * Implements hook_css_alter().
 */
function my_module_css_alter(&$css) {
  // Replace 'https://your-cdn-domain.com' with your actual CDN domain
  $cdn_url = 'https://your-cdn-domain.com';

  // Target a specific CSS file in your module
  $my_css_file = 'modules/custom/my_module/css/my_styles.css';

  // Check if the specific CSS file is set
  if (isset($css[$my_css_file])) {
    // Replace the local path with the CDN path
    $css[$my_css_file]['data'] = $cdn_url . '/path/to/your/css/file.css';
  }
}

?>
๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hello @Finn Lewis,

I tried to reproduce the issue as you mentioned the steps but I am getting password errors if I am not entering the password as per the Password Policy for existing users.

Kindly refer to the attached screenshots. It might help you to fix the issue.

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hi @ehanuise,

There are two issues faced when tried to install and enable the submodule "Video Embed WYSIWYG" on new D10 setup.

  1. By default "Video Embed WYSIWYG" submodule has dependancy on CKEditor4.
  2. CKEditor 5 only works with HTML-based text formats. The "Video Embed WYSIWYG" (video_embed_wysiwyg) filter implies this text format is not HTML anymore.

To resolve both issues mentioned above, I applied the following patch, and it worked for me.

  1. https://www.drupal.org/files/issues/2024-03-13/3311063-56.patch โ†’

Kindly refer the screenshots for reference.

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hi @jumoke,

I have tested the patch mentioned in #3. It hides the Country field when the dropdown contains only one country, and the Address field is not required. However, I observed that if the Address field is set as non-mandatory and a default country is specified, then by default, Address module provides two options for the Country field: "None" and the default country. If "None" is selected, then the Address field will not be displayed to the web user.

After applying patch #3, the "None" option is no longer available, preventing the Country field from being hidden from the web user.

Kindly refer to the attached screenshots.

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hi @abryenton@gmail.com ,

I tried to replicate the issue with Drupal 10.3.1 and CAPTCHA 2.0.6 but couldnโ€™t replicate the issue. Marking as Closed(cannot reproduce).

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hi @nelo_drup, @hongqing,

I set the meta tags for a custom route of a webform and got a success message "Created metatags for the path: /form/custom-contact. Internal route: entity.webform.canonical.". but when I tried to set meta tags for second webform using their custom route then got the error message "There are already metatags created for this route".

The error "There are already metatags created for this route" typically occurs because the Metatag module in Drupal considers the internal route of the webform rather than the URL alias.

So the internal route for viewing a webform is typically entity.webform.canonical and the path is usually /webform/{webform_id}.

Kindly refer to the attached screenshot for reference.

You can use the below custom logic in custom module or theme hook to set meta tags for custom route of the webforms -

  if (\Drupal::routeMatch()->getRouteName() == 'entity.webform.canonical') {
    $alias = \Drupal::service('path_alias.manager')->getAliasByPath(\Drupal::service('path.current')->getPath());
    if ($alias == '/contact-us') {
        // Add meta tags for /contact-us
        $variables['#attached']['html_head'][] = [
            [
                '#tag' => 'meta',
                '#attributes' => [
                    'name' => 'description',
                    'content' => 'Contact us form description',
                ],
            ],
        ];
    } elseif ($alias == '/custom-contact') {
        // Add meta tags for /custom-contact
        $variables['#attached']['html_head'][] = [
            [
                '#tag' => 'meta',
                '#attributes' => [
                    'name' => 'description',
                    'content' => 'Custom Contact us form description',
                ],
            ],
        ];
    }
}
๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

vinaik โ†’ changed the visibility of the branch 3461288-metatag-views-integration to hidden.

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

@shinkula enable the option "Use replacement tokens from the first row" under the "Meta tags" on the taxonomy views page. This will replace the meta description with the {{ arguments.name }} token.

Kindly review the attachments for more details.

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

vinaik โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hello kubokura,

I tried to reproduce the issue as the steps you mentioned but still i am not able to reproduce the issue.
Kindly refer to the attached recording video.

Thanks!

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

Hi,

I was unable to reproduce this issue. I tried to reproduce the issue on Mac Sonoma 14.4.1 and Drupal 10.2.7-dev

I have attached screenshots for reference.

1. source-mode.png
2.edit-mode.png
3.view-mode.png

๐Ÿ‡ฎ๐Ÿ‡ณIndia vinai_katiyar Delhi NCR

vinaik โ†’ made their first commit to this issueโ€™s fork.

Production build 0.71.5 2024