Magento customer account navigation missing from left columnBlock creation in magentoAttributes of action...

A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?

CREATE ASSEMBLY System.DirectoryServices.AccountManagement.dll without enabling TRUSTWORTHY

My cat mixes up the floors in my building. How can I help him?

How to avoid being sexist when trying to employ someone to function in a very sexist environment?

How can I get my players to come to the game session after agreeing to a date?

Cookies - Should the toggles be on?

Highly technological aliens land nuclear fusion powered ships in medieval city and slaughter everyone, using swords?

Error in a formula field

Caruana vs Carlsen game 10 (WCC) why not 18...Nxb6?

Why publish a research paper when a blog post or a lecture slide can have more citation count than a journal paper?

How can animals be objects of ethics without being subjects as well?

Why did other German political parties disband so fast when Hitler was appointed chancellor?

Blindfold battle as a gladiatorial spectacle - what are the tactics and communication methods?

What are the differences between a+i and &a[i] for pointer arithmetic in C++?

How to remove blank page before my new report chapter?

Do authors have to be politically correct in article-writing?

Publishing research using outdated methods

How can I deliver in-universe written lore to players without it being dry exposition?

Using only 1s, make 29 with the minimum number of digits

Traveling through the asteriod belt?

Explain the objections to these measures against human trafficking

Why do members of Congress in committee hearings ask witnesses the same question multiple times?

How to prevent cleaner from hanging my lock screen in Ubuntu 16.04

How to say "Brexit" in Latin?



Magento customer account navigation missing from left column


Block creation in magentoAttributes of action layout elementAdding payment information additional information via *$this->getChildChildHtml('additional')*Recently product view not workingHow to Add External Link to Customer Account Navigation?Magento: move customer account navigation from left to rightCustomer account information links disappeared from left columnBundle product email templateM1: Require VAT in checkout process but don't ask it when customer create new accountMagento 1.9 customer account navigation missing from left column













1















I have a issue where my customer account navigation is missing from the left column in the account area.



In my customer.xml file:



<customer_account translate="label">
<label>Customer My Account (All Pages)</label>
<!--remove name="catalog.compare.sidebar"/>
<remove name="sale.reorder.sidebar"/-->
<!-- Mage_Customer -->
<reference name="root">
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
</reference>

<reference name="content">
<block type="page/html_wrapper" name="my.account.wrapper" translate="label">
<label>My Account Wrapper</label>
<action method="setElementClass"><value>my-account</value></action>
</block>
</reference>

<reference name="left">
<block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
<action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
<action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
<action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
</block>
<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
</block>
<block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
<remove name="tags_popular"/>

</reference>
</customer_account>


When I change <reference name="left"> to <reference name="content"> the navigation is being displayed in the content column therefore I belive it has something to do with the reference name "left" element.



In my 2column-left.phtml file I got this:



!DOCTYPE html>
<html>
<head>
<?php echo $this->getChildHtml('head') ?>
</head>

<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>

<?php echo $this->getChildHtml('after_body_start') ?>
<?php echo $this->getChildHtml('header') ?>

<div class="container b30 t30">
<?php echo $this->getChildHtml('global_notices') ?>
<?php echo $this->getChildHtml('breadcrumbs') ?>

<div class="row">
<aside class="col-md-3">
<?php echo $this->getChildHtml('left') ?>
</aside>
<div class="col-md-9">
<?php

$yourUrlKey = 'tpd';
$yourUrlKey2 = 'tdp-faq';
$cmsPageUrlKey = Mage::getSingleton('cms/page')->getIdentifier();

if($yourUrlKey == $cmsPageUrlKey || $yourUrlKey2 == $cmsPageUrlKey) { ?>

<div class="three-buttons mB20">
<a class="button green mR20" href="/safety-data/">Safety Data</a> <a class="button green mR20 tpd" href="/tpd/">TOBACCO PRODUCTS DIRECTIVE</a> <a class="button green mR20 faq" href="/tdp-faq/">FAQs</a> <a class="button green" target="_blank" href="https://www.vampirevape.co.uk/new_order_form.xlsx">Download Our Order Form</a>
</div>

<?php } ?>
<?php echo $this->getChildHtml('global_messages') ?>
<?php echo $this->getChildHtml('content') ?>

</div>
</div>
</div>

<?php echo $this->getChildHtml('footer') ?>
<?php echo $this->getChildHtml('before_body_end') ?>
<?php echo $this->getAbsoluteFooter() ?>












share|improve this question





























    1















    I have a issue where my customer account navigation is missing from the left column in the account area.



    In my customer.xml file:



    <customer_account translate="label">
    <label>Customer My Account (All Pages)</label>
    <!--remove name="catalog.compare.sidebar"/>
    <remove name="sale.reorder.sidebar"/-->
    <!-- Mage_Customer -->
    <reference name="root">
    <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
    </reference>

    <reference name="content">
    <block type="page/html_wrapper" name="my.account.wrapper" translate="label">
    <label>My Account Wrapper</label>
    <action method="setElementClass"><value>my-account</value></action>
    </block>
    </reference>

    <reference name="left">
    <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
    <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
    <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
    <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
    </block>
    <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
    <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
    <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
    <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
    </block>
    <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
    <remove name="tags_popular"/>

    </reference>
    </customer_account>


    When I change <reference name="left"> to <reference name="content"> the navigation is being displayed in the content column therefore I belive it has something to do with the reference name "left" element.



    In my 2column-left.phtml file I got this:



    !DOCTYPE html>
    <html>
    <head>
    <?php echo $this->getChildHtml('head') ?>
    </head>

    <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>

    <?php echo $this->getChildHtml('after_body_start') ?>
    <?php echo $this->getChildHtml('header') ?>

    <div class="container b30 t30">
    <?php echo $this->getChildHtml('global_notices') ?>
    <?php echo $this->getChildHtml('breadcrumbs') ?>

    <div class="row">
    <aside class="col-md-3">
    <?php echo $this->getChildHtml('left') ?>
    </aside>
    <div class="col-md-9">
    <?php

    $yourUrlKey = 'tpd';
    $yourUrlKey2 = 'tdp-faq';
    $cmsPageUrlKey = Mage::getSingleton('cms/page')->getIdentifier();

    if($yourUrlKey == $cmsPageUrlKey || $yourUrlKey2 == $cmsPageUrlKey) { ?>

    <div class="three-buttons mB20">
    <a class="button green mR20" href="/safety-data/">Safety Data</a> <a class="button green mR20 tpd" href="/tpd/">TOBACCO PRODUCTS DIRECTIVE</a> <a class="button green mR20 faq" href="/tdp-faq/">FAQs</a> <a class="button green" target="_blank" href="https://www.vampirevape.co.uk/new_order_form.xlsx">Download Our Order Form</a>
    </div>

    <?php } ?>
    <?php echo $this->getChildHtml('global_messages') ?>
    <?php echo $this->getChildHtml('content') ?>

    </div>
    </div>
    </div>

    <?php echo $this->getChildHtml('footer') ?>
    <?php echo $this->getChildHtml('before_body_end') ?>
    <?php echo $this->getAbsoluteFooter() ?>












    share|improve this question



























      1












      1








      1








      I have a issue where my customer account navigation is missing from the left column in the account area.



      In my customer.xml file:



      <customer_account translate="label">
      <label>Customer My Account (All Pages)</label>
      <!--remove name="catalog.compare.sidebar"/>
      <remove name="sale.reorder.sidebar"/-->
      <!-- Mage_Customer -->
      <reference name="root">
      <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
      </reference>

      <reference name="content">
      <block type="page/html_wrapper" name="my.account.wrapper" translate="label">
      <label>My Account Wrapper</label>
      <action method="setElementClass"><value>my-account</value></action>
      </block>
      </reference>

      <reference name="left">
      <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
      <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
      <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
      <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
      </block>
      <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
      <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
      <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
      <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
      </block>
      <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
      <remove name="tags_popular"/>

      </reference>
      </customer_account>


      When I change <reference name="left"> to <reference name="content"> the navigation is being displayed in the content column therefore I belive it has something to do with the reference name "left" element.



      In my 2column-left.phtml file I got this:



      !DOCTYPE html>
      <html>
      <head>
      <?php echo $this->getChildHtml('head') ?>
      </head>

      <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>

      <?php echo $this->getChildHtml('after_body_start') ?>
      <?php echo $this->getChildHtml('header') ?>

      <div class="container b30 t30">
      <?php echo $this->getChildHtml('global_notices') ?>
      <?php echo $this->getChildHtml('breadcrumbs') ?>

      <div class="row">
      <aside class="col-md-3">
      <?php echo $this->getChildHtml('left') ?>
      </aside>
      <div class="col-md-9">
      <?php

      $yourUrlKey = 'tpd';
      $yourUrlKey2 = 'tdp-faq';
      $cmsPageUrlKey = Mage::getSingleton('cms/page')->getIdentifier();

      if($yourUrlKey == $cmsPageUrlKey || $yourUrlKey2 == $cmsPageUrlKey) { ?>

      <div class="three-buttons mB20">
      <a class="button green mR20" href="/safety-data/">Safety Data</a> <a class="button green mR20 tpd" href="/tpd/">TOBACCO PRODUCTS DIRECTIVE</a> <a class="button green mR20 faq" href="/tdp-faq/">FAQs</a> <a class="button green" target="_blank" href="https://www.vampirevape.co.uk/new_order_form.xlsx">Download Our Order Form</a>
      </div>

      <?php } ?>
      <?php echo $this->getChildHtml('global_messages') ?>
      <?php echo $this->getChildHtml('content') ?>

      </div>
      </div>
      </div>

      <?php echo $this->getChildHtml('footer') ?>
      <?php echo $this->getChildHtml('before_body_end') ?>
      <?php echo $this->getAbsoluteFooter() ?>












      share|improve this question
















      I have a issue where my customer account navigation is missing from the left column in the account area.



      In my customer.xml file:



      <customer_account translate="label">
      <label>Customer My Account (All Pages)</label>
      <!--remove name="catalog.compare.sidebar"/>
      <remove name="sale.reorder.sidebar"/-->
      <!-- Mage_Customer -->
      <reference name="root">
      <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
      </reference>

      <reference name="content">
      <block type="page/html_wrapper" name="my.account.wrapper" translate="label">
      <label>My Account Wrapper</label>
      <action method="setElementClass"><value>my-account</value></action>
      </block>
      </reference>

      <reference name="left">
      <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
      <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
      <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
      <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
      </block>
      <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
      <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
      <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
      <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
      </block>
      <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
      <remove name="tags_popular"/>

      </reference>
      </customer_account>


      When I change <reference name="left"> to <reference name="content"> the navigation is being displayed in the content column therefore I belive it has something to do with the reference name "left" element.



      In my 2column-left.phtml file I got this:



      !DOCTYPE html>
      <html>
      <head>
      <?php echo $this->getChildHtml('head') ?>
      </head>

      <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>

      <?php echo $this->getChildHtml('after_body_start') ?>
      <?php echo $this->getChildHtml('header') ?>

      <div class="container b30 t30">
      <?php echo $this->getChildHtml('global_notices') ?>
      <?php echo $this->getChildHtml('breadcrumbs') ?>

      <div class="row">
      <aside class="col-md-3">
      <?php echo $this->getChildHtml('left') ?>
      </aside>
      <div class="col-md-9">
      <?php

      $yourUrlKey = 'tpd';
      $yourUrlKey2 = 'tdp-faq';
      $cmsPageUrlKey = Mage::getSingleton('cms/page')->getIdentifier();

      if($yourUrlKey == $cmsPageUrlKey || $yourUrlKey2 == $cmsPageUrlKey) { ?>

      <div class="three-buttons mB20">
      <a class="button green mR20" href="/safety-data/">Safety Data</a> <a class="button green mR20 tpd" href="/tpd/">TOBACCO PRODUCTS DIRECTIVE</a> <a class="button green mR20 faq" href="/tdp-faq/">FAQs</a> <a class="button green" target="_blank" href="https://www.vampirevape.co.uk/new_order_form.xlsx">Download Our Order Form</a>
      </div>

      <?php } ?>
      <?php echo $this->getChildHtml('global_messages') ?>
      <?php echo $this->getChildHtml('content') ?>

      </div>
      </div>
      </div>

      <?php echo $this->getChildHtml('footer') ?>
      <?php echo $this->getChildHtml('before_body_end') ?>
      <?php echo $this->getAbsoluteFooter() ?>









      magento-1.9 layout xml local.xml






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 38 mins ago









      Teja Bhagavan Kollepara

      2,96341847




      2,96341847










      asked Apr 28 '17 at 11:46









      Bare FeetBare Feet

      1,6381933




      1,6381933






















          3 Answers
          3






          active

          oldest

          votes


















          2














          As you got solution But I want to give some suggestion,



          As you found that issue with <remove name="left"/>



          because this thing remove from default handler,



          If you remove something in default handler then it will never get loaded again by any other handler.



          If you remove any block from handler then you cannot re load that block



          If you want to load it again that block in that particular block then always use unset.



          And specially if you are developing an extension then don't use remove always use unset as a best practice






          share|improve this answer



















          • 1





            Yes, great advice. Whoever have developed the module, included the <remove name="left"> in the default handler so whatever I have tried didn't work as it was simply deleted and couldn't find where it was. I have used unset instead of remove now. Thanks for advice.

            – Bare Feet
            May 2 '17 at 13:48













          • You are always welcome @GrzegorzWisniewski :)

            – Murtuza Zabuawala
            May 2 '17 at 14:16



















          0














          Finally i found what the problem was. I only took over from someone else and only getting my head around the system.



          The problem was, there was a



          <layout version="1.0">
          <default><remove name="left"/></default>


          element in one of the custom modules written by someone. Removing the



          <remove name="left"/>


          fixed my problem.






          share|improve this answer































            0














            Please follow the below screenshot



            enter image description here



            I think you might be miss the "addBodyClass" method in 'customer.xml'



                <reference name="root">
            <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
            <action method="addBodyClass"><class>customer-account</class></action>
            <reference>


            Please do the changes accordingly and remove the cache session after modify the layout file.






            share|improve this answer


























            • Hi there! I did exactly what you have mentioned but this has not solve the issue. Any other suggestions?

              – Bare Feet
              Apr 28 '17 at 12:54











            • ok please comment the code in between the div i.e <div class="col-md-9"> and check the same. screenshot: prntscr.com/f1uhvw

              – Nagaraju Kasa
              Apr 28 '17 at 13:06











            • Deleted <?php $yourUrlKey = 'tpd'; $yourUrlKey2 = 'tdp-faq';$cmsPageUrlKey = Mage::getSingleton('cms/page')->getIdentifier();if($yourUrlKey == $cmsPageUrlKey || $yourUrlKey2 == $cmsPageUrlKey) { ?><div class="three-buttons mB20"> <a class="button green mR20" href="/safety-data/">Safety Data</a> <a class="button green mR20 tpd" href="/tpd/">TOBACCO PRODUCTS DIRECTIVE</a> <a class="button green mR20 faq" href="/tdp-faq/">FAQs</a> <a class="button green" target="_blank" ref="vampirevape.co.uk/new_order_form.xlsx">Download Our Order Form</a></div> <?php } ?>

              – Bare Feet
              Apr 28 '17 at 13:20











            • Only left <?php echo $this->getChildHtml('global_messages') ?> <?php echo $this->getChildHtml('content') ?> in the <div class="col-md-9"> but it has not solve the problem

              – Bare Feet
              Apr 28 '17 at 13:21











            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%2f172246%2fmagento-customer-account-navigation-missing-from-left-column%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            As you got solution But I want to give some suggestion,



            As you found that issue with <remove name="left"/>



            because this thing remove from default handler,



            If you remove something in default handler then it will never get loaded again by any other handler.



            If you remove any block from handler then you cannot re load that block



            If you want to load it again that block in that particular block then always use unset.



            And specially if you are developing an extension then don't use remove always use unset as a best practice






            share|improve this answer



















            • 1





              Yes, great advice. Whoever have developed the module, included the <remove name="left"> in the default handler so whatever I have tried didn't work as it was simply deleted and couldn't find where it was. I have used unset instead of remove now. Thanks for advice.

              – Bare Feet
              May 2 '17 at 13:48













            • You are always welcome @GrzegorzWisniewski :)

              – Murtuza Zabuawala
              May 2 '17 at 14:16
















            2














            As you got solution But I want to give some suggestion,



            As you found that issue with <remove name="left"/>



            because this thing remove from default handler,



            If you remove something in default handler then it will never get loaded again by any other handler.



            If you remove any block from handler then you cannot re load that block



            If you want to load it again that block in that particular block then always use unset.



            And specially if you are developing an extension then don't use remove always use unset as a best practice






            share|improve this answer



















            • 1





              Yes, great advice. Whoever have developed the module, included the <remove name="left"> in the default handler so whatever I have tried didn't work as it was simply deleted and couldn't find where it was. I have used unset instead of remove now. Thanks for advice.

              – Bare Feet
              May 2 '17 at 13:48













            • You are always welcome @GrzegorzWisniewski :)

              – Murtuza Zabuawala
              May 2 '17 at 14:16














            2












            2








            2







            As you got solution But I want to give some suggestion,



            As you found that issue with <remove name="left"/>



            because this thing remove from default handler,



            If you remove something in default handler then it will never get loaded again by any other handler.



            If you remove any block from handler then you cannot re load that block



            If you want to load it again that block in that particular block then always use unset.



            And specially if you are developing an extension then don't use remove always use unset as a best practice






            share|improve this answer













            As you got solution But I want to give some suggestion,



            As you found that issue with <remove name="left"/>



            because this thing remove from default handler,



            If you remove something in default handler then it will never get loaded again by any other handler.



            If you remove any block from handler then you cannot re load that block



            If you want to load it again that block in that particular block then always use unset.



            And specially if you are developing an extension then don't use remove always use unset as a best practice







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 2 '17 at 13:42









            Murtuza ZabuawalaMurtuza Zabuawala

            12.5k73362




            12.5k73362








            • 1





              Yes, great advice. Whoever have developed the module, included the <remove name="left"> in the default handler so whatever I have tried didn't work as it was simply deleted and couldn't find where it was. I have used unset instead of remove now. Thanks for advice.

              – Bare Feet
              May 2 '17 at 13:48













            • You are always welcome @GrzegorzWisniewski :)

              – Murtuza Zabuawala
              May 2 '17 at 14:16














            • 1





              Yes, great advice. Whoever have developed the module, included the <remove name="left"> in the default handler so whatever I have tried didn't work as it was simply deleted and couldn't find where it was. I have used unset instead of remove now. Thanks for advice.

              – Bare Feet
              May 2 '17 at 13:48













            • You are always welcome @GrzegorzWisniewski :)

              – Murtuza Zabuawala
              May 2 '17 at 14:16








            1




            1





            Yes, great advice. Whoever have developed the module, included the <remove name="left"> in the default handler so whatever I have tried didn't work as it was simply deleted and couldn't find where it was. I have used unset instead of remove now. Thanks for advice.

            – Bare Feet
            May 2 '17 at 13:48







            Yes, great advice. Whoever have developed the module, included the <remove name="left"> in the default handler so whatever I have tried didn't work as it was simply deleted and couldn't find where it was. I have used unset instead of remove now. Thanks for advice.

            – Bare Feet
            May 2 '17 at 13:48















            You are always welcome @GrzegorzWisniewski :)

            – Murtuza Zabuawala
            May 2 '17 at 14:16





            You are always welcome @GrzegorzWisniewski :)

            – Murtuza Zabuawala
            May 2 '17 at 14:16













            0














            Finally i found what the problem was. I only took over from someone else and only getting my head around the system.



            The problem was, there was a



            <layout version="1.0">
            <default><remove name="left"/></default>


            element in one of the custom modules written by someone. Removing the



            <remove name="left"/>


            fixed my problem.






            share|improve this answer




























              0














              Finally i found what the problem was. I only took over from someone else and only getting my head around the system.



              The problem was, there was a



              <layout version="1.0">
              <default><remove name="left"/></default>


              element in one of the custom modules written by someone. Removing the



              <remove name="left"/>


              fixed my problem.






              share|improve this answer


























                0












                0








                0







                Finally i found what the problem was. I only took over from someone else and only getting my head around the system.



                The problem was, there was a



                <layout version="1.0">
                <default><remove name="left"/></default>


                element in one of the custom modules written by someone. Removing the



                <remove name="left"/>


                fixed my problem.






                share|improve this answer













                Finally i found what the problem was. I only took over from someone else and only getting my head around the system.



                The problem was, there was a



                <layout version="1.0">
                <default><remove name="left"/></default>


                element in one of the custom modules written by someone. Removing the



                <remove name="left"/>


                fixed my problem.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 2 '17 at 13:03









                Bare FeetBare Feet

                1,6381933




                1,6381933























                    0














                    Please follow the below screenshot



                    enter image description here



                    I think you might be miss the "addBodyClass" method in 'customer.xml'



                        <reference name="root">
                    <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
                    <action method="addBodyClass"><class>customer-account</class></action>
                    <reference>


                    Please do the changes accordingly and remove the cache session after modify the layout file.






                    share|improve this answer


























                    • Hi there! I did exactly what you have mentioned but this has not solve the issue. Any other suggestions?

                      – Bare Feet
                      Apr 28 '17 at 12:54











                    • ok please comment the code in between the div i.e <div class="col-md-9"> and check the same. screenshot: prntscr.com/f1uhvw

                      – Nagaraju Kasa
                      Apr 28 '17 at 13:06











                    • Deleted <?php $yourUrlKey = 'tpd'; $yourUrlKey2 = 'tdp-faq';$cmsPageUrlKey = Mage::getSingleton('cms/page')->getIdentifier();if($yourUrlKey == $cmsPageUrlKey || $yourUrlKey2 == $cmsPageUrlKey) { ?><div class="three-buttons mB20"> <a class="button green mR20" href="/safety-data/">Safety Data</a> <a class="button green mR20 tpd" href="/tpd/">TOBACCO PRODUCTS DIRECTIVE</a> <a class="button green mR20 faq" href="/tdp-faq/">FAQs</a> <a class="button green" target="_blank" ref="vampirevape.co.uk/new_order_form.xlsx">Download Our Order Form</a></div> <?php } ?>

                      – Bare Feet
                      Apr 28 '17 at 13:20











                    • Only left <?php echo $this->getChildHtml('global_messages') ?> <?php echo $this->getChildHtml('content') ?> in the <div class="col-md-9"> but it has not solve the problem

                      – Bare Feet
                      Apr 28 '17 at 13:21
















                    0














                    Please follow the below screenshot



                    enter image description here



                    I think you might be miss the "addBodyClass" method in 'customer.xml'



                        <reference name="root">
                    <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
                    <action method="addBodyClass"><class>customer-account</class></action>
                    <reference>


                    Please do the changes accordingly and remove the cache session after modify the layout file.






                    share|improve this answer


























                    • Hi there! I did exactly what you have mentioned but this has not solve the issue. Any other suggestions?

                      – Bare Feet
                      Apr 28 '17 at 12:54











                    • ok please comment the code in between the div i.e <div class="col-md-9"> and check the same. screenshot: prntscr.com/f1uhvw

                      – Nagaraju Kasa
                      Apr 28 '17 at 13:06











                    • Deleted <?php $yourUrlKey = 'tpd'; $yourUrlKey2 = 'tdp-faq';$cmsPageUrlKey = Mage::getSingleton('cms/page')->getIdentifier();if($yourUrlKey == $cmsPageUrlKey || $yourUrlKey2 == $cmsPageUrlKey) { ?><div class="three-buttons mB20"> <a class="button green mR20" href="/safety-data/">Safety Data</a> <a class="button green mR20 tpd" href="/tpd/">TOBACCO PRODUCTS DIRECTIVE</a> <a class="button green mR20 faq" href="/tdp-faq/">FAQs</a> <a class="button green" target="_blank" ref="vampirevape.co.uk/new_order_form.xlsx">Download Our Order Form</a></div> <?php } ?>

                      – Bare Feet
                      Apr 28 '17 at 13:20











                    • Only left <?php echo $this->getChildHtml('global_messages') ?> <?php echo $this->getChildHtml('content') ?> in the <div class="col-md-9"> but it has not solve the problem

                      – Bare Feet
                      Apr 28 '17 at 13:21














                    0












                    0








                    0







                    Please follow the below screenshot



                    enter image description here



                    I think you might be miss the "addBodyClass" method in 'customer.xml'



                        <reference name="root">
                    <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
                    <action method="addBodyClass"><class>customer-account</class></action>
                    <reference>


                    Please do the changes accordingly and remove the cache session after modify the layout file.






                    share|improve this answer















                    Please follow the below screenshot



                    enter image description here



                    I think you might be miss the "addBodyClass" method in 'customer.xml'



                        <reference name="root">
                    <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
                    <action method="addBodyClass"><class>customer-account</class></action>
                    <reference>


                    Please do the changes accordingly and remove the cache session after modify the layout file.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited May 17 '17 at 10:05









                    Teja Bhagavan Kollepara

                    2,96341847




                    2,96341847










                    answered Apr 28 '17 at 12:45









                    Nagaraju KasaNagaraju Kasa

                    2,63721539




                    2,63721539













                    • Hi there! I did exactly what you have mentioned but this has not solve the issue. Any other suggestions?

                      – Bare Feet
                      Apr 28 '17 at 12:54











                    • ok please comment the code in between the div i.e <div class="col-md-9"> and check the same. screenshot: prntscr.com/f1uhvw

                      – Nagaraju Kasa
                      Apr 28 '17 at 13:06











                    • Deleted <?php $yourUrlKey = 'tpd'; $yourUrlKey2 = 'tdp-faq';$cmsPageUrlKey = Mage::getSingleton('cms/page')->getIdentifier();if($yourUrlKey == $cmsPageUrlKey || $yourUrlKey2 == $cmsPageUrlKey) { ?><div class="three-buttons mB20"> <a class="button green mR20" href="/safety-data/">Safety Data</a> <a class="button green mR20 tpd" href="/tpd/">TOBACCO PRODUCTS DIRECTIVE</a> <a class="button green mR20 faq" href="/tdp-faq/">FAQs</a> <a class="button green" target="_blank" ref="vampirevape.co.uk/new_order_form.xlsx">Download Our Order Form</a></div> <?php } ?>

                      – Bare Feet
                      Apr 28 '17 at 13:20











                    • Only left <?php echo $this->getChildHtml('global_messages') ?> <?php echo $this->getChildHtml('content') ?> in the <div class="col-md-9"> but it has not solve the problem

                      – Bare Feet
                      Apr 28 '17 at 13:21



















                    • Hi there! I did exactly what you have mentioned but this has not solve the issue. Any other suggestions?

                      – Bare Feet
                      Apr 28 '17 at 12:54











                    • ok please comment the code in between the div i.e <div class="col-md-9"> and check the same. screenshot: prntscr.com/f1uhvw

                      – Nagaraju Kasa
                      Apr 28 '17 at 13:06











                    • Deleted <?php $yourUrlKey = 'tpd'; $yourUrlKey2 = 'tdp-faq';$cmsPageUrlKey = Mage::getSingleton('cms/page')->getIdentifier();if($yourUrlKey == $cmsPageUrlKey || $yourUrlKey2 == $cmsPageUrlKey) { ?><div class="three-buttons mB20"> <a class="button green mR20" href="/safety-data/">Safety Data</a> <a class="button green mR20 tpd" href="/tpd/">TOBACCO PRODUCTS DIRECTIVE</a> <a class="button green mR20 faq" href="/tdp-faq/">FAQs</a> <a class="button green" target="_blank" ref="vampirevape.co.uk/new_order_form.xlsx">Download Our Order Form</a></div> <?php } ?>

                      – Bare Feet
                      Apr 28 '17 at 13:20











                    • Only left <?php echo $this->getChildHtml('global_messages') ?> <?php echo $this->getChildHtml('content') ?> in the <div class="col-md-9"> but it has not solve the problem

                      – Bare Feet
                      Apr 28 '17 at 13:21

















                    Hi there! I did exactly what you have mentioned but this has not solve the issue. Any other suggestions?

                    – Bare Feet
                    Apr 28 '17 at 12:54





                    Hi there! I did exactly what you have mentioned but this has not solve the issue. Any other suggestions?

                    – Bare Feet
                    Apr 28 '17 at 12:54













                    ok please comment the code in between the div i.e <div class="col-md-9"> and check the same. screenshot: prntscr.com/f1uhvw

                    – Nagaraju Kasa
                    Apr 28 '17 at 13:06





                    ok please comment the code in between the div i.e <div class="col-md-9"> and check the same. screenshot: prntscr.com/f1uhvw

                    – Nagaraju Kasa
                    Apr 28 '17 at 13:06













                    Deleted <?php $yourUrlKey = 'tpd'; $yourUrlKey2 = 'tdp-faq';$cmsPageUrlKey = Mage::getSingleton('cms/page')->getIdentifier();if($yourUrlKey == $cmsPageUrlKey || $yourUrlKey2 == $cmsPageUrlKey) { ?><div class="three-buttons mB20"> <a class="button green mR20" href="/safety-data/">Safety Data</a> <a class="button green mR20 tpd" href="/tpd/">TOBACCO PRODUCTS DIRECTIVE</a> <a class="button green mR20 faq" href="/tdp-faq/">FAQs</a> <a class="button green" target="_blank" ref="vampirevape.co.uk/new_order_form.xlsx">Download Our Order Form</a></div> <?php } ?>

                    – Bare Feet
                    Apr 28 '17 at 13:20





                    Deleted <?php $yourUrlKey = 'tpd'; $yourUrlKey2 = 'tdp-faq';$cmsPageUrlKey = Mage::getSingleton('cms/page')->getIdentifier();if($yourUrlKey == $cmsPageUrlKey || $yourUrlKey2 == $cmsPageUrlKey) { ?><div class="three-buttons mB20"> <a class="button green mR20" href="/safety-data/">Safety Data</a> <a class="button green mR20 tpd" href="/tpd/">TOBACCO PRODUCTS DIRECTIVE</a> <a class="button green mR20 faq" href="/tdp-faq/">FAQs</a> <a class="button green" target="_blank" ref="vampirevape.co.uk/new_order_form.xlsx">Download Our Order Form</a></div> <?php } ?>

                    – Bare Feet
                    Apr 28 '17 at 13:20













                    Only left <?php echo $this->getChildHtml('global_messages') ?> <?php echo $this->getChildHtml('content') ?> in the <div class="col-md-9"> but it has not solve the problem

                    – Bare Feet
                    Apr 28 '17 at 13:21





                    Only left <?php echo $this->getChildHtml('global_messages') ?> <?php echo $this->getChildHtml('content') ?> in the <div class="col-md-9"> but it has not solve the problem

                    – Bare Feet
                    Apr 28 '17 at 13:21


















                    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%2f172246%2fmagento-customer-account-navigation-missing-from-left-column%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