Magento 2 location of content in getChildHtml()Magento 2 Where can I find a xml file location?Where is location of “Related Products” and “Cross-sells” collection of functionExport and Import LocationLog settings location of Magento 2Location of main HTML fileAdding QTY+Location to order view page, Demac Magento-Multi-Location-Inventory ExtensionMagento2 Order Invoice layout file location and block?Magento 2 - Where to put images to use in cssHow to get to know the XML file and its path for that template Path Hint in Magento 2How to find the file in getchildhtml('customer') in magento 2

Strange LED behavior

I am a dual citizen of United States and Mexico, can I use my Mexican license in california when visiting?

Recursive search on Node Tree with Linq and Queue

Would using carbon dioxide as fuel work to reduce the greenhouse effect?

How can I disable a reserved profile?

Why are the phonemes of Tutankhamun's throne name transliterated out of order?

is FIND WORDS in P?

Is it better to merge "often" or only after completion do a big merge of feature branches?

What are "the high ends of castles" called?

Why did modems have speakers?

How to handle not being able to attend as often as I'd like

How can I deal with someone that wants to kill something that isn't supposed to be killed?

How can I show that the speed of light in vacuum is the same in all reference frames?

MITM on HTTPS traffic in Kazakhstan 2019

How old is the Italian word "malandrino"?

Why is DC so, so, so Democratic?

What does a black-and-white Puerto Rican flag signify?

As the Ferris wheel turns

What is a "staved" town, like in "Staverton"?

Is there an English word to describe when a sound "protrudes"?

What does a Nintendo Game Boy do when turned on without a game cartridge inserted?

Can a warlock shoot multiple beams from the Eldritch Blast cantrip with only a single free hand?

Importance of moon phases for Apollo missions

Is it ethical to tell my teaching assistant that I like him?



Magento 2 location of content in getChildHtml()


Magento 2 Where can I find a xml file location?Where is location of “Related Products” and “Cross-sells” collection of functionExport and Import LocationLog settings location of Magento 2Location of main HTML fileAdding QTY+Location to order view page, Demac Magento-Multi-Location-Inventory ExtensionMagento2 Order Invoice layout file location and block?Magento 2 - Where to put images to use in cssHow to get to know the XML file and its path for that template Path Hint in Magento 2How to find the file in getchildhtml('customer') in magento 2






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I want to know the file location of



customer.form.register.newsletter`' in `$block->getChildHtml('customer.form.register.newsletter');


I find it difficult to find out the location or files related to it.










share|improve this question
























  • anywhere code will have coment. <br>ex: /** * Product list toolbar * * @var $block MagentoCatalogBlockProductProductListToolbar */

    – xanka
    Dec 11 '15 at 3:16

















1















I want to know the file location of



customer.form.register.newsletter`' in `$block->getChildHtml('customer.form.register.newsletter');


I find it difficult to find out the location or files related to it.










share|improve this question
























  • anywhere code will have coment. <br>ex: /** * Product list toolbar * * @var $block MagentoCatalogBlockProductProductListToolbar */

    – xanka
    Dec 11 '15 at 3:16













1












1








1








I want to know the file location of



customer.form.register.newsletter`' in `$block->getChildHtml('customer.form.register.newsletter');


I find it difficult to find out the location or files related to it.










share|improve this question
















I want to know the file location of



customer.form.register.newsletter`' in `$block->getChildHtml('customer.form.register.newsletter');


I find it difficult to find out the location or files related to it.







magento2 newsletter locations customer-registration






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 13 at 9:12









Teja Bhagavan Kollepara

3,0144 gold badges21 silver badges51 bronze badges




3,0144 gold badges21 silver badges51 bronze badges










asked Dec 11 '15 at 2:45









Ricky.CRicky.C

1,1642 gold badges22 silver badges45 bronze badges




1,1642 gold badges22 silver badges45 bronze badges












  • anywhere code will have coment. <br>ex: /** * Product list toolbar * * @var $block MagentoCatalogBlockProductProductListToolbar */

    – xanka
    Dec 11 '15 at 3:16

















  • anywhere code will have coment. <br>ex: /** * Product list toolbar * * @var $block MagentoCatalogBlockProductProductListToolbar */

    – xanka
    Dec 11 '15 at 3:16
















anywhere code will have coment. <br>ex: /** * Product list toolbar * * @var $block MagentoCatalogBlockProductProductListToolbar */

– xanka
Dec 11 '15 at 3:16





anywhere code will have coment. <br>ex: /** * Product list toolbar * * @var $block MagentoCatalogBlockProductProductListToolbar */

– xanka
Dec 11 '15 at 3:16










2 Answers
2






active

oldest

votes


















2














you can not find any files related to it because now this section unused, this section allow yourself or developer to add new content or block to this position.



To add new block to this section you can create new xml file name customer_account_create.xml :



<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer.form.register.newsletter">
<block class="Your_Block_Name" name="name_of_this_block" template="Vendor_Module::file_name.phtml"/>
</referenceBlock>
</body>
</page>





share|improve this answer
































    2














    There is also available a way how to get to know a template location.



    These are template path hints.



    A page with enabled template path hints will look like:
    enter image description here



    Template path hints can be enabled/disabled in Magento backend:




    Stores->Settings->Configuration->Advanced->Developer->Debug section







    share|improve this answer



























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "479"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f93432%2fmagento-2-location-of-content-in-getchildhtml%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2














      you can not find any files related to it because now this section unused, this section allow yourself or developer to add new content or block to this position.



      To add new block to this section you can create new xml file name customer_account_create.xml :



      <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
      <body>
      <referenceBlock name="customer.form.register.newsletter">
      <block class="Your_Block_Name" name="name_of_this_block" template="Vendor_Module::file_name.phtml"/>
      </referenceBlock>
      </body>
      </page>





      share|improve this answer





























        2














        you can not find any files related to it because now this section unused, this section allow yourself or developer to add new content or block to this position.



        To add new block to this section you can create new xml file name customer_account_create.xml :



        <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <body>
        <referenceBlock name="customer.form.register.newsletter">
        <block class="Your_Block_Name" name="name_of_this_block" template="Vendor_Module::file_name.phtml"/>
        </referenceBlock>
        </body>
        </page>





        share|improve this answer



























          2












          2








          2







          you can not find any files related to it because now this section unused, this section allow yourself or developer to add new content or block to this position.



          To add new block to this section you can create new xml file name customer_account_create.xml :



          <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
          <body>
          <referenceBlock name="customer.form.register.newsletter">
          <block class="Your_Block_Name" name="name_of_this_block" template="Vendor_Module::file_name.phtml"/>
          </referenceBlock>
          </body>
          </page>





          share|improve this answer















          you can not find any files related to it because now this section unused, this section allow yourself or developer to add new content or block to this position.



          To add new block to this section you can create new xml file name customer_account_create.xml :



          <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
          <body>
          <referenceBlock name="customer.form.register.newsletter">
          <block class="Your_Block_Name" name="name_of_this_block" template="Vendor_Module::file_name.phtml"/>
          </referenceBlock>
          </body>
          </page>






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Oct 30 '17 at 6:05









          Manashvi Birla

          6,8276 gold badges20 silver badges41 bronze badges




          6,8276 gold badges20 silver badges41 bronze badges










          answered Dec 11 '15 at 3:56









          Magev2Magev2

          2,32710 silver badges12 bronze badges




          2,32710 silver badges12 bronze badges























              2














              There is also available a way how to get to know a template location.



              These are template path hints.



              A page with enabled template path hints will look like:
              enter image description here



              Template path hints can be enabled/disabled in Magento backend:




              Stores->Settings->Configuration->Advanced->Developer->Debug section







              share|improve this answer





























                2














                There is also available a way how to get to know a template location.



                These are template path hints.



                A page with enabled template path hints will look like:
                enter image description here



                Template path hints can be enabled/disabled in Magento backend:




                Stores->Settings->Configuration->Advanced->Developer->Debug section







                share|improve this answer



























                  2












                  2








                  2







                  There is also available a way how to get to know a template location.



                  These are template path hints.



                  A page with enabled template path hints will look like:
                  enter image description here



                  Template path hints can be enabled/disabled in Magento backend:




                  Stores->Settings->Configuration->Advanced->Developer->Debug section







                  share|improve this answer















                  There is also available a way how to get to know a template location.



                  These are template path hints.



                  A page with enabled template path hints will look like:
                  enter image description here



                  Template path hints can be enabled/disabled in Magento backend:




                  Stores->Settings->Configuration->Advanced->Developer->Debug section








                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Oct 30 '17 at 6:16









                  Manoj Deswal

                  5,0049 gold badges19 silver badges45 bronze badges




                  5,0049 gold badges19 silver badges45 bronze badges










                  answered Feb 26 '16 at 20:24









                  Arkadii ChyzhovArkadii Chyzhov

                  2,4987 silver badges14 bronze badges




                  2,4987 silver badges14 bronze badges



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Magento Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f93432%2fmagento-2-location-of-content-in-getchildhtml%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                      Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                      Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form