Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>What you were doing is almost correct, but instead of <code>customer/getAccountUrl</code> you should use <code>customer/getRegisterUrl</code>.</p> <p>So basically you should add the following xml line in <code>customer_logged_out\reference</code></p> <pre><code>&lt;action method="addLink" translate="label title" module="customer"&gt;&lt;label&gt;Register&lt;/label&gt;&lt;url helper="customer/getRegisterUrl"/&gt;&lt;title&gt;Register&lt;/title&gt;&lt;prepare/&gt;&lt;urlParams/&gt;&lt;position&gt;10&lt;/position&gt;&lt;/action&gt; </code></pre> <p>So your code will look like this:</p> <pre><code>&lt;customer_logged_in&gt; &lt;reference name="top.links"&gt; &lt;action method="addLink" translate="label title" module="customer"&gt;&lt;label&gt;Log Out&lt;/label&gt;&lt;url helper="customer/getLogoutUrl"/&gt;&lt;title&gt;Log Out&lt;/title&gt;&lt;prepare/&gt;&lt;urlParams/&gt;&lt;position&gt;100&lt;/position&gt;&lt;/action&gt; &lt;action method="addLink" translate="label title" module="customer"&gt;&lt;label&gt;My Account&lt;/label&gt;&lt;url helper="customer/getAccountUrl"/&gt;&lt;title&gt;My Account&lt;/title&gt;&lt;prepare/&gt;&lt;urlParams/&gt;&lt;position&gt;10&lt;/position&gt;&lt;/action&gt; &lt;/reference&gt; &lt;/customer_logged_in&gt; &lt;customer_logged_out&gt; &lt;reference name="top.links"&gt; &lt;action method="addLink" translate="label title" module="customer"&gt;&lt;label&gt;My Account&lt;/label&gt;&lt;url helper="customer/getLoginUrl"/&gt;&lt;title&gt;My Account&lt;/title&gt;&lt;prepare/&gt;&lt;urlParams/&gt;&lt;position&gt;100&lt;/position&gt;&lt;/action&gt; &lt;action method="addLink" translate="label title" module="customer"&gt;&lt;label&gt;Register&lt;/label&gt;&lt;url helper="customer/getRegisterUrl"/&gt;&lt;title&gt;Register&lt;/title&gt;&lt;prepare/&gt;&lt;urlParams/&gt;&lt;position&gt;10&lt;/position&gt;&lt;/action&gt; &lt;/reference&gt; &lt;remove name="wishlist_sidebar"&gt;&lt;/remove&gt; &lt;remove name="reorder"&gt;&lt;/remove&gt; &lt;/customer_logged_out&gt; </code></pre> <p>Hope this helps anyone.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload