Not able to add contact us to navigation menu












0















I am trying to put the link of contact us that is at the bottom of magento website on the navigation menu. The form contains email textbox and a textbox where user could write and submit it. I want this link to open from navigation bar at the top. I tried doing it but nothing works. Please let me know how can I do it.
Thanks










share|improve this question














bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    I am trying to put the link of contact us that is at the bottom of magento website on the navigation menu. The form contains email textbox and a textbox where user could write and submit it. I want this link to open from navigation bar at the top. I tried doing it but nothing works. Please let me know how can I do it.
    Thanks










    share|improve this question














    bumped to the homepage by Community 17 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0


      1






      I am trying to put the link of contact us that is at the bottom of magento website on the navigation menu. The form contains email textbox and a textbox where user could write and submit it. I want this link to open from navigation bar at the top. I tried doing it but nothing works. Please let me know how can I do it.
      Thanks










      share|improve this question














      I am trying to put the link of contact us that is at the bottom of magento website on the navigation menu. The form contains email textbox and a textbox where user could write and submit it. I want this link to open from navigation bar at the top. I tried doing it but nothing works. Please let me know how can I do it.
      Thanks







      magento2 menu navigation contact-us






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 22 '16 at 16:37









      Farid HaqFarid Haq

      212




      212





      bumped to the homepage by Community 17 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 17 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          You can configure to show the information like.




          1. Create a static block by Content -> Blocks -> Add new block (In your case copy cms page about us content and paste it in your block ) -> Save.


          2. Go to Product -> Categories -> Create category by the name you want.


          3. Go to Display setting of the category -> Select CMS Block ( in your case select the block as in step 1 ).


          4. Display mode should be -> Static Block only.



          Save , remove cache and check it in front end menu.



          If you want to render contact us (Contact form is calling from template)



          Create a CMS static block as described on top and paste the below code in Content



          {{block class="MagentoContactBlockContactForm" template="Magento_Contact::form.phtml"}}


          Make sure you select this(saved by above code) static block into category you want to display in Navigation.(Display setting of the category -> Select CMS Block.)



          This answer is one of an option for display the information, if you want to add more links with custom information, you can override Navigation section by creating custom module.



          Hope this helps.






          share|improve this answer


























          • thanks for the answer. I have tried this approach, but I cannot find the CMS of contact us page that should be used to put in a block. I want to put the link of contact us that is at the very bottom of the page . It contains field such as name, email address, phone number and whats on your mind text field. Icannot find the CMS block for this page. Could you help me where I can find it?

            – Farid Haq
            Jul 22 '16 at 22:22











          • for eg. when I open contact us page, the link that shows in my address bar is like www.mywebsite.com/contact/

            – Farid Haq
            Jul 22 '16 at 22:25













          • I have modified the answer, feel free to ask if it is not working ..:)

            – Krishna ijjada
            Jul 23 '16 at 7:06











          • thanks krishna. it worked.However I wanted to have this contact us page for a different email . I mean the email to which the messages will be delivered should be different form the one at the bottom. Is this possible?

            – Farid Haq
            Aug 4 '16 at 1:38











          • check this controller vendor/magento/module-contact/Controller/Index/Post.php $this->scopeConfig->getValue(self::XML_PATH_EMAIL_SENDER, $storeScope

            – Krishna ijjada
            Aug 4 '16 at 3:56











          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%2f127042%2fnot-able-to-add-contact-us-to-navigation-menu%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You can configure to show the information like.




          1. Create a static block by Content -> Blocks -> Add new block (In your case copy cms page about us content and paste it in your block ) -> Save.


          2. Go to Product -> Categories -> Create category by the name you want.


          3. Go to Display setting of the category -> Select CMS Block ( in your case select the block as in step 1 ).


          4. Display mode should be -> Static Block only.



          Save , remove cache and check it in front end menu.



          If you want to render contact us (Contact form is calling from template)



          Create a CMS static block as described on top and paste the below code in Content



          {{block class="MagentoContactBlockContactForm" template="Magento_Contact::form.phtml"}}


          Make sure you select this(saved by above code) static block into category you want to display in Navigation.(Display setting of the category -> Select CMS Block.)



          This answer is one of an option for display the information, if you want to add more links with custom information, you can override Navigation section by creating custom module.



          Hope this helps.






          share|improve this answer


























          • thanks for the answer. I have tried this approach, but I cannot find the CMS of contact us page that should be used to put in a block. I want to put the link of contact us that is at the very bottom of the page . It contains field such as name, email address, phone number and whats on your mind text field. Icannot find the CMS block for this page. Could you help me where I can find it?

            – Farid Haq
            Jul 22 '16 at 22:22











          • for eg. when I open contact us page, the link that shows in my address bar is like www.mywebsite.com/contact/

            – Farid Haq
            Jul 22 '16 at 22:25













          • I have modified the answer, feel free to ask if it is not working ..:)

            – Krishna ijjada
            Jul 23 '16 at 7:06











          • thanks krishna. it worked.However I wanted to have this contact us page for a different email . I mean the email to which the messages will be delivered should be different form the one at the bottom. Is this possible?

            – Farid Haq
            Aug 4 '16 at 1:38











          • check this controller vendor/magento/module-contact/Controller/Index/Post.php $this->scopeConfig->getValue(self::XML_PATH_EMAIL_SENDER, $storeScope

            – Krishna ijjada
            Aug 4 '16 at 3:56
















          0














          You can configure to show the information like.




          1. Create a static block by Content -> Blocks -> Add new block (In your case copy cms page about us content and paste it in your block ) -> Save.


          2. Go to Product -> Categories -> Create category by the name you want.


          3. Go to Display setting of the category -> Select CMS Block ( in your case select the block as in step 1 ).


          4. Display mode should be -> Static Block only.



          Save , remove cache and check it in front end menu.



          If you want to render contact us (Contact form is calling from template)



          Create a CMS static block as described on top and paste the below code in Content



          {{block class="MagentoContactBlockContactForm" template="Magento_Contact::form.phtml"}}


          Make sure you select this(saved by above code) static block into category you want to display in Navigation.(Display setting of the category -> Select CMS Block.)



          This answer is one of an option for display the information, if you want to add more links with custom information, you can override Navigation section by creating custom module.



          Hope this helps.






          share|improve this answer


























          • thanks for the answer. I have tried this approach, but I cannot find the CMS of contact us page that should be used to put in a block. I want to put the link of contact us that is at the very bottom of the page . It contains field such as name, email address, phone number and whats on your mind text field. Icannot find the CMS block for this page. Could you help me where I can find it?

            – Farid Haq
            Jul 22 '16 at 22:22











          • for eg. when I open contact us page, the link that shows in my address bar is like www.mywebsite.com/contact/

            – Farid Haq
            Jul 22 '16 at 22:25













          • I have modified the answer, feel free to ask if it is not working ..:)

            – Krishna ijjada
            Jul 23 '16 at 7:06











          • thanks krishna. it worked.However I wanted to have this contact us page for a different email . I mean the email to which the messages will be delivered should be different form the one at the bottom. Is this possible?

            – Farid Haq
            Aug 4 '16 at 1:38











          • check this controller vendor/magento/module-contact/Controller/Index/Post.php $this->scopeConfig->getValue(self::XML_PATH_EMAIL_SENDER, $storeScope

            – Krishna ijjada
            Aug 4 '16 at 3:56














          0












          0








          0







          You can configure to show the information like.




          1. Create a static block by Content -> Blocks -> Add new block (In your case copy cms page about us content and paste it in your block ) -> Save.


          2. Go to Product -> Categories -> Create category by the name you want.


          3. Go to Display setting of the category -> Select CMS Block ( in your case select the block as in step 1 ).


          4. Display mode should be -> Static Block only.



          Save , remove cache and check it in front end menu.



          If you want to render contact us (Contact form is calling from template)



          Create a CMS static block as described on top and paste the below code in Content



          {{block class="MagentoContactBlockContactForm" template="Magento_Contact::form.phtml"}}


          Make sure you select this(saved by above code) static block into category you want to display in Navigation.(Display setting of the category -> Select CMS Block.)



          This answer is one of an option for display the information, if you want to add more links with custom information, you can override Navigation section by creating custom module.



          Hope this helps.






          share|improve this answer















          You can configure to show the information like.




          1. Create a static block by Content -> Blocks -> Add new block (In your case copy cms page about us content and paste it in your block ) -> Save.


          2. Go to Product -> Categories -> Create category by the name you want.


          3. Go to Display setting of the category -> Select CMS Block ( in your case select the block as in step 1 ).


          4. Display mode should be -> Static Block only.



          Save , remove cache and check it in front end menu.



          If you want to render contact us (Contact form is calling from template)



          Create a CMS static block as described on top and paste the below code in Content



          {{block class="MagentoContactBlockContactForm" template="Magento_Contact::form.phtml"}}


          Make sure you select this(saved by above code) static block into category you want to display in Navigation.(Display setting of the category -> Select CMS Block.)



          This answer is one of an option for display the information, if you want to add more links with custom information, you can override Navigation section by creating custom module.



          Hope this helps.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 23 '16 at 7:05

























          answered Jul 22 '16 at 17:25









          Krishna ijjadaKrishna ijjada

          5,72142355




          5,72142355













          • thanks for the answer. I have tried this approach, but I cannot find the CMS of contact us page that should be used to put in a block. I want to put the link of contact us that is at the very bottom of the page . It contains field such as name, email address, phone number and whats on your mind text field. Icannot find the CMS block for this page. Could you help me where I can find it?

            – Farid Haq
            Jul 22 '16 at 22:22











          • for eg. when I open contact us page, the link that shows in my address bar is like www.mywebsite.com/contact/

            – Farid Haq
            Jul 22 '16 at 22:25













          • I have modified the answer, feel free to ask if it is not working ..:)

            – Krishna ijjada
            Jul 23 '16 at 7:06











          • thanks krishna. it worked.However I wanted to have this contact us page for a different email . I mean the email to which the messages will be delivered should be different form the one at the bottom. Is this possible?

            – Farid Haq
            Aug 4 '16 at 1:38











          • check this controller vendor/magento/module-contact/Controller/Index/Post.php $this->scopeConfig->getValue(self::XML_PATH_EMAIL_SENDER, $storeScope

            – Krishna ijjada
            Aug 4 '16 at 3:56



















          • thanks for the answer. I have tried this approach, but I cannot find the CMS of contact us page that should be used to put in a block. I want to put the link of contact us that is at the very bottom of the page . It contains field such as name, email address, phone number and whats on your mind text field. Icannot find the CMS block for this page. Could you help me where I can find it?

            – Farid Haq
            Jul 22 '16 at 22:22











          • for eg. when I open contact us page, the link that shows in my address bar is like www.mywebsite.com/contact/

            – Farid Haq
            Jul 22 '16 at 22:25













          • I have modified the answer, feel free to ask if it is not working ..:)

            – Krishna ijjada
            Jul 23 '16 at 7:06











          • thanks krishna. it worked.However I wanted to have this contact us page for a different email . I mean the email to which the messages will be delivered should be different form the one at the bottom. Is this possible?

            – Farid Haq
            Aug 4 '16 at 1:38











          • check this controller vendor/magento/module-contact/Controller/Index/Post.php $this->scopeConfig->getValue(self::XML_PATH_EMAIL_SENDER, $storeScope

            – Krishna ijjada
            Aug 4 '16 at 3:56

















          thanks for the answer. I have tried this approach, but I cannot find the CMS of contact us page that should be used to put in a block. I want to put the link of contact us that is at the very bottom of the page . It contains field such as name, email address, phone number and whats on your mind text field. Icannot find the CMS block for this page. Could you help me where I can find it?

          – Farid Haq
          Jul 22 '16 at 22:22





          thanks for the answer. I have tried this approach, but I cannot find the CMS of contact us page that should be used to put in a block. I want to put the link of contact us that is at the very bottom of the page . It contains field such as name, email address, phone number and whats on your mind text field. Icannot find the CMS block for this page. Could you help me where I can find it?

          – Farid Haq
          Jul 22 '16 at 22:22













          for eg. when I open contact us page, the link that shows in my address bar is like www.mywebsite.com/contact/

          – Farid Haq
          Jul 22 '16 at 22:25







          for eg. when I open contact us page, the link that shows in my address bar is like www.mywebsite.com/contact/

          – Farid Haq
          Jul 22 '16 at 22:25















          I have modified the answer, feel free to ask if it is not working ..:)

          – Krishna ijjada
          Jul 23 '16 at 7:06





          I have modified the answer, feel free to ask if it is not working ..:)

          – Krishna ijjada
          Jul 23 '16 at 7:06













          thanks krishna. it worked.However I wanted to have this contact us page for a different email . I mean the email to which the messages will be delivered should be different form the one at the bottom. Is this possible?

          – Farid Haq
          Aug 4 '16 at 1:38





          thanks krishna. it worked.However I wanted to have this contact us page for a different email . I mean the email to which the messages will be delivered should be different form the one at the bottom. Is this possible?

          – Farid Haq
          Aug 4 '16 at 1:38













          check this controller vendor/magento/module-contact/Controller/Index/Post.php $this->scopeConfig->getValue(self::XML_PATH_EMAIL_SENDER, $storeScope

          – Krishna ijjada
          Aug 4 '16 at 3:56





          check this controller vendor/magento/module-contact/Controller/Index/Post.php $this->scopeConfig->getValue(self::XML_PATH_EMAIL_SENDER, $storeScope

          – Krishna ijjada
          Aug 4 '16 at 3:56


















          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%2f127042%2fnot-able-to-add-contact-us-to-navigation-menu%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

          Magento 2 controller redirect on button click in phtml file

          Polycentropodidae