Skip to main content
deleted 80 characters in body
Source Link
Suresh Chikani
  • 15.9k
  • 11
  • 63
  • 99

Use below code forFirst you need to check theme is applied or not. You can check your layout customer_account_logincurrent theme by ctr + U, you can see current theme path in .css and .js file.xml

In your case Magestore/Sample display in .css and .js file path. If display it, theme is set properly.

    <?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="customer_form_login">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Magento_Customer::form/login.phtml</argument>
            </action>
        </referenceBlock>
    </body>
</page>

Run below command

php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy

php bin/magento cache:clean

Now you can see your changes.

Let me know if you have any query.

Use below code for your layout customer_account_login.xml file

    <?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="customer_form_login">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Magento_Customer::form/login.phtml</argument>
            </action>
        </referenceBlock>
    </body>
</page>

First you need to check theme is applied or not. You can check your current theme by ctr + U, you can see current theme path in .css and .js file.

In your case Magestore/Sample display in .css and .js file path. If display it, theme is set properly.

Run below command

php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy

php bin/magento cache:clean

Now you can see your changes.

Let me know if you have any query.

deleted 3 characters in body
Source Link
Suresh Chikani
  • 15.9k
  • 11
  • 63
  • 99

Use below code for your layout customer_account_login.xml file

    <?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="customer_form_login">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Magento_Customer::form/login123login.phtml</argument>
            </action>
        </referenceBlock>
    </body>
</page>

Use below code for your layout customer_account_login.xml file

    <?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="customer_form_login">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Magento_Customer::form/login123.phtml</argument>
            </action>
        </referenceBlock>
    </body>
</page>

Use below code for your layout customer_account_login.xml file

    <?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="customer_form_login">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Magento_Customer::form/login.phtml</argument>
            </action>
        </referenceBlock>
    </body>
</page>
xml correction
Source Link
Suresh Chikani
  • 15.9k
  • 11
  • 63
  • 99

Use below code for your layout customer_account_login.xml file

    <?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="customer_form_login">
            <action method="setTemplate">
                <argument name="template"xsiname="template" xsi:type="string">Magento_Customer::form/loginlogin123.phtml</argument>
            </action>
        </referenceBlock>
    </body>
</page>

Use below code for your layout customer_account_login.xml file

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="customer_form_login">
            <action method="setTemplate">
                <argument name="template"xsi:type="string">Magento_Customer::form/login.phtml</argument>
            </action>
        </referenceBlock>
    </body>
</page>

Use below code for your layout customer_account_login.xml file

    <?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="customer_form_login">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Magento_Customer::form/login123.phtml</argument>
            </action>
        </referenceBlock>
    </body>
</page>
Source Link
Suresh Chikani
  • 15.9k
  • 11
  • 63
  • 99
Loading