magento2 – How to override checkout on module enable/disable in Magento 2?

I want to override this by enabling/disable the module from admin.

<item name="progressBar" xsi:type="array">
  <item name="sortOrder" xsi:type="string">0</item>
  <item name="component" xsi:type="string">Magento_Checkout/js/view/progress-bar</item>

Please let me know thanks.

applications – Creating a new module in Android Gave me this error

apply plugin: ''
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
    compileSdkVersion 30
    buildToolsVersion "30.0.0"

    defaultConfig {
        applicationId "com.example.harktemp"
        minSdkVersion 21
        targetSdkVersion 30
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), ''

dependencies {
    implementation fileTree(dir: "libs", include: ("*.jar"))
    implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
    implementation 'androidx.core:core-ktx:1.3.1'
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.13'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    implementation "androidx.cardview:cardview:1.0.0"
    //Material Design
    implementation ""
    implementation 'de.hdodenhof:circleimageview:3.1.0'
    implementation 'com.squareup.picasso:picasso:2.71828'


buildscript {
    ext {
        kotlin_version = '1.3.72'
    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

javascript – Trying to add a custom .js file for the User module

I register my js file in user.libraries.yml file my custom js file is user.custom.js.

  version: VERSION
      user.js: {}
      user.theme.js: {}
      user.custom.js: {}

I added this line to user module’s RegisterForm.php file.

$element('#attached')('library')() = 'user/drupal.user';

I am getting this error.

User warning: The following theme is missing from the file system: user.custom in drupal_get_filename()

Media images not showing in custom module

I have a problem, I have created a custom module in my Magento site, so in that module I’m calling custom attributes to display some content and images, but when I’m adding media image in this attribute image never shows on the frontend. In inspect element I can saw image in this format. Any suggestion?

<img src=”data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGP6zwAAAgcBApocMXEAAAAASUVORK5CYII=” data-amsrc=”{{media url=” wysiwyg=”” img-pages=”” 2017device-benefits2.jpg”}}”=”” style=”margin-bottom:10px;” width=”80″ height=”45″ alt=”Benefits”>

Thank You

Trying to add a custom .js file for user module in Drupal 8

1.I register my js file in user.libraries.yml file my custom js file is user.custom.js

      version: VERSION
        user.js: {}
        user.theme.js: {}
        user.custom.js: {}

2.I added this line to user module's RegisterForm.php file
    $element('#attached')('library')() = 'user/drupal.user';

3.Getting error like-
User warning: The following theme is missing from the file system: user.custom in drupal_get_filename() (line 295...

forms – How to use computed twig element in Drupal Webform module to get value from a custom composite element?

I have created a custom composite element by cloning the example module of Drupal 8 Webforms. It has a radio button and 4 select boxes. So when clicking ‘Add” button, another row is being created, and likewise a series of 10 clicks would make the page too lengthy.

I need to list out a selected element ( Product ) in another table beneath the custom composite, and hide the filled row when the ‘Add’ button is clicked.

Since I am relatively new to Drupal 8, I have no idea how to achieve this. I tried using computed twig to fetch the data from products table using the syntax {{data.products.product}} where products is the key of the custom composite element & product is the select field inside the composite element. I didn’t receive any output following the above syntax.

Could anyone help me out here ?

How to rectify error WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available?

Whenever I use pip3 for eg I did pip3 install virtualenvwrapper-win

I get WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

Also for this specific module virtualenvwrapper I am getting

ERROR: Could not find a version that satisfies the requirement virtualenvwrapper-win (from 
versions: none)
ERROR: No matching distribution found for virtualenvwrapper-win

But installing anything with pip works fine it’s just pip3 that’s not working.

I searched askUbuntu for this and found this but the accepted answer to this is not working for me. More specifically if I do sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

I get E: Unable to correct problems, you have held broken packages.

Please help me to fix pip3.

Adding a payment button to the Webform Module

I have been administering drupal sites for a while now, but it looks like I need to get into module development for my next clients needs. Specifically I want to add a Pay option to the form, where a person will have to pay before the form gets submitted (there I need to integrate a payment gateway in the form ). Also after the submission is succesfull the person should be registered to the site.

Would appreciate any pointers on how I can achieve the above two goals. I was looking at adding a custom submit handler by using
hook_form_alter() . is that a good path to follow?

ag.algebraic geometry – detecting a semi-free module from its bar-resolution?

Let $A$ be a DG-algebra over a field (say $k$). A DG-module $M$ over $A$ is said to be semi-free if it admits an exhaustive filtration $0 = M_0 subset M_1 subset cdots subset M$ such that the cones of $M_i to M_{i+1}$ are finite direct sums of shifts of finite-dimensional free $A$-modules (I insist on the finite-dimensional hypothesis which I need for my problem).

In case $A$ is proper and $M$ is finite-dimensional (perfect?) DG-module over $A$ then the bar-resolution of $M$ is an (infinite) semi-free resolution of $M$.

I am wondering if there is a way to detect that $M$ itself is semi-free from its bar resolution? I am not sure what to expect. Perhaps that one can extract a finite resolution from the bar-resolution when $M$ is semi-free?

Since I am looking for positive result, extra-hypotheses can be made on $A$. I just don’t want to assume that $A$ is smooth (since in my example it is not).

How to disable Two factor Authentication module in Magento 2.4

Can any one help me to share the module name which is responsible for Magento Two factor authentication.

I tried to find the in the vendor folder but can not make it.