Finding out layout handles being evaluated for a page The Next CEO of Stack OverflowTargeting multiple layout handles in layout XMLCMS XML Handles for Layout Updatesupdate layout using custom layout handlesUnderstanding types of layout handlesLoading layout on rewritten Mage_Adminhtml_Cms_Wysiwyg_ImagesController, handles emptyMagento xml layout for specific URLHow to find out which layout handles to be changed?Custom page layout handleHow to determine when custom layout XML is being usedHow to add custom layout handles programatically for Category View in Magento 2

Are police here, aren't itthey?

Solving system of ODEs with extra parameter

Why isn't acceleration always zero whenever velocity is zero, such as the moment a ball bounces off a wall?

RigExpert AA-35 - Interpreting The Information

How to scale a tikZ image which is within a figure environment

Beveled cylinder cutout

Why is information "lost" when it got into a black hole?

How to avoid supervisors with prejudiced views?

Won the lottery - how do I keep the money?

INSERT to a table from a database to other (same SQL Server) using Dynamic SQL

Is it possible to replace duplicates of a character with one character using tr

Which one is the true statement?

What happened in Rome, when the western empire "fell"?

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Why, when going from special to general relativity, do we just replace partial derivatives with covariant derivatives?

No sign flipping while figuring out the emf of voltaic cell?

Where do students learn to solve polynomial equations these days?

How to invert MapIndexed on a ragged structure? How to construct a tree from rules?

Bartok - Syncopation (1): Meaning of notes in between Grand Staff

Is French Guiana a (hard) EU border?

How do I align (1) and (2)?

Why did CATV standarize in 75 ohms and everyone else in 50?

Recycling old answers



Finding out layout handles being evaluated for a page



The Next CEO of Stack OverflowTargeting multiple layout handles in layout XMLCMS XML Handles for Layout Updatesupdate layout using custom layout handlesUnderstanding types of layout handlesLoading layout on rewritten Mage_Adminhtml_Cms_Wysiwyg_ImagesController, handles emptyMagento xml layout for specific URLHow to find out which layout handles to be changed?Custom page layout handleHow to determine when custom layout XML is being usedHow to add custom layout handles programatically for Category View in Magento 2










2















I am working on a project where I want to display few links on left side of top bar at Home page, as shown below.



Top bar - Magento Home



To do this i created a new block with name left.top.links very similar to Magento's block top.links and modified header template and added this block before currency block, very similar to as described in the post here.



but even though i have named this block differently i.e. left.top.links when I logout Sign Up links gets added on both the blocks, top.links and left.top.links.



First place which I wanted to check was customer_logged_out handle in customer.xml, which looks completely OK to me and In fact, i could not find Sign Up link being added anywhere in Magento frontend layouts.



So, my question is, Is there any way to find out how Sign Up link is added in block? Also, what all layout handles are evaluated to render a page? Which will help me in checking on all those places.










share|improve this question






















  • please confirm the right question.

    – Fra
    Jul 1 '14 at 17:48











  • Hi @Fra, my main question was to know, If there is any alternate way to addlinks. At the same time how we can figure out what all handles are being used so that we can confirm that it is definitely layout update handle. Answer to 2nd part is already answered below.

    – Lalit
    Jul 1 '14 at 17:59











  • maybe it is better to split the question in 2 question

    – Fra
    Jul 1 '14 at 19:32
















2















I am working on a project where I want to display few links on left side of top bar at Home page, as shown below.



Top bar - Magento Home



To do this i created a new block with name left.top.links very similar to Magento's block top.links and modified header template and added this block before currency block, very similar to as described in the post here.



but even though i have named this block differently i.e. left.top.links when I logout Sign Up links gets added on both the blocks, top.links and left.top.links.



First place which I wanted to check was customer_logged_out handle in customer.xml, which looks completely OK to me and In fact, i could not find Sign Up link being added anywhere in Magento frontend layouts.



So, my question is, Is there any way to find out how Sign Up link is added in block? Also, what all layout handles are evaluated to render a page? Which will help me in checking on all those places.










share|improve this question






















  • please confirm the right question.

    – Fra
    Jul 1 '14 at 17:48











  • Hi @Fra, my main question was to know, If there is any alternate way to addlinks. At the same time how we can figure out what all handles are being used so that we can confirm that it is definitely layout update handle. Answer to 2nd part is already answered below.

    – Lalit
    Jul 1 '14 at 17:59











  • maybe it is better to split the question in 2 question

    – Fra
    Jul 1 '14 at 19:32














2












2








2


2






I am working on a project where I want to display few links on left side of top bar at Home page, as shown below.



Top bar - Magento Home



To do this i created a new block with name left.top.links very similar to Magento's block top.links and modified header template and added this block before currency block, very similar to as described in the post here.



but even though i have named this block differently i.e. left.top.links when I logout Sign Up links gets added on both the blocks, top.links and left.top.links.



First place which I wanted to check was customer_logged_out handle in customer.xml, which looks completely OK to me and In fact, i could not find Sign Up link being added anywhere in Magento frontend layouts.



So, my question is, Is there any way to find out how Sign Up link is added in block? Also, what all layout handles are evaluated to render a page? Which will help me in checking on all those places.










share|improve this question














I am working on a project where I want to display few links on left side of top bar at Home page, as shown below.



Top bar - Magento Home



To do this i created a new block with name left.top.links very similar to Magento's block top.links and modified header template and added this block before currency block, very similar to as described in the post here.



but even though i have named this block differently i.e. left.top.links when I logout Sign Up links gets added on both the blocks, top.links and left.top.links.



First place which I wanted to check was customer_logged_out handle in customer.xml, which looks completely OK to me and In fact, i could not find Sign Up link being added anywhere in Magento frontend layouts.



So, my question is, Is there any way to find out how Sign Up link is added in block? Also, what all layout handles are evaluated to render a page? Which will help me in checking on all those places.







layout blocks controllers toplinks layout-update






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 1 '14 at 7:11









LalitLalit

10912




10912












  • please confirm the right question.

    – Fra
    Jul 1 '14 at 17:48











  • Hi @Fra, my main question was to know, If there is any alternate way to addlinks. At the same time how we can figure out what all handles are being used so that we can confirm that it is definitely layout update handle. Answer to 2nd part is already answered below.

    – Lalit
    Jul 1 '14 at 17:59











  • maybe it is better to split the question in 2 question

    – Fra
    Jul 1 '14 at 19:32


















  • please confirm the right question.

    – Fra
    Jul 1 '14 at 17:48











  • Hi @Fra, my main question was to know, If there is any alternate way to addlinks. At the same time how we can figure out what all handles are being used so that we can confirm that it is definitely layout update handle. Answer to 2nd part is already answered below.

    – Lalit
    Jul 1 '14 at 17:59











  • maybe it is better to split the question in 2 question

    – Fra
    Jul 1 '14 at 19:32

















please confirm the right question.

– Fra
Jul 1 '14 at 17:48





please confirm the right question.

– Fra
Jul 1 '14 at 17:48













Hi @Fra, my main question was to know, If there is any alternate way to addlinks. At the same time how we can figure out what all handles are being used so that we can confirm that it is definitely layout update handle. Answer to 2nd part is already answered below.

– Lalit
Jul 1 '14 at 17:59





Hi @Fra, my main question was to know, If there is any alternate way to addlinks. At the same time how we can figure out what all handles are being used so that we can confirm that it is definitely layout update handle. Answer to 2nd part is already answered below.

– Lalit
Jul 1 '14 at 17:59













maybe it is better to split the question in 2 question

– Fra
Jul 1 '14 at 19:32






maybe it is better to split the question in 2 question

– Fra
Jul 1 '14 at 19:32











4 Answers
4






active

oldest

votes


















6














try this



Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles());





share|improve this answer


















  • 1





    this is work like a charm, it is the correct answer !

    – Fra
    Jul 1 '14 at 17:48











  • @deepak, Thanks for this, worked well for me but even after going through all layout handles, I couldn't find any place where Sign Up link is being added. Do you know, any other place where i should look?

    – Lalit
    Jul 1 '14 at 17:49











  • sign up link is added through addLink action which can be found in customer.xml

    – Deepak Mallah
    Jul 2 '14 at 6:54


















2














or better use some developer extensions like



Commerce Bug



or



Mgt Developer Toolbar



We use both of them and give you a lot of usefull information.



regards






share|improve this answer

























  • @glueseppe,@marius Thanks for great share. Even after looking into these layout update handles, I can't find any sign of how Sign Up link is being added in my custom link navigation. Is there any other way to find that out?

    – Lalit
    Jul 1 '14 at 17:46


















1














To list all layout handle, the approach suggested by @Deepak Mallah works fine:



Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles());


Anyway I think it is not exactly clear to you what is Layout Handle is suggest to dig more on its function in layout files. ( not part of the question/answer )



Here what you are looking for



Give a look at Mage_Page_Block_Template_Links and addlink() method.



In default Magento theme the link "Sign up" is labeled "Log In", this link it is added to the block top.links in app/design/frontend/base/default/layout/customer.xml layout file using the method addlink()



<customer_logged_in>
<reference name="top.links">
<action method="addLink" translate="label title" module="customer">
<label>Log Out</label>
<url helper="customer/getLogoutUrl"/>
<title>Log Out</title>
<prepare/>
<urlParams/>
<position>100</position>
</action>
</reference>
</customer_logged_in>


Note:
customer_logged_in is a special layout handle that:



 <!--
Load this update on every page when customer is logged in
-->





share|improve this answer

























  • I have checked in all these places but wasn't able to find out. Even i can't see it anywhere in layout of theme i have installed. but as you mentioned in base Magento theme Sign Up button is labeled as Login so there is good chance that i can find it in theme's code.

    – Lalit
    Jul 2 '14 at 4:52












  • search layout files for this text customer_logged_in ... if you cannot find anything it is probably added by template or code. I would also suggest to put a breakpoint in the addlink() method so you can see if it added by it

    – Fra
    Jul 2 '14 at 11:03











  • In my case it's customer_logged_out as i want to show this link when customer is logged out but I can try debugging in addlink method, that should help. :)

    – Lalit
    Jul 2 '14 at 11:16












  • Hi @Fra, I added logs in addLink method to check when Sign Up is being added in navigation and to see If i can figure out how this link is being added But to my surprise, it seems Sign Up link is Not added using addLink method in page/template_links. I can see the log for all the other navigation links but not for Sign Up. Is there any other way to add the navigation links?

    – Lalit
    Jul 5 '14 at 5:17











  • The reason why i couldn't find it in page/template_links because link was added in template file (links.phtml) for theme I was using. For people who might find same issue for Shopper theme, here is discussion thread: help.queldorei.com/discussion/comment/18537

    – Lalit
    Jul 9 '14 at 7:13


















0














For Magento 2 within phtml template files:



<?php var_dump($block->getLayout()->getUpdate()->getHandles()); ?>





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%2f25565%2ffinding-out-layout-handles-being-evaluated-for-a-page%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6














    try this



    Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles());





    share|improve this answer


















    • 1





      this is work like a charm, it is the correct answer !

      – Fra
      Jul 1 '14 at 17:48











    • @deepak, Thanks for this, worked well for me but even after going through all layout handles, I couldn't find any place where Sign Up link is being added. Do you know, any other place where i should look?

      – Lalit
      Jul 1 '14 at 17:49











    • sign up link is added through addLink action which can be found in customer.xml

      – Deepak Mallah
      Jul 2 '14 at 6:54















    6














    try this



    Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles());





    share|improve this answer


















    • 1





      this is work like a charm, it is the correct answer !

      – Fra
      Jul 1 '14 at 17:48











    • @deepak, Thanks for this, worked well for me but even after going through all layout handles, I couldn't find any place where Sign Up link is being added. Do you know, any other place where i should look?

      – Lalit
      Jul 1 '14 at 17:49











    • sign up link is added through addLink action which can be found in customer.xml

      – Deepak Mallah
      Jul 2 '14 at 6:54













    6












    6








    6







    try this



    Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles());





    share|improve this answer













    try this



    Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles());






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jul 1 '14 at 7:48









    Deepak MallahDeepak Mallah

    1,25421425




    1,25421425







    • 1





      this is work like a charm, it is the correct answer !

      – Fra
      Jul 1 '14 at 17:48











    • @deepak, Thanks for this, worked well for me but even after going through all layout handles, I couldn't find any place where Sign Up link is being added. Do you know, any other place where i should look?

      – Lalit
      Jul 1 '14 at 17:49











    • sign up link is added through addLink action which can be found in customer.xml

      – Deepak Mallah
      Jul 2 '14 at 6:54












    • 1





      this is work like a charm, it is the correct answer !

      – Fra
      Jul 1 '14 at 17:48











    • @deepak, Thanks for this, worked well for me but even after going through all layout handles, I couldn't find any place where Sign Up link is being added. Do you know, any other place where i should look?

      – Lalit
      Jul 1 '14 at 17:49











    • sign up link is added through addLink action which can be found in customer.xml

      – Deepak Mallah
      Jul 2 '14 at 6:54







    1




    1





    this is work like a charm, it is the correct answer !

    – Fra
    Jul 1 '14 at 17:48





    this is work like a charm, it is the correct answer !

    – Fra
    Jul 1 '14 at 17:48













    @deepak, Thanks for this, worked well for me but even after going through all layout handles, I couldn't find any place where Sign Up link is being added. Do you know, any other place where i should look?

    – Lalit
    Jul 1 '14 at 17:49





    @deepak, Thanks for this, worked well for me but even after going through all layout handles, I couldn't find any place where Sign Up link is being added. Do you know, any other place where i should look?

    – Lalit
    Jul 1 '14 at 17:49













    sign up link is added through addLink action which can be found in customer.xml

    – Deepak Mallah
    Jul 2 '14 at 6:54





    sign up link is added through addLink action which can be found in customer.xml

    – Deepak Mallah
    Jul 2 '14 at 6:54













    2














    or better use some developer extensions like



    Commerce Bug



    or



    Mgt Developer Toolbar



    We use both of them and give you a lot of usefull information.



    regards






    share|improve this answer

























    • @glueseppe,@marius Thanks for great share. Even after looking into these layout update handles, I can't find any sign of how Sign Up link is being added in my custom link navigation. Is there any other way to find that out?

      – Lalit
      Jul 1 '14 at 17:46















    2














    or better use some developer extensions like



    Commerce Bug



    or



    Mgt Developer Toolbar



    We use both of them and give you a lot of usefull information.



    regards






    share|improve this answer

























    • @glueseppe,@marius Thanks for great share. Even after looking into these layout update handles, I can't find any sign of how Sign Up link is being added in my custom link navigation. Is there any other way to find that out?

      – Lalit
      Jul 1 '14 at 17:46













    2












    2








    2







    or better use some developer extensions like



    Commerce Bug



    or



    Mgt Developer Toolbar



    We use both of them and give you a lot of usefull information.



    regards






    share|improve this answer















    or better use some developer extensions like



    Commerce Bug



    or



    Mgt Developer Toolbar



    We use both of them and give you a lot of usefull information.



    regards







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jul 1 '14 at 12:31









    Marius

    167k28319686




    167k28319686










    answered Jul 1 '14 at 11:03









    GiuseppeGiuseppe

    1,043711




    1,043711












    • @glueseppe,@marius Thanks for great share. Even after looking into these layout update handles, I can't find any sign of how Sign Up link is being added in my custom link navigation. Is there any other way to find that out?

      – Lalit
      Jul 1 '14 at 17:46

















    • @glueseppe,@marius Thanks for great share. Even after looking into these layout update handles, I can't find any sign of how Sign Up link is being added in my custom link navigation. Is there any other way to find that out?

      – Lalit
      Jul 1 '14 at 17:46
















    @glueseppe,@marius Thanks for great share. Even after looking into these layout update handles, I can't find any sign of how Sign Up link is being added in my custom link navigation. Is there any other way to find that out?

    – Lalit
    Jul 1 '14 at 17:46





    @glueseppe,@marius Thanks for great share. Even after looking into these layout update handles, I can't find any sign of how Sign Up link is being added in my custom link navigation. Is there any other way to find that out?

    – Lalit
    Jul 1 '14 at 17:46











    1














    To list all layout handle, the approach suggested by @Deepak Mallah works fine:



    Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles());


    Anyway I think it is not exactly clear to you what is Layout Handle is suggest to dig more on its function in layout files. ( not part of the question/answer )



    Here what you are looking for



    Give a look at Mage_Page_Block_Template_Links and addlink() method.



    In default Magento theme the link "Sign up" is labeled "Log In", this link it is added to the block top.links in app/design/frontend/base/default/layout/customer.xml layout file using the method addlink()



    <customer_logged_in>
    <reference name="top.links">
    <action method="addLink" translate="label title" module="customer">
    <label>Log Out</label>
    <url helper="customer/getLogoutUrl"/>
    <title>Log Out</title>
    <prepare/>
    <urlParams/>
    <position>100</position>
    </action>
    </reference>
    </customer_logged_in>


    Note:
    customer_logged_in is a special layout handle that:



     <!--
    Load this update on every page when customer is logged in
    -->





    share|improve this answer

























    • I have checked in all these places but wasn't able to find out. Even i can't see it anywhere in layout of theme i have installed. but as you mentioned in base Magento theme Sign Up button is labeled as Login so there is good chance that i can find it in theme's code.

      – Lalit
      Jul 2 '14 at 4:52












    • search layout files for this text customer_logged_in ... if you cannot find anything it is probably added by template or code. I would also suggest to put a breakpoint in the addlink() method so you can see if it added by it

      – Fra
      Jul 2 '14 at 11:03











    • In my case it's customer_logged_out as i want to show this link when customer is logged out but I can try debugging in addlink method, that should help. :)

      – Lalit
      Jul 2 '14 at 11:16












    • Hi @Fra, I added logs in addLink method to check when Sign Up is being added in navigation and to see If i can figure out how this link is being added But to my surprise, it seems Sign Up link is Not added using addLink method in page/template_links. I can see the log for all the other navigation links but not for Sign Up. Is there any other way to add the navigation links?

      – Lalit
      Jul 5 '14 at 5:17











    • The reason why i couldn't find it in page/template_links because link was added in template file (links.phtml) for theme I was using. For people who might find same issue for Shopper theme, here is discussion thread: help.queldorei.com/discussion/comment/18537

      – Lalit
      Jul 9 '14 at 7:13















    1














    To list all layout handle, the approach suggested by @Deepak Mallah works fine:



    Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles());


    Anyway I think it is not exactly clear to you what is Layout Handle is suggest to dig more on its function in layout files. ( not part of the question/answer )



    Here what you are looking for



    Give a look at Mage_Page_Block_Template_Links and addlink() method.



    In default Magento theme the link "Sign up" is labeled "Log In", this link it is added to the block top.links in app/design/frontend/base/default/layout/customer.xml layout file using the method addlink()



    <customer_logged_in>
    <reference name="top.links">
    <action method="addLink" translate="label title" module="customer">
    <label>Log Out</label>
    <url helper="customer/getLogoutUrl"/>
    <title>Log Out</title>
    <prepare/>
    <urlParams/>
    <position>100</position>
    </action>
    </reference>
    </customer_logged_in>


    Note:
    customer_logged_in is a special layout handle that:



     <!--
    Load this update on every page when customer is logged in
    -->





    share|improve this answer

























    • I have checked in all these places but wasn't able to find out. Even i can't see it anywhere in layout of theme i have installed. but as you mentioned in base Magento theme Sign Up button is labeled as Login so there is good chance that i can find it in theme's code.

      – Lalit
      Jul 2 '14 at 4:52












    • search layout files for this text customer_logged_in ... if you cannot find anything it is probably added by template or code. I would also suggest to put a breakpoint in the addlink() method so you can see if it added by it

      – Fra
      Jul 2 '14 at 11:03











    • In my case it's customer_logged_out as i want to show this link when customer is logged out but I can try debugging in addlink method, that should help. :)

      – Lalit
      Jul 2 '14 at 11:16












    • Hi @Fra, I added logs in addLink method to check when Sign Up is being added in navigation and to see If i can figure out how this link is being added But to my surprise, it seems Sign Up link is Not added using addLink method in page/template_links. I can see the log for all the other navigation links but not for Sign Up. Is there any other way to add the navigation links?

      – Lalit
      Jul 5 '14 at 5:17











    • The reason why i couldn't find it in page/template_links because link was added in template file (links.phtml) for theme I was using. For people who might find same issue for Shopper theme, here is discussion thread: help.queldorei.com/discussion/comment/18537

      – Lalit
      Jul 9 '14 at 7:13













    1












    1








    1







    To list all layout handle, the approach suggested by @Deepak Mallah works fine:



    Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles());


    Anyway I think it is not exactly clear to you what is Layout Handle is suggest to dig more on its function in layout files. ( not part of the question/answer )



    Here what you are looking for



    Give a look at Mage_Page_Block_Template_Links and addlink() method.



    In default Magento theme the link "Sign up" is labeled "Log In", this link it is added to the block top.links in app/design/frontend/base/default/layout/customer.xml layout file using the method addlink()



    <customer_logged_in>
    <reference name="top.links">
    <action method="addLink" translate="label title" module="customer">
    <label>Log Out</label>
    <url helper="customer/getLogoutUrl"/>
    <title>Log Out</title>
    <prepare/>
    <urlParams/>
    <position>100</position>
    </action>
    </reference>
    </customer_logged_in>


    Note:
    customer_logged_in is a special layout handle that:



     <!--
    Load this update on every page when customer is logged in
    -->





    share|improve this answer















    To list all layout handle, the approach suggested by @Deepak Mallah works fine:



    Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles());


    Anyway I think it is not exactly clear to you what is Layout Handle is suggest to dig more on its function in layout files. ( not part of the question/answer )



    Here what you are looking for



    Give a look at Mage_Page_Block_Template_Links and addlink() method.



    In default Magento theme the link "Sign up" is labeled "Log In", this link it is added to the block top.links in app/design/frontend/base/default/layout/customer.xml layout file using the method addlink()



    <customer_logged_in>
    <reference name="top.links">
    <action method="addLink" translate="label title" module="customer">
    <label>Log Out</label>
    <url helper="customer/getLogoutUrl"/>
    <title>Log Out</title>
    <prepare/>
    <urlParams/>
    <position>100</position>
    </action>
    </reference>
    </customer_logged_in>


    Note:
    customer_logged_in is a special layout handle that:



     <!--
    Load this update on every page when customer is logged in
    -->






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jul 1 '14 at 19:48

























    answered Jul 1 '14 at 19:35









    FraFra

    4,565114994




    4,565114994












    • I have checked in all these places but wasn't able to find out. Even i can't see it anywhere in layout of theme i have installed. but as you mentioned in base Magento theme Sign Up button is labeled as Login so there is good chance that i can find it in theme's code.

      – Lalit
      Jul 2 '14 at 4:52












    • search layout files for this text customer_logged_in ... if you cannot find anything it is probably added by template or code. I would also suggest to put a breakpoint in the addlink() method so you can see if it added by it

      – Fra
      Jul 2 '14 at 11:03











    • In my case it's customer_logged_out as i want to show this link when customer is logged out but I can try debugging in addlink method, that should help. :)

      – Lalit
      Jul 2 '14 at 11:16












    • Hi @Fra, I added logs in addLink method to check when Sign Up is being added in navigation and to see If i can figure out how this link is being added But to my surprise, it seems Sign Up link is Not added using addLink method in page/template_links. I can see the log for all the other navigation links but not for Sign Up. Is there any other way to add the navigation links?

      – Lalit
      Jul 5 '14 at 5:17











    • The reason why i couldn't find it in page/template_links because link was added in template file (links.phtml) for theme I was using. For people who might find same issue for Shopper theme, here is discussion thread: help.queldorei.com/discussion/comment/18537

      – Lalit
      Jul 9 '14 at 7:13

















    • I have checked in all these places but wasn't able to find out. Even i can't see it anywhere in layout of theme i have installed. but as you mentioned in base Magento theme Sign Up button is labeled as Login so there is good chance that i can find it in theme's code.

      – Lalit
      Jul 2 '14 at 4:52












    • search layout files for this text customer_logged_in ... if you cannot find anything it is probably added by template or code. I would also suggest to put a breakpoint in the addlink() method so you can see if it added by it

      – Fra
      Jul 2 '14 at 11:03











    • In my case it's customer_logged_out as i want to show this link when customer is logged out but I can try debugging in addlink method, that should help. :)

      – Lalit
      Jul 2 '14 at 11:16












    • Hi @Fra, I added logs in addLink method to check when Sign Up is being added in navigation and to see If i can figure out how this link is being added But to my surprise, it seems Sign Up link is Not added using addLink method in page/template_links. I can see the log for all the other navigation links but not for Sign Up. Is there any other way to add the navigation links?

      – Lalit
      Jul 5 '14 at 5:17











    • The reason why i couldn't find it in page/template_links because link was added in template file (links.phtml) for theme I was using. For people who might find same issue for Shopper theme, here is discussion thread: help.queldorei.com/discussion/comment/18537

      – Lalit
      Jul 9 '14 at 7:13
















    I have checked in all these places but wasn't able to find out. Even i can't see it anywhere in layout of theme i have installed. but as you mentioned in base Magento theme Sign Up button is labeled as Login so there is good chance that i can find it in theme's code.

    – Lalit
    Jul 2 '14 at 4:52






    I have checked in all these places but wasn't able to find out. Even i can't see it anywhere in layout of theme i have installed. but as you mentioned in base Magento theme Sign Up button is labeled as Login so there is good chance that i can find it in theme's code.

    – Lalit
    Jul 2 '14 at 4:52














    search layout files for this text customer_logged_in ... if you cannot find anything it is probably added by template or code. I would also suggest to put a breakpoint in the addlink() method so you can see if it added by it

    – Fra
    Jul 2 '14 at 11:03





    search layout files for this text customer_logged_in ... if you cannot find anything it is probably added by template or code. I would also suggest to put a breakpoint in the addlink() method so you can see if it added by it

    – Fra
    Jul 2 '14 at 11:03













    In my case it's customer_logged_out as i want to show this link when customer is logged out but I can try debugging in addlink method, that should help. :)

    – Lalit
    Jul 2 '14 at 11:16






    In my case it's customer_logged_out as i want to show this link when customer is logged out but I can try debugging in addlink method, that should help. :)

    – Lalit
    Jul 2 '14 at 11:16














    Hi @Fra, I added logs in addLink method to check when Sign Up is being added in navigation and to see If i can figure out how this link is being added But to my surprise, it seems Sign Up link is Not added using addLink method in page/template_links. I can see the log for all the other navigation links but not for Sign Up. Is there any other way to add the navigation links?

    – Lalit
    Jul 5 '14 at 5:17





    Hi @Fra, I added logs in addLink method to check when Sign Up is being added in navigation and to see If i can figure out how this link is being added But to my surprise, it seems Sign Up link is Not added using addLink method in page/template_links. I can see the log for all the other navigation links but not for Sign Up. Is there any other way to add the navigation links?

    – Lalit
    Jul 5 '14 at 5:17













    The reason why i couldn't find it in page/template_links because link was added in template file (links.phtml) for theme I was using. For people who might find same issue for Shopper theme, here is discussion thread: help.queldorei.com/discussion/comment/18537

    – Lalit
    Jul 9 '14 at 7:13





    The reason why i couldn't find it in page/template_links because link was added in template file (links.phtml) for theme I was using. For people who might find same issue for Shopper theme, here is discussion thread: help.queldorei.com/discussion/comment/18537

    – Lalit
    Jul 9 '14 at 7:13











    0














    For Magento 2 within phtml template files:



    <?php var_dump($block->getLayout()->getUpdate()->getHandles()); ?>





    share|improve this answer



























      0














      For Magento 2 within phtml template files:



      <?php var_dump($block->getLayout()->getUpdate()->getHandles()); ?>





      share|improve this answer

























        0












        0








        0







        For Magento 2 within phtml template files:



        <?php var_dump($block->getLayout()->getUpdate()->getHandles()); ?>





        share|improve this answer













        For Magento 2 within phtml template files:



        <?php var_dump($block->getLayout()->getUpdate()->getHandles()); ?>






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 days ago









        Chris RogersChris Rogers

        255211




        255211



























            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%2f25565%2ffinding-out-layout-handles-being-evaluated-for-a-page%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

            Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

            БиармияSxpst500bh2ntaf! 3h2r