Add links to RWD theme nav bar?












0















How does one add links to the RWD theme navigation bar. I went through the debugger mode to see which files are being called and I still can't figure out how to add links to the responsive nav menu. I want to add some of the new cms pages I have included in my footer to the top menu. As well as a simple homepage link next to the account drop down.



enter image description here



enter image description here



<div class="skip-links">
<a href="#header-nav" class="skip-link skip-nav">
<span class="icon"></span>
<span class="label"><?php echo $this->__('Menu'); ?></span>
</a>

<a href="#header-search" class="skip-link skip-search">
<span class="icon"></span>
<span class="label"><?php echo $this->__('Search'); ?></span>
</a>

<div class="account-cart-wrapper">
<a href="<?php echo $this->helper('customer')->getAccountUrl(); ?>" data-target-element="#header-account" class="skip-link skip-account">
<span class="icon"></span>
<span class="label"><?php echo $this->__('Account'); ?></span>
</a>


In the first link called #header-nav I want to know how/where this object is being called and how I can populate the drop down?










share|improve this question














bumped to the homepage by Community 25 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















    How does one add links to the RWD theme navigation bar. I went through the debugger mode to see which files are being called and I still can't figure out how to add links to the responsive nav menu. I want to add some of the new cms pages I have included in my footer to the top menu. As well as a simple homepage link next to the account drop down.



    enter image description here



    enter image description here



    <div class="skip-links">
    <a href="#header-nav" class="skip-link skip-nav">
    <span class="icon"></span>
    <span class="label"><?php echo $this->__('Menu'); ?></span>
    </a>

    <a href="#header-search" class="skip-link skip-search">
    <span class="icon"></span>
    <span class="label"><?php echo $this->__('Search'); ?></span>
    </a>

    <div class="account-cart-wrapper">
    <a href="<?php echo $this->helper('customer')->getAccountUrl(); ?>" data-target-element="#header-account" class="skip-link skip-account">
    <span class="icon"></span>
    <span class="label"><?php echo $this->__('Account'); ?></span>
    </a>


    In the first link called #header-nav I want to know how/where this object is being called and how I can populate the drop down?










    share|improve this question














    bumped to the homepage by Community 25 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








      How does one add links to the RWD theme navigation bar. I went through the debugger mode to see which files are being called and I still can't figure out how to add links to the responsive nav menu. I want to add some of the new cms pages I have included in my footer to the top menu. As well as a simple homepage link next to the account drop down.



      enter image description here



      enter image description here



      <div class="skip-links">
      <a href="#header-nav" class="skip-link skip-nav">
      <span class="icon"></span>
      <span class="label"><?php echo $this->__('Menu'); ?></span>
      </a>

      <a href="#header-search" class="skip-link skip-search">
      <span class="icon"></span>
      <span class="label"><?php echo $this->__('Search'); ?></span>
      </a>

      <div class="account-cart-wrapper">
      <a href="<?php echo $this->helper('customer')->getAccountUrl(); ?>" data-target-element="#header-account" class="skip-link skip-account">
      <span class="icon"></span>
      <span class="label"><?php echo $this->__('Account'); ?></span>
      </a>


      In the first link called #header-nav I want to know how/where this object is being called and how I can populate the drop down?










      share|improve this question














      How does one add links to the RWD theme navigation bar. I went through the debugger mode to see which files are being called and I still can't figure out how to add links to the responsive nav menu. I want to add some of the new cms pages I have included in my footer to the top menu. As well as a simple homepage link next to the account drop down.



      enter image description here



      enter image description here



      <div class="skip-links">
      <a href="#header-nav" class="skip-link skip-nav">
      <span class="icon"></span>
      <span class="label"><?php echo $this->__('Menu'); ?></span>
      </a>

      <a href="#header-search" class="skip-link skip-search">
      <span class="icon"></span>
      <span class="label"><?php echo $this->__('Search'); ?></span>
      </a>

      <div class="account-cart-wrapper">
      <a href="<?php echo $this->helper('customer')->getAccountUrl(); ?>" data-target-element="#header-account" class="skip-link skip-account">
      <span class="icon"></span>
      <span class="label"><?php echo $this->__('Account'); ?></span>
      </a>


      In the first link called #header-nav I want to know how/where this object is being called and how I can populate the drop down?







      magento-1.9 rwd-theme navigation






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 2 '16 at 21:55









      the_dsignerthe_dsigner

      5328




      5328





      bumped to the homepage by Community 25 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 25 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


















          1














          Find the following file: app/design/frontend/rwd/default/template/page/html and open topmenu.phtml file. find this code



          <?php if($_menu): ?>
          <nav id="nav">
          <ol class="nav-primary">
          <?php echo $_menu ?>
          </ol>
          </nav>
          <?php endif ?>


          this code will output you the categories in the form of top menu if you don't use any categories hide this code or else paste this code before or after this code.



          <ul>
          <li><a href="<?php echo Mage::getBaseUrl(); ?>">HOME</a></li>
          <li><a href="<?php echo Mage::getBaseUrl(); ?>aboutus">ABOUT US</a></li>
          <li><a href="<?php echo Mage::getBaseUrl(); ?>your_page_uri">your_page_name</a></li>
          <li><a href="<?php echo Mage::getBaseUrl(); ?>your_page_uri">your_page_name</a></li>

          </ul>


          Another way to do it would be to use Observer page_block_html_topmenu_gethtml_before and then you can alter the menu in the way magento is doing it itself. For more information on that, like how to build up a real structure you can take a look here: http://inchoo.net/ecommerce/adding-links-to-the-top-menu-in-magento/






          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%2f104425%2fadd-links-to-rwd-theme-nav-bar%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









            1














            Find the following file: app/design/frontend/rwd/default/template/page/html and open topmenu.phtml file. find this code



            <?php if($_menu): ?>
            <nav id="nav">
            <ol class="nav-primary">
            <?php echo $_menu ?>
            </ol>
            </nav>
            <?php endif ?>


            this code will output you the categories in the form of top menu if you don't use any categories hide this code or else paste this code before or after this code.



            <ul>
            <li><a href="<?php echo Mage::getBaseUrl(); ?>">HOME</a></li>
            <li><a href="<?php echo Mage::getBaseUrl(); ?>aboutus">ABOUT US</a></li>
            <li><a href="<?php echo Mage::getBaseUrl(); ?>your_page_uri">your_page_name</a></li>
            <li><a href="<?php echo Mage::getBaseUrl(); ?>your_page_uri">your_page_name</a></li>

            </ul>


            Another way to do it would be to use Observer page_block_html_topmenu_gethtml_before and then you can alter the menu in the way magento is doing it itself. For more information on that, like how to build up a real structure you can take a look here: http://inchoo.net/ecommerce/adding-links-to-the-top-menu-in-magento/






            share|improve this answer




























              1














              Find the following file: app/design/frontend/rwd/default/template/page/html and open topmenu.phtml file. find this code



              <?php if($_menu): ?>
              <nav id="nav">
              <ol class="nav-primary">
              <?php echo $_menu ?>
              </ol>
              </nav>
              <?php endif ?>


              this code will output you the categories in the form of top menu if you don't use any categories hide this code or else paste this code before or after this code.



              <ul>
              <li><a href="<?php echo Mage::getBaseUrl(); ?>">HOME</a></li>
              <li><a href="<?php echo Mage::getBaseUrl(); ?>aboutus">ABOUT US</a></li>
              <li><a href="<?php echo Mage::getBaseUrl(); ?>your_page_uri">your_page_name</a></li>
              <li><a href="<?php echo Mage::getBaseUrl(); ?>your_page_uri">your_page_name</a></li>

              </ul>


              Another way to do it would be to use Observer page_block_html_topmenu_gethtml_before and then you can alter the menu in the way magento is doing it itself. For more information on that, like how to build up a real structure you can take a look here: http://inchoo.net/ecommerce/adding-links-to-the-top-menu-in-magento/






              share|improve this answer


























                1












                1








                1







                Find the following file: app/design/frontend/rwd/default/template/page/html and open topmenu.phtml file. find this code



                <?php if($_menu): ?>
                <nav id="nav">
                <ol class="nav-primary">
                <?php echo $_menu ?>
                </ol>
                </nav>
                <?php endif ?>


                this code will output you the categories in the form of top menu if you don't use any categories hide this code or else paste this code before or after this code.



                <ul>
                <li><a href="<?php echo Mage::getBaseUrl(); ?>">HOME</a></li>
                <li><a href="<?php echo Mage::getBaseUrl(); ?>aboutus">ABOUT US</a></li>
                <li><a href="<?php echo Mage::getBaseUrl(); ?>your_page_uri">your_page_name</a></li>
                <li><a href="<?php echo Mage::getBaseUrl(); ?>your_page_uri">your_page_name</a></li>

                </ul>


                Another way to do it would be to use Observer page_block_html_topmenu_gethtml_before and then you can alter the menu in the way magento is doing it itself. For more information on that, like how to build up a real structure you can take a look here: http://inchoo.net/ecommerce/adding-links-to-the-top-menu-in-magento/






                share|improve this answer













                Find the following file: app/design/frontend/rwd/default/template/page/html and open topmenu.phtml file. find this code



                <?php if($_menu): ?>
                <nav id="nav">
                <ol class="nav-primary">
                <?php echo $_menu ?>
                </ol>
                </nav>
                <?php endif ?>


                this code will output you the categories in the form of top menu if you don't use any categories hide this code or else paste this code before or after this code.



                <ul>
                <li><a href="<?php echo Mage::getBaseUrl(); ?>">HOME</a></li>
                <li><a href="<?php echo Mage::getBaseUrl(); ?>aboutus">ABOUT US</a></li>
                <li><a href="<?php echo Mage::getBaseUrl(); ?>your_page_uri">your_page_name</a></li>
                <li><a href="<?php echo Mage::getBaseUrl(); ?>your_page_uri">your_page_name</a></li>

                </ul>


                Another way to do it would be to use Observer page_block_html_topmenu_gethtml_before and then you can alter the menu in the way magento is doing it itself. For more information on that, like how to build up a real structure you can take a look here: http://inchoo.net/ecommerce/adding-links-to-the-top-menu-in-magento/







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 3 '16 at 4:48









                ArunendraArunendra

                6,20831742




                6,20831742






























                    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%2f104425%2fadd-links-to-rwd-theme-nav-bar%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